Bug 29920 - console-kit-daemon holds tty
Summary: console-kit-daemon holds tty
Status: NEW
Alias: None
Product: ConsoleKit
Classification: Unclassified
Component: Daemon (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: william.jon.mccann
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-31 17:32 UTC by Leo Borealis
Modified: 2011-11-20 14:28 UTC (History)
7 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Leo Borealis 2010-08-31 17:32:07 UTC
http://www.mail-archive.com/debian-user@lists.debian.org/msg571838.html

This still actual, but process name console-kit-daemon. KDM\XDM also affected.

ConsoleKit 0.4.1
Comment 1 Leo Borealis 2010-08-31 17:32:55 UTC
This bug appears in Debian and ArchLinux both, may be in other distros.
Comment 2 Vladimir 2010-10-02 11:14:58 UTC
confirming.
Archlinux, consolekit 0.4.1

when console-kit-daemon launches, it grabs currently active vt. 
ck-launch-session does not work on vt grabbed by console-kit-daemon.

This bug breaks qingy experience: can not launch session twice on same tty, it hangs.
If using other DM's, tty7 gets blocked after first use.
Comment 3 Vladimir 2010-10-02 23:49:33 UTC
workaround:

add this line to rc.local to force console-kit-daemon launch on distant tty:
openvt -c 63 -f -- console-kit-daemon --no-daemon &

may not work with some graphical login managers, as they may launch it sooner.
Comment 4 Radosław Piliszek 2010-10-08 12:04:15 UTC
Anything running console-kit-daemon is affected.

Another workaround is to run console-kit-daemon w/o "--no-daemon" before starting any X server.

Otherwise, tty7 gets blocked every time.
Comment 5 Vladimir 2010-10-08 12:37:56 UTC
when running it without "--no-daemon", it grabs currently foreground vt, no matter what vt it was launched from. With "--no-daemon" you can pin it to desired vt in background.
Comment 6 Radosław Piliszek 2010-10-08 12:45:52 UTC
So it can stay on tty1 this way. It does not cause any problems there. I added it to rc.local
Comment 7 Aris Tomaras 2011-03-13 04:49:29 UTC
I have slackware 13.1 64bit and kde 4.4.3 and i have the same problem.
However i did what you suggested, with the rc.local, and it's ok now.
Comment 8 Radosław Piliszek 2011-03-13 07:06:09 UTC
I am worried about no progress. Surely, there is a workaround I've found but a workaround shouldn't be considered as a fix.
Comment 9 Qi Xiao 2011-03-27 21:59:54 UTC
I vote for a fix. Google "tty7 tty8" and you'll see everyone is complaining about the bug... It doesn't really matter (to me), but that's clearly no good behavior.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.