Re: [ILUG] Getting X working on UML?

From: John Gay (johngay at domain eircom.net)
Date: Tue 09 Jul 2002 - 20:15:08 IST


On Tue 09 Jul 2002 20:01, Mel wrote:
> On Tue, 9 Jul 2002, John Gay wrote:
> > According to the doc's, once the network connection is running, it should
> > be a simple matter of exporting DISPLAY=192.168.1.1:0 on usermode and
> > running startx. I've tried everything I can think of to get this working;
>
> This should be
>
> export DISPLAY=192.168.1.1:0.0
>
As I understand it, and I could be wrong ; )
export DISPLAY=192.168.1.1:0 asks for any display X allows on the box, and
export DISPLAY=192.168.1.1:0.0 specifically asks for display 0.0, either way
should work, but neither does.

> and that is the IP of your main box. I don't know for sure, but I don't
> think you can run an X server inside UML, only X clients and you ran
> startx in UML which is not what you want at all. Once you have the right
> export and xhost options, you just run the X app like xterm.
>
I figured that out, but xterm and twm still fail:

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:~$ export DISPLAY=192.168.1.1:0.0
jgay at domain usermode:~$ xterm
xterm Xt error: Can't open display: 192.168.1.1:0.0
jgay at domain usermode:~$ xterm
xterm Xt error: Can't open display: 192.168.1.1:0.0
jgay at domain usermode:~$ twm
twm: unable to open display "192.168.1.1:0.0"
jgay at domain usermode:~$

> I can't test this out because I don't have X client libs or networking
> setup on my own UML setup. I'm still getting used of it

I'm sure I'm missing something obvious, but X can be confusing.

Still playing with it, though. I can't wait to start running OpenOffice on
uml-linux in network mode from the host box, just to say I did.

Cheers,

        John Gay



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