Installing and Using Xephyr

Xephyr provides an easy way to test applications using virtual X session. Xephyr is beneficial to test user application since it does not require virtualization and is quicker than using KVM.

Limitations: Currently Xephyr is available on Ubuntu based platforms. It is not currently supported on Moblin 2.0 based platforms.

To install Xephyr, run the following command from your target's terminal:

# apt-get install xserver-xephyr

To run a virtual X session, you must enable access to your display, by running the following command from your workstation's terminal:

$ xhost +SI:localuser:root

From your target's terminal, run the following commands to configure and run Xephyr:

# export DISPLAY=:0
# /etc/init.d/dbus start
# xinit /etc/X11/xinit/xinitrc -- /usr/bin/Xephyr :2 -host-cursor -screen 1024x600x32 -dpi 96 -ac
# killall gconfd-2

If you have the full-mobile-stack fset installed, you can run a script that automatically installs, configures, and runs Xephyr:

# ume-xephyr-start