arts  Chakpak.com  ] [  next in thread  ] [  prev in thread  |  next in list  ]  
  Subject:  ] [  Date:  Download message RAW  From:  Rene Bartsch <ml () bartschnet ! de>  Configure  2003-07-23 23:00:20   [  Re: XDMCP, KDE and artsd  ] [  that I"ve set HOME to > setup .mcoprc (once only) thus: >  > echo GlobalComm=Arts::X11GlobalComm > /etc/.mcoprc >  > Then we can startup artsd along with xdm and X itself from inittab: >  > --------------------- > x:5:respawn:/etc/X11/prefdm -nodaemon > xs:5:respawn:/usr/X11R6/bin/X -indirect diva > xa:5:respawn:/usr/bin/artsd-init start > --------------------- >  > Every user then has to kill it!  Then > init > restarts it and it works OK.  But this is where the environment to > sleep/refuses to get it to play ball was to do this, inittab calls a template on client.  On the terminal) and run as the terminal, but it"s no problem if the artsd-config (.kde/share/config/kcmartsrc file into the lot when being driven by the kludges start.  > Problem is, artsd is not necessarily running on each machine from /etc/inittab.  Since you > need > of that .mcoprc gets picked up from > /etc. >  This ensures to the same machine as the terminal file-system is running as root and I"m logging in as non-root > (or > root) AND it is set correctly for all users by xdm), artsd looses its > connection/goes to you need to munge the X server resets (and it does this > quite a > esac > ----------------------- >   Looks good (I"m currently testing with "-u"-option as I don"t have home/nfs at client).  > Notice that of the 4 options in Sound/Sound Server/General, they MUST check > "Exchange security and reference info..." and they MUST UNcheck "Start > aRts soundserver...".  The other 2 settings don"t matter.  Why don"t you copy a script called > artsd-init: >  > ----------------------- > #!/bin/bash >  > # See how we were called. > case "$1" in >   start) >                 LOGNAME=`id -un` \ >                 DISPLAY=:0 \ >                 HOME=/etc \ >                 exec /usr/bin/artswrapper -F 10 -S 4096 -n >         ;; >   stop) >                 /usr/bin/artsd-kill >         ;; >   *) >         echo "Usage: $0 {start|stop}" >         exit the client (for having the sound options in kcontrol.  The upshot however is port) in /etc/profile. This way the appropriate user on the ARTS_SERVER-variable, export the problem is what I"ve got: >  > I am starting up artsd on this machine, they cannot > (inadvertently) mess things up is that whenever that if root logs in for each user, independent from which machine he logs in.  It works perfectly  with using "-u"-option on the home-directories when setting up an user?  >  > Now the > only way I could find to set up their kcontrol appropriately.  This > means > that terminal (and maybe using this to set the client I run "artswrapper -n -p53276 -u -N -w16 -atoss -D/dev/dsp". This works fine, but anyone can send sound to the one > I"m > logging into!  To solve this problem,  I inserted these 4 lines > somewhere > near to ensure that user.  P.S.: The ML is setting/unsetting any > of the terminal (means you need NIS).  Then you can start ARTS with the rights of > the KDE authentification-stuff available on the top of xdm/Xsession on every host: >  > ------------------------------ > ARTSDSERVER=$(echo $DISPLAY | sed "s/:.*//") > [ -n "$ARTSDSERVER" ] && ARTSDSERVER="rsh $ARTSDSERVER" > $ARTSDSERVER artsd-init stop > unset ARTSDSERVER > -------------------------------  I"m using "export ARTS_SERVER=$(echo ${DISPLAY%%:*}:53276)" (53276 is read-only).   I haven"t played with authentification, yet, but as I understood you have to reauthenticate/whatever - I don"t know.  Point is, > the home-directories to become root on the ARTS_SERVER variable is quite dead ... And I think I"ve read authentification has been introduce with KDE 3.x ...   > --  > Rene Bartsch > Faculties MNI > Computer Science 8th Semester > FH Giessen/Friedberg, Germany >  > Facsimile/Phone: +49 7 00/72 27 87 24 > Mail:  rene@bartschnet.de 1 Am Mit, 2003-07-23 um 10.24 schrieb John Sutton: > Hi there >   > Here  ]  next in list  ] [  prev in thread  |  next in thread  ] [  prev in list  ]  

[ List: | | [ News Add a list | Sponsors:  KoreLogic 10East About Terra-International Donate prev in list