Bug 812

Summary: twm is launched after the default WM
Product: Sisyphus Reporter: Mikhail Zabaluev <mhz>
Component: xinitrcAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P4 CC: glebfm, ldv, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

Description Mikhail Zabaluev 2002-04-10 12:14:48 MSD
After the main WM session is finished, twm is launched with an xterm window. I believe, the problem is in the following lines in /etc/X11/Xsession:

        # Try default from runwm.
        /usr/X11R6/bin/runwm default

        # The system is broken...
        /usr/X11R6/bin/runwm failsafe

Two suggestions:
1) examine the return code of the \&quot;runwm default\&quot; command
2) replace runwm with a script that will detect a WM and return a command on standard output instead of running it.
This way, Xsession can exec the command.
---

---
xinitrc-2.4.6-alt1
Comment 1 Dmitry V. Levin 2002-04-10 18:31:39 MSD
Fixed in
xinitrc-2.4.7-alt1
Comment 2 Dmitry V. Levin 2002-04-10 18:31:39 MSD
Fixed in
xinitrc-2.4.7-alt1