-   Linux - Newbie (
-   -   how to connect to x11 windows server (

kmathur 04-30-2008 02:18 AM

how to connect to x11 windows server
I am running some gui based application in java .
after setting the environment variable export DISPLAY=localhost:10.0 I am not able to overcome the error as mentioned in the subject.
I have also tried to login by specifying the -X flag
ssh -X kapil@
but still no success hope somebody could help me to sort out the problem.

Thank You

Kapil Mathur

duryodhan 04-30-2008 02:45 AM

the DISPLAY should be set automatically ... is the ssh daemon on the server allowing X11 forwarding ?

see for e.g

cat /etc/ssh/sshd_config | grep X11
X11Forwarding yes
X11DisplayOffset 10
#X11UseLocalhost yes
# X11Forwarding no

All times are GMT -5. The time now is 12:51 AM.