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

Re: X respawns on tty8 instead of tty7



Camaleón wrote:
On Sun, 20 Nov 2011 09:24:34 -0600, Hugo Vanwoerkom wrote:

I am running Sid and X thru startx.
It appears that on restarting X the tty it uses dwells to tty8. I wonder
why I want that feature, it's annoying.

This happened from time to time also in wheezy and starting GNOME as usual (by means of GDM). The X sessions "jumped" from tty7 to tty8 or tty9...

Found a reference to it:
https://bbs.archlinux.org/viewtopic.php?id=103765 'Psycho_zs' gives a
solution to it: start console-kit-daemon on vt63, down the page.
This seems to 'fix' it. I think.
Why does consolekit do this?

The user points to this bug which is still opened:

console-kit-daemon holds tty
https://bugs.freedesktop.org/show_bug.cgi?id=29920


Yes, I noted the jumps tty7-9-10 as well with gdm3. So to avoid the jumps, put:

openvt -c 63 -f -- console-kit-daemon --no-daemon &

in /etc/rc.local before the 'exit 0'.

It "works" I guess because now upon quitting and restarting X I always have X at tty7, which is what I want instead of pecking and searching where X hides itself.

But I admit that the reason for the fix is not obvious to me. BTW I now have 61 tasks in my system of console-kit-daemon, hope it needs them all.

Hugo


Reply to: