After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 322137 - get_free_vt_linux returns the wrong vt
get_free_vt_linux returns the wrong vt
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
2.8.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-22 14:34 UTC by Frederic Crozat
Modified: 2005-11-22 20:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
fix vt detection (373 bytes, patch)
2005-11-22 14:35 UTC, Frederic Crozat
none Details | Review

Description Frederic Crozat 2005-11-22 14:34:52 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.
Comment 1 Frederic Crozat 2005-11-22 14:35:20 UTC
Created attachment 55086 [details] [review]
fix vt detection
Comment 2 Brian Cameron 2005-11-22 20:01:09 UTC
Thanks, fixed in CVS head and 2.12 branch.