LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Getting X working on UML?

[ILUG] Getting X working on UML?

Ronan Waide waider at waider.ie
Tue Jul 9 20:11:33 IST 2002


On July 9, johngay at eircom.net said:
> Actually, I am trying to accomplish the latter. I want to be able to run, say 
> KDE on usermode and export the display to the host box. Maybe startx is the 
> wrong thing to run, but:
> 
> jgay at usermode:~$ xterm
> xterm Xt error: Can't open display: 192.168.1.1:0
> jgay at usermode:~$ twm
> twm:  unable to open display "192.168.1.1:0"
> jgay at usermode:~$ 
> 
> still don't work :(

startx is indeed the wrong thing. you may also have varied success if
you're trying to use xhost and the server is using xauth to lock
access to the display, although I'm not sure of the latter point. Try:

Container-Box: > xhost +
access control disabled, clients can connect from any host
Container-Box: > echo $DISPLAY
192.168.whatever:0

UML-Box: > export DISPLAY=192.168.whatever:0
UML-Box: > xterm

Now, if that doesn't work, you may have to start playing with xauth,
and it's been a while since I've had to touch it, but I think,
approximately, what you want is:

Container-Box: > xauth list $DISPLAY
192.168.whatever:0  MIT-MAGIC-COOKIE-1 4c4141730857551031247a133525251a

UML-Box: > xauth add [the entire line above]
UML-Box: > export DISPLAY=192.168.whatever:0
UML-Box: > xterm

And see if that gets you any further.

Cheers,
Waider.
-- 
waider at waider.ie / Yes, it /is/ very personal of me.
"...we are in fact well and truly doomed. She says that if I leave now, 
 I can probably get a good head start before they realize that I'm gone."
                                                    - Jamie Zawinski




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell