[Xfce-bugs] [Bug 11759] New: startxfce4 needs to pass the current VT to xinit
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Tue Mar 24 09:53:38 CET 2015
https://bugzilla.xfce.org/show_bug.cgi?id=11759
Bug ID: 11759
Summary: startxfce4 needs to pass the current VT to xinit
Classification: Xfce
Product: Xfce4-session
Version: 4.12.0
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: Medium
Component: General
Assignee: xfce-bugs at xfce.org
Reporter: evangelos at foutrelis.com
QA Contact: bjt23 at cornell.edu
CC: benny at xfce.org, nick at xfce.org
Created attachment 6121
--> https://bugzilla.xfce.org/attachment.cgi?id=6121&action=edit
Pass VT number to xinit if XDG_VTNR is set
startx does this as well so that the launched session works correctly with
logind:
http://cgit.freedesktop.org/xorg/app/xinit/commit/?id=44915d6
I've added the attached patch to the xfce4-session package in Arch Linux,
though I'm not sure of its correctness. Fedora has been patching startxfce4 for
a while now too. [1]
While my patch checks if XDG_VTNR is set (I believe this is set by
pam_systemd), both startx and the Fedora patch parse the output of `tty` to
determine the current VT; I don't know which approach is better.
[1]
http://pkgs.fedoraproject.org/cgit/xfce4-session.git/tree/xfce-session-4.10-startxfce4.patch
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list