Re: VE fails to startx [message #32696 is a reply to message #32682] |
Sun, 24 August 2008 22:34   |
piavlo
Messages: 159 Registered: January 2007
|
Senior Member |
|
|
Probably X server (like getty) requires direct access to HN console/tty and probably you just can't have it in VE.
To verfy this would you mind performing the following test?:
Let's check if you can get virtual console with getty in VE
get displayed on HN monitor( just like like HN getty's which can be
accessed with Ctrl+Alt+F*)
1)First of all,if you have any, stop X server on HN, so that /dev/tty7 is not occupied by it.
2)In VE create for upstart /etc/event.d/tty7 (similar to
/etc/event.d/tty{1,2,3,4,5,6} in HN) and make sure it actually uses
tty7
3) Give VE access to /dev/tty{0,7}
vzctl set 101 --devnodes tty0:rw
vzctl set 101 --devnodes tty7:rw
(don't know if /dev/tty0 is needed)
4)start your VE
5)Check in front of HN monitor if Ctrl+Alt+F7 gives you
the virtual console of your VE.
Anyway the proper way to go is to use vnc server or XDMCP (which do not require console access) like explained in. http://wiki.openvz.org/X_inside_VE. Anyway you need real X server
in VE only if you use the HN as your desktop station and want to run X server inside VE and not HN (hard to believe you actually want this).
|
|
|