On Wed, Nov 17, 2010 at 06:01:53PM +0100, Josselin Mouette wrote: > Le mercredi 17 novembre 2010 à 17:15 +0100, Mario 'BitKoenig' Holbe a > écrit : > > Well, to me, it does indeed appear to be a GDM bug: I can not reproduce > > this permanent VT allocation with either KDM, XDM or startx. The issue > > does only show up with GDM. And it does never show up when starting GDM > > the first time after boot, GDM needs to be stopped and started again for > > the issue to show up here on my systems. > Try the attached C code, it will show you what the kernel says, which is > what GDM bases its decisions upon.
Well, as I already said in my previous mail (using deallocvt there), it says busy... I started on a fresh booted system, GDM running (on vt7), switched back to vt1 and logged in as root: r...@darkside:~# deallocvt 7 VT_DISALLOCATE: Device or resource busy deallocvt: could not deallocate console 7 r...@darkside:~# /tmp/vtmap tty1 busy tty2 busy tty3 busy tty4 busy tty5 busy tty6 busy tty7 busy tty8 free tty9 free tty10 free tty11 free r...@darkside:~# /etc/init.d/gdm3 stop Stopping GNOME Display Manager: gdm3. r...@darkside:~# /tmp/vtmap tty1 busy tty2 busy tty3 busy tty4 busy tty5 busy tty6 busy tty7 busy tty8 free tty9 free tty10 free tty11 free r...@darkside:~# deallocvt 7 VT_DISALLOCATE: Device or resource busy deallocvt: could not deallocate console 7 r...@darkside:~# Before stopping GDM, tty7 is busy as expected. After stopping GDM, tty7 is still busy. > The VT allocation code has not changed a single bit in gdm between the > lenny and squeeze versions. In gdm3 a very similar code is used, which > is why both behave the same in squeeze. Well, it's probably not a direct GDM bug but some bug in the Gnome backend? I believe to remember for such permanent VT allocation a while ago when I didn't use any display manager at all (but startx and FVWM as window manager) triggered by running some Gnome application(s). I just cannot currently find such an application that would trigger it. regards Mario -- It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories instead of theories to suit facts. -- Sherlock Holmes by Arthur Conan Doyle
signature.asc
Description: Digital signature