[ILUG] Getting X working on UML?

John Gay johngay at eircom.net
Wed Jul 10 00:14:35 IST 2002


On Tue 09 Jul 2002 22:58, kevin lyda wrote:
> On Tue, Jul 09, 2002 at 10:11:22PM +0100, John Gay wrote:
> > > Container-Box > netstat -ant | grep LISTEN | grep 6000
>
> do this as well:
>
>     ps auxww|grep X
>
> and when you get X listening on Container-Box, you should use Xnest as
> the X server on the uml box (since you mentioned wanting to run a whole
> kde desktop on the uml box).  the easiest way is to set /usr/bin/X to
> be a shell script that runs Xnest with the right paramaters.
>
Actually, found the problem to be, /etc/X11/gdm/gdm.conf was calling X with 
-nolisten tcp

I removed this and now can get uml to talk to X on the host. I still need to 
run export DISPLAY=debian:0 
on the usermode box, and xhost + on the host first, but at least it works.

As for Xnest, I can run Xnest on my host box with Xnest :1,

but Xnest, then refuses to let anything else connect? Seems like the same 
problem all over, except Xnest is not a script? I remember seeing. I think it 
was on Progeny running Gnome had a menu entry for UML which would start uml 
linux and export the display to an Xnest window on the host automagically. 
This is what I would like to see.

At the moment, I'm trying to set up nfs from the host to the usermode so the 
usermode can mount /usr/local/OpenOffice1.0 from the host over NFS so I can 
play with the network install of OpenOffice. Unfortunately, the uml linux 
does not have nfs compiled in, and no /lib/modules/<kernerversion> directory 
to get modules from :( I am hoping that I can compile just the modules from 
the same version of kernel source and install them to get uml linux to 
reconise them. I know, it's a long shot, but I really would like to avoid 
building a whole new uml kernel. Unfortunately, the root fs does not have any 
libs or incudes??? I'm installing libc6 now to see if this is enough.

> kevin

Thanks to everyone who helped my get this started and running. I might be 
tempted to write up something when everything is done.

Cheers,

	John Gay




More information about the ILUG mailing list