LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-27-2004, 07:05 PM   #1
Delmarc
Member
 
Registered: Aug 2003
Location: Port Elizabeth, South Africa
Distribution: Mandrake 9.1, Windows XP Pro
Posts: 36

Rep: Reputation: 15
Starting X in command prompt question


Hello

I run Mandrake 9.2 and I have set the boot option so that it does NOT startx automatically. I find it more stable like that and besides, it's useful if I need to log in as root.

Anyway, the catch to this is that from the prompt I can only start x with KDE. Is is possible to start x from the command prompt and have it load a desktop of my choice, like Gnome or Blackbox (I have them all installed)

Thanks!
 
Old 04-27-2004, 07:09 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
startx doesnt work?

xinitrc holds the files to start kdm and Window managers.

actually, just type:
init 5

to go into Xserver status.
 
Old 04-27-2004, 07:14 PM   #3
Delmarc
Member
 
Registered: Aug 2003
Location: Port Elizabeth, South Africa
Distribution: Mandrake 9.1, Windows XP Pro
Posts: 36

Original Poster
Rep: Reputation: 15
Startx DOES work... but it only boots into KDE. I want to know if I can boot into Gnome or another desktop.
 
Old 04-27-2004, 07:18 PM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Edit the [home dir]/.xinitrc file. It chooses which wm to use. If there isn't one, just create one and put in the wm you want (like 'gnome-session' for gnome).
 
Old 04-27-2004, 08:25 PM   #5
Patbuzz86
Member
 
Registered: Mar 2004
Distribution: MDK 9.2
Posts: 92

Rep: Reputation: 15
Yeah i gave up on this same 'dilema' and gave in to starting the xserver on boot because it is kinda nice actually and if you nee to log in as root just press ctrl+alt+{F1,F2,...,F6} (F7 is the xserver) it isnt that hard
 
Old 04-28-2004, 03:50 AM   #6
Qucho
Member
 
Registered: Mar 2004
Location: Colorado, US
Distribution: Debian "Sarge"
Posts: 228

Rep: Reputation: 30
Patbuzz86 got it right. it is very easy to log in a console that way.
Also if you chose the kde logging manager you can chose from there what desktop manager to log in. You get the options to log on anyone.
 
Old 05-10-2004, 03:19 PM   #7
Dankles
Member
 
Registered: May 2004
Location: /dev/null
Distribution: Slackware
Posts: 245

Rep: Reputation: 31
type "xwmconfig" in the prompt so that all is well
its a x winmanager chooser as a default for "startx"
thats the easyer way
 
Old 05-10-2004, 03:28 PM   #8
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
'xwmconfig' is in Slackware only.
 
  


Reply



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
starting x from command prompt maybbach Linux - Software 2 05-03-2005 11:32 AM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 07:14 PM
Another boots into command prompt question Jhorra Mandriva 5 04-03-2004 01:53 AM
How to recall an old command at the command prompt? J_Szucs Linux - Newbie 9 03-07-2003 12:29 AM
starting at the command prompt mbiker Linux - General 4 10-18-2002 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:05 AM.

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