GNOME Bugzilla – Bug 322137
get_free_vt_linux returns the wrong vt
Last modified: 2005-11-22 20:01:09 UTC
Distribution/Version: Mandriva Linux cooker Changes introduced in gdm 2.8.0.5 in linux free vt detection (bug #315313) have broken gdm ability to start several X server on demand (either by flexiserver or using fast-user-switching applet). It can sometime locks X server and VT switching. The attached patch fixes the issue by correctly detecting free vt : vtstat.v_state first bit is for vt0 and not vt1, causing vt detection to be shift by one : first X server was started on vt8, second X server was started on vt8 as well.
Created attachment 55086 [details] [review] fix vt detection
Thanks, fixed in CVS head and 2.12 branch.