Home / It - Notizen / Linux / ttys won't start : Waiting for xauthority

ttys won't start : Waiting for xauthority


Reason: virtualgl (service vgl) doesn't work out-of-the-box with lightdm and hangs.
Solution:
Change /etc/conf.d/vgl:
  1. # common case (works in almost all tested environments (except of lightdm)):
    XAUTHORITY="$(ps wwax -C X,Xorg -o args= --sort=-stime | grep -m 1 -o '\B[-]auth\s*/var\S*' | cut -d ' ' -f 2)"
    ------- to (comment out the XAUTHORITY line) -------
    # common case (works in almost all tested environments (except of lightdm)):
    #XAUTHORITY="$(ps wwax -C X,Xorg -o args= --sort=-stime | grep -m 1 -o '\B[-]auth\s*/var\S*' | cut -d ' ' -f 2)"
    ----- and ----------------------------------------------------------------------------------------------------------------------------------------
    # lightdm:
    #XAUTHORITY="/var/run/lightdm/root/${DISPLAY}"
    ------- to (uncomment the XAUTHORITY line) -------
    # lightdm:
    XAUTHORITY="/var/run/lightdm/root/${DISPLAY}"





 RSS of this page

Written by:   Version:   Edited By:   Modified