Default GUI Slack 10
When I changed my innittab to a default runlevel 4 Gnome started automatically. Yet when I used startx from a runlevel 3 KDE started. Where is the default GUI for runlevel 4 defined?
Thanks |
xwmconfig
-- that get it done for you? [edit] hmm... /etc/X11/xinit/xinitrc ?? [/edit] [edit2] ah! ~/.xprofile that should be it [/edit2] |
Quote:
|
You might want to check out /etc/rc.d/rc.4. In Slack 10.0, if you have gdm and kdm installed rc.4 defaults to the following order:
gdm kdm xdm ...as I recall. HTH. |
i know there's probably not that file, -- create it with the same syntax as a .xinitrc file
|
Quote:
|
yes yes, we understand that much, but i thought we were going for change default WM, not default DM
|
Actually everyone is kinda right. /etc/rc.d/rc.4 contains the script for running the login manager for runlevel 4. If you comment out the gdm portion, then the script will run the kde manager next. (This is what I do, I like the configurable options better for kdm)
If you boot into runlevel 3, then startx will run whatever window manager was defined in ~/.xinitrc if the file exists, otherwise it will use the xinitrc contained in /usr/X11R6/lib/X11/xinit If you look in this directory, there should be an executable script for each window manager on your system. If you want KDE to be your default environment the xinitrc is actually a link to xinitrc.kde You can change the default window manager by changing this link: rm xinitrc ln -s xinitrc.gnome xinitrc or rm xinitrc ln -s xinitrc.fvwm2 xinitrc If a user does not have ~/.xinitrc then this file will be used in its place as the systemwide default. Hope that helps! |
All times are GMT -5. The time now is 01:21 PM. |