I get: * Starting VirtualGL ... xauth: (argv):1: bad "add" command line [ !! ] * ERROR: vgl failed to start * ERROR: cannot start bumblebee as vgl would not start But no idea what changed as I didn't hit it time ago (maybe update to gdm3?) Reproducible: Always
Mva, do you have any idea? Looks like it's an incompatibility with gdm3
1) actually, vgl will be almost unneded in near future 2) what is gdm3's xauth location? Have you changed XAUTHORITY to point into right place in conf.d/vgl? :)
This are the contents: # ls -l /run/gdm/* -rw-r--r-- 1 root root 5 may 26 12:41 /run/gdm/gdm.pid -rw-r--r-- 1 root root 0 may 26 12:41 /run/gdm/ran-once-marker /run/gdm/auth-for-gdm-enfJ4N: total 4 -rw------- 1 gdm gdm 104 may 26 12:41 database /run/gdm/auth-for-pacho-QTJotl: total 4 -rw------- 1 pacho users 104 may 26 12:42 database Looks like there are two auth files, one for gdm user and others for users logged in
Using: XAUTHORITY="$(ps -C X,Xorg -o args= --sort=-stime | grep -m 1 -o '\B[-]auth\s*/(var|run)\S*auth\S*' | cut -d ' ' -f 2)" ends with: # /etc/init.d/vgl start vgl | * Caching service dependencies ... [ ok ] vgl | * Starting VirtualGL ... vgl |xauth: file list does not exist The command outputs nothing. # ps -C X,Xorg -o args= --sort=-stime /usr/bin/Xorg :0 -background none -verbose -auth /var/run/gdm/auth-for-gdm-enfJ4N/database -nolisten tcp vt7 But, after appending grep: # ps -C X,Xorg -o args= --sort=-stime | grep -m 1 -o '\B[-]auth\s*/(var|run)\S*auth\S*' #
+*virtualgl-2.3.2-r2 (26 May 2013) + + 26 May 2013; Pacho Ramos <pacho@gentoo.org> +files/vgl.initd-r2, + +virtualgl-2.3.2-r2.ebuild, -virtualgl-2.3.2.ebuild: + Fix running with gdm-3 (#469928, thanks a lot to Vadim A. Misbakh-Soloviov + (mva) for his help), drop old. +