WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Newbie: How to run Xwindows in the guest OS

To: xen-users@xxxxxxxxxxxxxxxxxxx, Srinivasan S <ssrini@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Newbie: How to run Xwindows in the guest OS
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Thu, 22 Sep 2005 16:33:15 +0100
Delivery-date: Thu, 22 Sep 2005 15:30:18 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050922061500.31724.qmail@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20050922061500.31724.qmail@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8
There's not a virtual display device, so you can't just run startx.  You need 
to treat the domUs like separate computers on the network.  That means you 
should either:

* forward X11 apps through ssh (connect to the domain with ssh -X, run an 
xterm - it should just appear).
* Run "vncserver" in the guest, connect to it from dom0 (or any other system).  
By playing with your gdm / kdm / xdm config, you can cause the vncserver to 
be started automatically and display the login screen.
* Run Xnest in dom0, tell apps to connect to that instead of a local Xserver.
* Run FreeNX server in the domU, connect to it using the free (as in beer) 
client from NoMachine.  NX performs well and can do nifty things like 
forwarding sound, printing and local filesystems (if you can figure out how 
to set it up!)

HTH,
Mark

On Thursday 22 September 2005 07:15, Srinivasan S wrote:
> Hi
>
> I got Fedora Core 4 to boot via the Xen kernel.  Then I configured the
> guest os config files as recommended in the examples on teh Xen
> documentation.  Then tried loading Ubuntu via the guest OS.  Ubuntu boots
> and stops at login prompt and I am able to login to tty1.  I tried with
> Suse 10 and same result (run level in both configs was set to 5)   
>
> Question:  How do I get X to run in the guest operating systems ie. Suse or
> Ubuntu ?
>
> System: P4/512MB RAM/256 is used by Xen on FC4 and the balance is for the
> guest OS
>
> Regards
> Srini

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users