Re: [ILUG] Getting X working on UML?

From: Ronan Waide (waider at domain waider.ie)
Date: Tue 09 Jul 2002 - 20:11:33 IST


On July 9, johngay at domain 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 domain usermode:~$ xterm
> xterm Xt error: Can't open display: 192.168.1.1:0
> jgay at domain usermode:~$ twm
> twm: unable to open display "192.168.1.1:0"
> jgay at domain 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 domain 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


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:47 GMT