LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-03-2004, 04:17 PM   #1
ionmich
Member
 
Registered: Sep 2003
Location: Mexico, Sweden
Distribution: openSUSE 15.2, Microware OS-9, MX-19, Bodhi 5.1.0
Posts: 256

Rep: Reputation: 41
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
 
Old 11-03-2004, 04:41 PM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
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.
 
Old 11-04-2004, 09:22 AM   #3
ionmich
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: Reputation: 41
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.
 
Old 11-04-2004, 10:19 AM   #4
rhb327
Member
 
Registered: May 2004
Distribution: Slackware Current
Posts: 161

Rep: Reputation: 30
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.
 
Old 11-04-2004, 10:49 AM   #5
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
i know there's probably not that file, -- create it with the same syntax as a .xinitrc file
 
Old 11-05-2004, 07:46 PM   #6
ionmich
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: Reputation: 41
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.
 
Old 11-05-2004, 08:21 PM   #7
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
yes yes, we understand that much, but i thought we were going for change default WM, not default DM
 
Old 11-06-2004, 06:20 AM   #8
n0sr
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; Ubuntu Raspberry Pi OS
Posts: 255

Rep: Reputation: 34
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Default GUI spelltoronto Linux - Newbie 4 01-20-2005 10:03 PM
Chose the default GUI kernelvn Fedora 1 10-13-2004 12:32 PM
Default GUI Problem Desert Eagle Linux - Newbie 2 06-12-2004 11:55 AM
Default GUI Chooser? Zaskar Fedora 1 02-23-2004 08:58 PM
How can i change the default GUI ? zokter Linux - Newbie 2 09-27-2003 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration