Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 02-15-2006, 09:23 AM   #1
LQ Newbie
Registered: Jan 2006
Location: Boston, MA
Posts: 4

Rep: Reputation: 0
Want to startup with command prompt then have KDE when i startx

I have Sarge on an ASUS Pundit and I want to set it up to startup with the command prompt and then have KDE as my GUI when I 'startx' I've been trying different things in the /etc/X11/ directory but I think I'm doing more damage then good. Thanks for any help.

Old 02-15-2006, 09:35 AM   #2
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Rep: Reputation: 46
you can use:


if it's not insatlled i dare say you can apt-get it.
Old 02-15-2006, 10:04 AM   #3
Registered: Nov 2003
Distribution: Ubuntu
Posts: 309

Rep: Reputation: 30
The way I do it is to comment out the line in /etc/X11/default_window_manager. It isn't the most eloquent way to do it, but it works.

Then create a file ".xinitrc" in your home directory that contains the line "exec startkde" or "exec gnome-session" or "exec whatever-wm-you're-using". When you type "startx" KDE will start.

Old 02-15-2006, 11:40 AM   #4
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
oxleyk, ussing the same .xinitrc, you could use directly
xinit $(HOME)/.xinitrc
Old 02-16-2006, 10:33 PM   #5
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
apt-get install sysv-rc-conf
run sysv-rc-conf
untick *dm for your default runlevel
Old 02-17-2006, 09:10 AM   #6
LQ Newbie
Registered: Jan 2006
Location: Boston, MA
Posts: 4

Original Poster
Rep: Reputation: 0
hey thanks for all the help
i'm trying a couple of these ideas to see which works best


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
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 08:14 PM
How do i make KDE startup without typing startx? MadSkillzMan Debian 4 07-13-2004 02:08 PM
making kde run a command at startup wfettich Linux - General 3 05-10-2004 04:13 PM
Load command at KDE startup, possible? thcmwz Linux - Software 1 09-19-2003 11:59 PM
how can i get into command prompt at startup ? suede666 Linux - Newbie 2 05-25-2003 10:33 PM

All times are GMT -5. The time now is 11:43 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