shaggy999
September 7th, 2007, 12:09 PM
Xgl :1 -fullscreen -ac -br -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
xauth -i add :1 . "$cookie"
exec dbus-launch --exit-with-session gnome-session
What do the 'cookie' and 'xauth' lines do? And are they necessary? The reason I ask is because if I include those lines in my script gnome fails to load upon login (I just get a black screen w/ an error). If I comment those two lines out everything starts fine.
UPDATE: I got a bit of an answer here: http://ubuntuforums.org/showthread.php?p=3326486#post3326486
DISPLAY=:1
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
xauth -i add :1 . "$cookie"
exec dbus-launch --exit-with-session gnome-session
What do the 'cookie' and 'xauth' lines do? And are they necessary? The reason I ask is because if I include those lines in my script gnome fails to load upon login (I just get a black screen w/ an error). If I comment those two lines out everything starts fine.
UPDATE: I got a bit of an answer here: http://ubuntuforums.org/showthread.php?p=3326486#post3326486