Michael Kowalchik
2005-Sep-22 23:02 UTC
Fwd: [Xen-users] Re: Newbie: How to run Xwindows in the guest OS
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@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Luke
2005-Sep-23 00:57 UTC
Re: [Xen-users] Re: Newbie: How to run Xwindows in the guest OS
What i''d really like to know is how things work in this: http://wiki.xensource.com/xenwiki/XenDemoLaptop setup. I''d love to know how the security of this works, what talks with what, etc. If I can run VNC from each VM, that''s not a bad deal... _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2005-Nov-08 02:17 UTC
Re: [Xen-users] Re: Newbie: How to run Xwindows in the guest OS
Sorry, didn''t see this mail at the time. Luke, did you get this sorted? The Xen demo laptop used Xvnc as the X server. You can configure GDM (or your display manager of choice) to start the Xvnc server directly, rather than trying to start the "normal" X server. This gives you the pretty login screen that we had for the demo laptop. Cheers, Mark On Friday 23 September 2005 01:57, Luke wrote:> What i''d really like to know is how things work in this: > > http://wiki.xensource.com/xenwiki/XenDemoLaptop > > setup. I''d love to know how the security of this works, what talks with > what, etc. If I can run VNC from each VM, that''s not a bad deal..._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users