[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Devices not available in domain



M.A. Williamson wrote:
I got my domain up and running, receive an IP via DHCP, can login as root and it works so far.

However, when I try to login as a non-privileged user, I get

bash: /dev/null: Permission denied


That's very odd!  Xen shouldn't really make a difference here.

Can you look at the output of "mount" and check whether your root filesystem is mounted readonly for some reason. Could you post it to the list, please?

# mount
/dev/hda6 on / type ext3 (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)

Can you post the disk lines out of your config file?

disk = ['file:/root/xeninstanzen/lxgia/lxgia.img,hda6,w']
root = "/dev/hda6 rw"

And though the domain claims to be booting into runlevel 5, no X-Server is started. When I try to start X manually, I get this error message:

Fatal server error:
xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)

For me it looks as if I had to do something about the mode the filesystem is mounted. Is that right? Or is there another reason why some devices are not available?


You can't just start an Xserver in a Xen domain since there isn't (yet) a virtual framebuffer device. The recommended way of doing this is to use remote X or VNC, as you would for graphical access to a physically separate machine.

I see.

Thank you.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.