Bug#260805: gdm can't handle second session

debbug2@danisch.de, 260805@bugs.debian.org debbug2@danisch.de, 260805@bugs.debian.org
Thu, 22 Jul 2004 12:01:02 +0200


Package: gdm
Version: 2.6.0.3-1

Hi,

I just tried to have gdm run with two concurrent sessions.
The config file looks like this:

[servers]
0=Standard
1=Standard

...


gdm then correctly starts two greeters, but it is impossible
to run a second session. I've traced the gdm and found a 
problem in setting the DISPLAY variable.

gdm execs /etc/gdm/PreSession/Default with the DISPLAY environment
variable set to ":1" what is correct, but then execs /etc/gdm/Xsession
with DISPLAY set to "localhost:0.0" which is wrong. That's why the 
session programs can't connect to the X server.

regards
Hadmut