OpenVZ Forum


Home » General » Support » enable the direct hardware access to the container
Re: enable the direct hardware access to the container [message #36577 is a reply to message #36565] Thu, 02 July 2009 00:42 Go to previous messageGo to previous message
Balbuzard is currently offline  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 commands
vzctl set $CTID --devnodes tty:rw --save
vzctl set $CTID --devnodes tty0:rw --save
The shel returns
setting 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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how can i create a ostemplate。help
Next Topic: OpenVZ + Ubuntu 9.04 + IPv6
Goto Forum:
  


Current Time: Sun Aug 25 19:59:05 GMT 2024

Total time taken to generate the page: 0.05414 seconds