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?

John Gay johngay at eircom.net
Tue Jul 9 20:15:08 IST 2002


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




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