can not forward X11 output
I'm not sure what I'm doing wrong.
I have a linux box that I want to forward the DISPLAY on. I think there is something I need to configure on my local machine that should display the windows. Code:
[scattaneo@172.16.2.103 ~]$ ssh -X regress5 Thanks in advance. -Steve |
When you forward X with ssh, the DISPLAY should be set automatically. Maybe the remote config (e.g. .profile) is over-writing the auto-set value?
Also, bear in mind that the remote host may not allow X forwarding. Check the config on the remote host. |
Code:
[scattaneo@172.16.2.103 ~]$ ssh -X regress5 This leads me to believe there is something I need to do on my local linux box. |
After logging in to the remote machine with ssh, please do this command and paste the output:
Code:
ls -l $HOME/.Xauthority |
Code:
[scattaneo@regress5 regression]$ ls -l /home/scattaneo/.Xauthority |
Googling about I found some example where this file was owned by root, and as such was not modifiable by the logged in user. However in your case it looks OK.
|
The command you need (If I read this question correctly) is
xhost + So, in the place where you are exporting from, use that in the place you are exporting to you might need setenv DISPLAY 0:0 or something similar to that. You can always env | grep DISPLAY in the place you export from to find out. |
We have a winner!
xhost was what I needed. Thanks! |
All times are GMT -5. The time now is 07:51 AM. |