Site Home Page
The UML Wiki
UML Community Site
The UML roadmap
What it's good for
Case Studies
Kernel Capabilities
Downloading it
Running it
Skas Mode
Incremental Patches
Test Suite
Host memory use
Building filesystems
User Contributions
Related Links
The ToDo list
The HOWTO (html)
The HOWTO (text)
Host file access
Device inputs
Sharing filesystems
Creating filesystems
Resizing filesystems
Virtual Networking
Management Console
Kernel Debugging
UML Honeypots
gprof and gcov
Running X
Diagnosing problems
Installing Slackware
Porting UML
IO memory emulation
UML on 2G/2G hosts
Adding a UML system call
Running nested UMLs
How you can help
Kernel bugs
Kernel projects
A virtual network
An X session
A login session
A debugging session
Slackware installation
Kernel switches
Slackware README
ALS 2000 paper (html)
ALS 2000 paper (TeX)
ALS 2000 slides
LCA 2001 slides
OLS 2001 paper (html)
OLS 2001 paper (TeX)
ALS 2001 paper (html)
ALS 2001 paper (TeX)
UML security (html)
LCA 2002 (html)
WVU 2002 (html)
Security Roundtable (html)
OLS 2002 slides
LWE 2005 slides
Fun and Games
Kernel Hangman
Disaster of the Month

Running X

Displaying X clients on the host X server
First of all, make sure that you have the X clients installed in the filesystem that you're going to boot. Then boot the virtual machine and set up networking to the host. See the networking tutorial for instructions on doing that. If necessary, xhost the virtual machine on the host.

At this point, set your display to the host

UML# export DISPLAY=host-ip:0
and run whatever X clients you want.
Running a local virtual X server
Before booting the virtual machine, make sure that it contains Xnest, which is the UML X server. On some distributions, it is packaged with the X clients, and on others, it's not. Then boot the virtual machine, and follow the directions above to run Xnest displaying on the host. Xnest will create a window which will be its root window. All clients of the Xnest will be displayed within that window.

Now, set your display to the default local X server:

UML# export DISPLAY=:0
and run whatever X clients you like. I normally run fvwm2, which gives me enough of an X environment that I don't need to go back to the console.

See the virtual network and X session screenshots for examples of X in action under UML.

Hosted at SourceForge Logo