[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Xen Xen <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Michael Kowalchik <mike.pk@xxxxxxxxx>
  • Date: Thu, 22 Sep 2005 19:02:06 -0400
  • Delivery-date: Thu, 22 Sep 2005 22:59:53 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:references:content-type:message-id:content-transfer-encoding:subject:date:to:x-mailer:from; b=hInRl0hZR8Z7cPEbYeg2xg50MQpyUaoKJA9oVgYYE9a4o6wYl211bwvbjW36clVJbuQW8GlU67zHx7F+fwtpvpz9q/B7B2vP/FkeSjMtA++OYu6Not9mplOLPYsNX9hOix0lQkAxY2xyiyfS47D9BIUpEhzI6O1Lzsj1A96q40E=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


I think you're going to want an Xserver thats not on a domU machine, I'm using Apple's X11 Xserver to connect to X on my domU machines.

For something on the same physical machine, if you can get an X session running on the Dom0 machine I imagine you could use an ssh tunnel to the DomU machine and run 'gdmflexiserver --xnest' (assuming you're running gdm) and it will run an X session from the domU machine in a window on the dom0 machine (I'm guessing, my dom0 is very sparse with no X). I just started playing with this so I'm sure there's a better way, I just haven't figured it out. I'm using ssh from my mac and then this command to bring up a gnome desktop in a window.

Oh and if you want to change the geometry of the window with the gdmflexiserver command above you have to change the xnest entry in gdm.conf

I found a paper on gdm useful http://www.gnome.org/projects/gdm/ gdmtalk.pdf .

-MK


On Sep 22, 2005, at 5:05 AM, Matt Palmer wrote:


On Thu, Sep 22, 2005 at 06:15:00AM -0000, Srinivasan S wrote:


Question: How do I get X to run in the guest operating systems ie. Suse
or Ubuntu ?



I don't really think you can, at least not directly. The problem is that the X server typically wants direct access to the video hardware, and the domU guest isn't allowed near it. Short of making your dom0 serial- console
only, I don't think you could do it.

I vaguely recall something about a framebuffer device appearing in Xen 3,
which you could point the X session in your domU at, but I could be
completely off-the-mark.

A way (not the only one, though) to get full X sessions happening is to install an appropriate X server in your dom0, configure the domU to expose it's display manager via XDMCP over the network (you can restrict who can
connect, for security), and then run something like

X -query <domU IP address>

in the dom0. Make it an init script if you want. That should start the X server in the dom0, and then connect it to the display manager on the domU,
which should produce a nice GUI login screen.

Note that things probably won't run as well as they would normally, and 3D
accelerated graphics almost certainly won't work.

- Matt

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






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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.