Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-30-2008, 03:18 AM   #1
LQ Newbie
Registered: Apr 2008
Posts: 1

Rep: Reputation: 0
Unhappy 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
Old 04-30-2008, 03:45 AM   #2
Senior Member
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. defa0009 Linux - General 13 01-20-2012 03:55 PM
java.lang.InternalError: Can't connect to X11 window server serjith Linux - Server 1 09-25-2006 10:45 AM
Can't connect to X11 window server kofibull Linux - Newbie 10 06-17-2006 12:47 AM
Can't connect to X11 window server suresheva31 Linux - General 0 10-19-2004 03:17 PM
Can't connect to X11 window server Checking operating system version: must be redha pmarino Linux - General 2 09-20-2004 05:18 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration