Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-03-2004, 04:17 PM
|
#1
|
Member
Registered: Sep 2003
Location: Mexico, Sweden
Distribution: openSUSE 15.2, Microware OS-9, MX-19, Bodhi 5.1.0
Posts: 256
Rep:
|
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
|
|
|
11-03-2004, 04:41 PM
|
#2
|
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154
Rep:
|
xwmconfig
-- that get it done for you?
[edit]
hmm...
/etc/X11/xinit/xinitrc
??
[/edit]
[edit2]
ah!
~/.xprofile
that should be it
[/edit2]
Last edited by secesh; 11-03-2004 at 04:45 PM.
|
|
|
11-04-2004, 09:22 AM
|
#3
|
Member
Registered: Sep 2003
Location: Mexico, Sweden
Distribution: openSUSE 15.2, Microware OS-9, MX-19, Bodhi 5.1.0
Posts: 256
Original Poster
Rep:
|
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.
|
|
|
11-04-2004, 10:19 AM
|
#4
|
Member
Registered: May 2004
Distribution: Slackware Current
Posts: 161
Rep:
|
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.
|
|
|
11-04-2004, 10:49 AM
|
#5
|
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154
Rep:
|
i know there's probably not that file, -- create it with the same syntax as a .xinitrc file
|
|
|
11-05-2004, 07:46 PM
|
#6
|
Member
Registered: Sep 2003
Location: Mexico, Sweden
Distribution: openSUSE 15.2, Microware OS-9, MX-19, Bodhi 5.1.0
Posts: 256
Original Poster
Rep:
|
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.
|
|
|
11-05-2004, 08:21 PM
|
#7
|
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154
Rep:
|
yes yes, we understand that much, but i thought we were going for change default WM, not default DM
|
|
|
11-06-2004, 06:20 AM
|
#8
|
Member
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; Ubuntu Raspberry Pi OS
Posts: 255
Rep:
|
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!
Last edited by n0sr; 11-06-2004 at 06:24 AM.
|
|
|
All times are GMT -5. The time now is 07:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|