--- Nicolas Cadou <ncadou@cobi.net> wrote: > Le August 29, 2008, Stephen Liu a écrit : > > Can I install/run X server on Vserver guest? OR install X server > on > > host and forward X to the guest. On the later arrangement I > suppose > > still needing X installed on the guest? Please advise. TIA > > At home I installed an X server as well as my whole desktop in a > vserver. It > was working, but there were a few kinks. > > First, when in an X session, I would hit CTRL-ALT-F1 and would end up > as > expected in vt1 with a login on the host, but the display would > remain with > the graphical content, inactive. I could not ALT-F7 back into the > guest's X > session, I had to blindingly log into the host and run chvt 7 to get > to my X > session. > > I don't know if I could have tweaked some configuration better in > order to get > the proper behaviour. I searched for a while for some solution but it > didn't > get anywhere. > > It wouldn't be that much of a problem if there wasn't also the > occasionnal X > freeze. I run the proprietary NVIDIA driver, so it might be the > reason for > the the freezes, but I could only recover from those by opening a > remote > shell from another machine and kill X in the guest. > > I ended up installing X on the host, leaving the rest of the system > in the > guest, and I configured KDM to forward to X on the host. Not the best > > security-wise, but perfect it-works-wise. > > I now have full hardware acceleration, including 3D, and no more > freezes or vt > oddness. Hi Nicolas, Debian Etch - Host Debian Etch - Guest I have full X installation on Host running Gnome desktop. Just finished installing xserver-xorg-core, xorg, fluxbod, gdm and firefox on the Guest. Installation went throught without problem. After reboot the Guest, running "vserver vserser1 restart", startx failed. # startx xauth: error in locking authority file /home/satimis/.Xauthority xauth: error in locking authority file /home/satimis/.Xauthority xauth: error in locking authority file /home/satimis/.Xauthority xauth: error in locking authority file /home/satimis/.Xauthority X.Org X Server 1.4.2 Release Date: 11 June 2008 X Protocol Version 11, Revision 0 Build Operating System: Linux Debian (xorg-server 2:1.4.2-4) Current Operating System: Linux vserver1.satimis.com 2.6.18-6-vserver-amd64 #1 SMP Tue Aug 19 05:09:02 UTC 2008 x86_64 Build Date: 15 August 2008 06:27:07PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 29 14:35:38 2008 (==) Using config file: "/etc/X11/xorg.conf" Fatal server error: xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory) giving up. xinit: Connection reset by peer (errno 104): unable to connect to X server xinit: No such process (errno 3): Server error. xauth: error in locking authority file /home/satimis/.Xauthority * end * Failed. The /dev/tty0 seems non existing. Can vserver emulates hardware? Is there any solution? TIA B.R. Stephen L Send instant messages to your online friends http://uk.messenger.yahoo.com