LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Default GUI Slack 10 (https://www.linuxquestions.org/questions/slackware-14/default-gui-slack-10-a-250760/)

ionmich 11-03-2004 04:17 PM

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

secesh 11-03-2004 04:41 PM

xwmconfig

-- that get it done for you?


[edit]
hmm...
/etc/X11/xinit/xinitrc
??
[/edit]

[edit2]

ah!

~/.xprofile

that should be it
[/edit2]

ionmich 11-04-2004 09:22 AM

Quote:

Originally posted by secesh
xwmconfig

-- that get it done for you?

No. But I think there's something wrong with the xwmconfig in my distribution because I could not unselect any of the GUI's while installing.

[edit]
hmm...
/etc/X11/xinit/xinitrc
??
[/edit]

Well the last line of xinitrc is "startkde" so I don't think that's a problem.


[edit2]

ah!

~/.xprofile

that should be it
[/edit2]

There is no .xprofile anywhere in my installation.

rhb327 11-04-2004 10:19 AM

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.

secesh 11-04-2004 10:49 AM

i know there's probably not that file, -- create it with the same syntax as a .xinitrc file

ionmich 11-05-2004 07:46 PM

Quote:

Originally posted by rhb327
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 already commented out the GDM portion.

secesh 11-05-2004 08:21 PM

yes yes, we understand that much, but i thought we were going for change default WM, not default DM

n0sr 11-06-2004 06:20 AM

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.