Bug 812 - twm is launched after the default WM
Summary: twm is launched after the default WM
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: xinitrc (show other bugs)
Version: unstable
Hardware: all Linux
: P4 major
Assignee: placeholder@altlinux.org
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-10 12:14 MSD by Mikhail Zabaluev
Modified: 2003-08-25 15:18 MSD (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 \"runwm default\" 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