FS#34913 - [gdm] Uses xhost without dependency

Attached to Project: Arch Linux
Opened by Matthew Iversen (Ivoz) - Tuesday, 23 April 2013, 14:37 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 30 July 2013, 22:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

/etc/gdm/Xsession, line 156:

xhost +si:localuser:`id -un` || :

xhost comes from xorg-xhost, which is not depended on by gdm
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 30 July 2013, 22:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  Added to 3.8.4
Comment by Jan Alexander Steffens (heftig) - Tuesday, 23 April 2013, 18:10 GMT
Is it required for gdm to work? I notice that failure is ignored (the "|| :").
Comment by Jan de Groot (JGC) - Monday, 01 July 2013, 10:55 GMT
That line takes care that anything that is coming from your user gets access to $DISPLAY. For example: with this line, I can login to tty2, run "DISPLAY=:0 xterm", switch back to X and have XTerm running there. Without that line I won't get access because I'm not in the ACL and I don't have an environment variable pointing to my Xauth cookie.

Loading...