Re: enable the direct hardware access to the container [message #36577 is a reply to message #36565] |
Thu, 02 July 2009 00:42   |
Balbuzard
Messages: 26 Registered: March 2009 Location: Australia
|
Junior Member |
|
|
Hi, thanks for your answer;
I have removed /dev/tty and /dev/tty0 in my VPS; and then added them again using the commandsvzctl set $CTID --devnodes tty:rw --save
vzctl set $CTID --devnodes tty0:rw --save The shel returnssetting devices
saved parameters for CT$CTID
Then, I have shut down the graphic server, and tried to start it up again from inside the VPS, the same error message is returned.
I have noticed that the rights of /dev/tty and /dev/tty0 are not the same in the HN and in the VPS, so I have set the rights in these devices of the VPS the same way they are in the HN, but still the same error message.
Does this configuration depend on the hardware on whom the openvz kernel is installed?
Thanks!
EDIT:
I have tried to move the devices tty0 and tty in the HN. Then, when I am trying to enter the VPS, vzctl returns;Incorrect device name /dev/tty0: no such file or directory
Invalid value for DEVNODES=/tty0:rw, skipped But the devices in VPS still appear! (And the same error again while trying to execute the command startx) Maybe it can help :-S
[Updated on: Thu, 02 July 2009 01:13] Report message to a moderator
|
|
|