Weblog entry #7 for eric

Give your testing Xen instance a working X setup
Posted by eric on Tue 27 Jun 2006 at 17:03
Tags: none.

(as this problem concerns Debian and Xen... i post it here, maybe not the best place) Hi all,

As I use testing now at home, i'm a little bit frustrated with stable at work on my desktop. So i used Xen to made a clone of my system (with dd) and 'apt-get dist-upgrade' it. All worked fine, but now i can't make my Vnc+Gdm work (made following this article), and I need it to work.

I got this kind of errors in my Xorg.0.log :

Fatal server error: xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory) (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor

When i launch vncserver in a ssh, with

vncserver -geometry 2304x864 -depth 24
it works well... and I can connect to it

Its strange because it's exactly the same line i have in my /etc/gdm/gdm.conf Anyone got an idea ?

 

Comments on this Entry

Posted by Steve (62.30.xx.xx) on Wed 28 Jun 2006 at 09:55
[ Send Message | View Steve's Scratchpad | View Weblogs ]

Strange, it still works fine for me with GDM + VNC.

The lack of /dev/tty0 seems weird. Does that exist in your virtual system?

Steve

[ Parent | Reply to this comment ]

Posted by eric (194.2.xx.xx) on Wed 28 Jun 2006 at 10:19
[ Send Message | View Weblogs ]
The lack of /dev/tty0 seems weird. Does that exist in your virtual system?
No, it doesn't exist.
I have a /dev/tty and many others /dev/tty* and... oh, i also have a /dev/tty1 but no tty0.

I have googled and found nothing interesting about this error message

:eric:
http://blog.sietch-tabr.com

[ Parent | Reply to this comment ]

Posted by Steve (62.30.xx.xx) on Wed 28 Jun 2006 at 10:29
[ Send Message | View Steve's Scratchpad | View Weblogs ]

Run this inside your Xen instance and reboot it to see if it helps:

cd /dev
./MAKEDEV consoleonly

(This will create a /dev/ttyS0 entry.)

Steve

[ Parent | Reply to this comment ]

Posted by eric (194.2.xx.xx) on Wed 28 Jun 2006 at 10:59
[ Send Message | View Weblogs ]
(This will create a /dev/ttyS0 entry.)
You want to mean /dev/tty0?

No success, i already tried the MAKEDEV method but without reboot.
But i got this message

udev active, devices will be created in /dev/.static/dev/
and in fact i have a /dev/.static/dev/tty0 device.
Now, how can i associate it with /dev/tty0 (a symbolic link won't survive a reboot i think)?

:eric:
http://blog.sietch-tabr.com

[ Parent | Reply to this comment ]

Posted by eric (194.2.xx.xx) on Wed 28 Jun 2006 at 15:02
[ Send Message | View Weblogs ]
Ok, for the moment, i removed udev, and gdm seems to work (i saw gdm and Xvnc4) but now vnc asked me for a password, and that wasn't the case in sarge..., and i don't know how to get rid of it...
work in progress...

:eric:
http://blog.sietch-tabr.com

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search