Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-17-2003, 09:05 PM   #1
Registered: Jun 2003
Location: Sydney, Australia
Distribution: Ultima, Blag, KateOS, PCLinuxOS, Frugalware
Posts: 216

Rep: Reputation: 31
startx and KDE?

I only just installed my first Slackware (9.0), so bear with me My question is, what do I need to do to get KDE going when starting my session with startx? Currently, it defaults to Gnome, I think because I installed Dropline Gnome. This is fine, I don't want to change the default - I just want to have a way of getting into KDE now and then. I believe I'd need to make an entry in my ~/.xinitrc - is that correct, and what would that entry be?
I would prefer not to resort to going through gdm (or kdm) either - I'm happy with startx.
Old 06-17-2003, 09:54 PM   #2
Registered: Jan 2002
Posts: 72

Rep: Reputation: 15
Type "xwmconfig", select the one you want, exit, then startx. You will need to switch this back to gnome when you wish to use it again.

I'm sure there's a text file you can edit somewhere, but I don't know which one

Old 06-17-2003, 10:04 PM   #3
Registered: Jun 2003
Location: Holly Hill, Florida
Distribution: Slackware 10.1
Posts: 317

Rep: Reputation: 30
The text file (shell script) to edit is

Old 06-18-2003, 02:46 AM   #4
Registered: Jun 2003
Location: Sydney, Australia
Distribution: Ultima, Blag, KateOS, PCLinuxOS, Frugalware
Posts: 216

Original Poster
Rep: Reputation: 31
Thanks, xwmconfig is helpful. After a bit of digging, I found the script that gets KDE going: it's /opt/kde/bin/startkde.

Putting "exec /opt/kde/bin/startkde" in my ~/.xinitrc starts KDE.
Putting "exec /usr/X11R6/bin/fluxbox" starts Fluxbox instead.
Having nothing in .xinitrc defaults to Gnome.

Excellent. What I would like to do now is collect this into some sort of script, so I could go "startx kde" and get kde, "startx fluxbox" to get fluxbox, etc. In short, I'd like some functionality of GDM without actually starting GDM...


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
KDE 3.3 won't load when using startx Alinuxnoob Slackware 1 09-11-2004 09:03 PM
startx = windowmaker ... I WANT KDE!!! theMonkeY Linux - Software 3 09-07-2004 06:40 AM
My startx goes kde, i want fluxbox Balkman Linux - Newbie 6 07-25-2004 02:01 PM
startx to kde Longinus Linux - Newbie 4 02-12-2004 08:02 AM
Startx still runs KDE 3.0.1 instead of KDE 3.1 jtp51 Linux - General 1 02-07-2003 10:08 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:29 PM.

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