mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Mar. 15 2005,18:44 |
|
There isn't really a "default" window manager when you boot into runlevel 3 (or is it 5 in DSL?). It's dependent on the specific window manager you specify. If nothing is specified, then no window mnager will run. Let's see if we can narrow this down to the source of the trouble....
When you boot into DSL, root is automatically logged in, and then root su's to user dsl. This has nothing to do with X, so we can probably assume Icewm made no changes here.
Next, when dsl logs in, /etc/profile and /home/dsl/.bash_profile are run. You might check each of these files to see if there is anything unusual here. It's not likely that /etc/profile would be the trouble, but you never know...
When .bash_profile is run, startx is run from that, which begins the xinit process (loading X). It's possible that "startx" was replaced by another command, such as "xinit icewm". If if the startx command was untouched, look for something before the "startx" line.
The Xinit process generally runs /home/dsl/.xinitrc. However, if the XINITRC variable was set at some point prior to this (such as from .bash_profile), Xinit would use that file instead, ignoring .xinitrc completely. This isn't a standard way to change window managers, but it could happen (I did that myself in an older extension, but thought better of it later).
If .xinitrc is not your trouble, as you said, and changing this file doesn't help, then my guess is that something changed prior to the time when .xinitrc would normally be run. Probable culprit is the XINITRC variable mentioned above.
EDIT:
Quote | I did as henk.1955 suggested, and it worked. |
ok, fine....that's good. You can ignore this post then....grumble....
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|