LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-05-2007, 04:17 PM   #1
ashley75
Member
 
Registered: Aug 2003
Posts: 232

Rep: Reputation: 30
can't display X windows


Hi all,

I connected to the server using Hummingbird and from there I tried to run Xwindows on my laptop and below is what I did:

$ export DISPLAY=my_laptop_ipaddress:0
$ oidadmin &

and I got below error:

exception in thread "main" java.lang.InternalError: can't connect to X11 Window server using '10.1.0.1:0' as the value of the DISPLAY variable.

Please let me know what I need to do.

thanks
 
Old 02-05-2007, 05:54 PM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
Just out of curiosity, is X even running?
 
Old 02-05-2007, 06:11 PM   #3
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
What do you mean by "connected to the server using Hummingbird"? Is the Hummingbird you talk about, the Excede X server package? If so, how did you connect to the server?

I sense that you are in the usual confusion about X; distinguishing what is a server and what is a client. In your case, the Hummingbird X server is what runs on your Windows host. The X client is any application that can send its graphics to the X server. In the Windows/Hummingbird Excede scenario, you would typically login to a Linux/UNIX host using something like an SSH or (gasp!) telnet. You would then invoke some application that calls your Windows-hosted X server. Sorry, if this is all stuff you already knew; many people that are new to X find this part unintuative.

There are a couple of places where things can go off the rails. One might be that your SSH client is providing a secure tunnel for the X traffic. If so, your setting the DISPLAY variable to windows_IP:0 will contradict this, and the X server will not receive the client's call. If there is a tunnel, it will probably have created a DISPLAY variable for you, which will look something like 'localhost:dd', where dd is some low positive integer, like 10 or 12. Perhaps your startup shell script has tried to be helpful, and reset the DISPLAY variable.

The other place is that plain, untunelled, X traffic travels on ports 6100, 6101, 6102... for X servers :0, :1, :2, etc. There may be a firewall blocking these ports, which would need to be penetrated. This problem is alleviated by using a SSH tunnel.

--- rod.

Last edited by theNbomr; 02-05-2007 at 06:12 PM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X windows not working right (no windows or graphics display, only backgrounds) mlr266 Linux - Newbie 2 09-22-2005 11:33 AM
How to suppress X Windows display? lnxdmnd Linux - Software 2 04-11-2005 01:44 AM
windows look a like file display! Mighty_Viking Linux - Newbie 5 05-31-2003 01:31 PM
windows display on linux greatitfreak Linux - Networking 1 05-10-2003 07:16 AM
X windows display is funked up! Kriptek Slackware 1 11-30-2002 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:06 PM.

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