Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71430 - kdm always launch session script with DISPLAY=:0.0
Summary: kdm always launch session script with DISPLAY=:0.0
Status: RESOLVED DUPLICATE of bug 70813
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-16 12:49 UTC by Alin Năstac (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
1 user (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 Alin Năstac (RETIRED) gentoo-dev 2004-11-16 12:49:35 UTC
I have following /usr/kde/3.3/share/config/kdm/Xservers:

:0 local@tty1 /usr/X11R6/bin/X vt7 :0
:1 local@tty2 reserve /usr/X11R6/bin/X -nolisten tcp vt8 :1

When I launch another session from the first one (by launching menu "Start new session"), kdm correctly starts another X on :1. After login, kdm runs:
  - /usr/kde/3.3/share/config/kdm/Xstartup with $DISPLAY set to :1.0 (nothing wrong here)
  - /usr/kde/3.3/share/config/kdm/Xsession with $DISPLAY set to :0.0 (?!?)

Of course, startkde complains that "KDE seems to be already running".
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2004-11-16 13:05:57 UTC
I think it's a side effect of bug 70813, you can comment out the DISPLAY line
in /etc/security/pam_env.conf as a workaround.
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2004-11-16 13:17:31 UTC
Thanks. I should've search for DISPLAY bugs instead of kdm bugs. :)

*** This bug has been marked as a duplicate of 70813 ***