Bug 13637

Summary: kdm virtual consoles don't work
Product: [Unmaintained] kdm Reporter: thogard
Component: generalAssignee: kdm bugs tracker <kdm-bugs-null>
Status: CLOSED FIXED    
Severity: grave    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description thogard 2000-10-26 03:03:41 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: kdm
Version: 2.0
Severity: grave
Installed from: source on top of mandrake 7.1

I need two different X sessions running with different
user ids.
The new kdm in version 2.0 breaks this sometimes and
opens a potential security problem. 

I start by setting up /usr/X11R6/lib/X11/xdm/Xsession
with this:
:0 local /usr/X11R6/bin/X
:1 local /usr/X11R6/bin/X :1     

Now if I run xdm and then kill it and then start kdm it works.  However if kdm is started from init (via x:5:respawn:/etc/X11/prefdm -nodaemon  ) I get both my virutal X sessions but when using Ctl-Atl-F[78] to switch between them sometimes the keyboard action goes to the wrong X session.  Ctl-Alt-F1 will result in a messed up screen and when I switch back to Ctl-Alt-F7 and type "reboot" the box resets because input goes to virtual console 1 not 7 like it should be.

If I run xdm then gdm and then kdm it works fine everytime.



(submitted via bugs.kde.org)
Comment 1 Oswald Buddenhagen 2001-01-12 19:33:13 UTC
The problem you reported is not a bug but some sort of misconfiguration.
Therefore I'm closing this bug report. RTFM next time! ;-)

individual response: use
:0 local /usr/X11R6/bin/X vt7
:1 local /usr/X11R6/bin/X :1 vt8
otherwise the two xservers will race for the same virtual console
(vt7) what leads to more or less random results.

best regards

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature please!
--
Nothing is fool-proof to a sufficiently talented fool.