Hi, first sorry for the german in my first mail, shall not happen again.
Please note that this is an english list. Try "sudo" instead, then you don't need to do a "sux root" first...
just tried sudo but it also doesn't do what i want it to do: sre@re001:~> ssh -X re003 Enter passphrase for key '/home/sre/.ssh/id_rsa': Last login: Thu Jul 7 07:31:21 2005 from re001.intern Have a lot of fun... re003 being added to access control list sre@re003:~> sux - Password: re003 being added to access control list re003:~ # sudo -u fjr xpdf X11 connection rejected because of wrong authentication. X connection to localhost:10.0 broken (explicit kill or server shutdown). re003:~ # sudo -u fjr xauth list xauth: timeout in locking authority file /root/.xautho8JfCf the same with su: sre@re001:~> ssh -X re003 Enter passphrase for key '/home/sre/.ssh/id_rsa': Last login: Wed Jul 6 14:41:49 2005 from re001.intern Have a lot of fun... re003 being added to access control list sre@re003:~> echo $DISPLAY localhost:11.0 sre@re003:~> sux Password: re003:/home/sre # set | grep DISP DISPLAY=localhost:11.0 re003:/home/sre # xpdf Warning: Missing charsets in String to FontSet conversion Warning: Missing charsets in String to FontSet conversion re003:/home/sre # sux sre sre@re003:~> xpdf X11 connection rejected because of wrong authentication. X connection to localhost:11.0 broken (explicit kill or server shutdown). sre@re003:~> exit re003:/home/sre # sux - sre /usr/X11R6/bin/xhost: unable to open display "" sre@re003:~> export DISPLAY=localhost:11.0 sre@re003:~> xpdf Warning: Missing charsets in String to FontSet conversion Warning: Missing charsets in String to FontSet conversion sre@re003:~> logout re003:/home/sre # sux - fjr Have a lot of fun... Directory: /home/fjr re003 /home/fjr> xpdf Error: Can't open display: re003 /home/fjr> export DISPLAY=localhost:11.0 export: Command not found. re003 /home/fjr> setenv DISPLAY localhost:11.0 re003 /home/fjr> xpdf X11 connection rejected because of wrong authentication. X connection to localhost:11.0 broken (explicit kill or server shutdown). re003 /home/fjr> so any hint how i can run a gui program without the need to make the /root/.xautho8JfCf file for the user available. also other ways are welcome. kind regards sebastian -- Sebastian Reitenbach Tel.: ++49-(0)3381-8904-305 RapidEye AG Fax: ++49-(0)3381-8904-101 Friedrich-Franz-Str. 19 e-mail:reitenbach@rapideye.de D-14770 Brandenburg web:http://www.rapideye.de We are currently looking for Software developers, System engineers and managers to join us: http://www.rapideye.de/Join/join_frames_aussen.htm