OK, I can get and X program running on a remote HP-UX box and displaying on my local Linux PC. Now, Only the Linux server box seems to be able to run the X programs. I have NCD X-Terms and I have not yet discovered how to get the remote system to communicate with the X-Terms. The DISPLAY env variable seems to get its value from the X-Term's name "xt1", "DISPLAY=xt1:0". I seem to be missing a piece to get the remote X program to be displayed on xt1:0. Any ideas? TIA, Jim Sabatke "Rafael E. Herrera" wrote:
Timothy Metz wrote:
Since we have a current thread on X-Sessions......
How can I enable root to run programs on another user's xsession? You know, the connection refused by display 0:0 crap....
If the other session was started with "startx -- :1", then the DISPLAY for that session is "yourhostname:1". In your default session the display is ":0"
So, in in the display (session) ":1" do
$ xhost +yourhostname
in the display ":0" do
$ export DISPLAY=yourhostname:1 $ xprogram
or $ xprogram -display yourhostname:1
Rafael
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Jim Sabatke SuSE 6.3 Linux Kernel - 2.2.13 "Ignorant people think it's the noise which fighting cats make that is so aggravating, but it ain't so; it's the sickening grammar they use." Mark Twain -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/