LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to connect to x11 windows server (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-connect-to-x11-windows-server-638818/)

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@192.168.3.73
but still no success hope somebody could help me to sort out the problem.

Thank You

Regards
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
Quote:

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


All times are GMT -5. The time now is 07:52 AM.