Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469928 - x11-misc/virtualgl: vgl doesn't start with gdm3
Summary: x11-misc/virtualgl: vgl doesn't start with gdm3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 468048
  Show dependency tree
 
Reported: 2013-05-15 08:56 UTC by Pacho Ramos
Modified: 2013-05-26 18:47 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2013-05-15 08:56:51 UTC
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
Comment 1 Pacho Ramos gentoo-dev 2013-05-25 17:48:27 UTC
Mva, do you have any idea? Looks like it's an incompatibility with gdm3
Comment 2 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2013-05-26 17:58:48 UTC
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? :)
Comment 3 Pacho Ramos gentoo-dev 2013-05-26 18:00:39 UTC
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
Comment 4 Pacho Ramos gentoo-dev 2013-05-26 18:13:41 UTC
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*'
#
Comment 5 Pacho Ramos gentoo-dev 2013-05-26 18:47:23 UTC
+*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.
+