Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-27-2009, 03:55 AM   #1
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,506

Rep: Reputation: 100Reputation: 100
Start FC10 in runlevel 3, and than MANUALLY start X - how?

Hi Guys

I've posted about this before (a few months ago) but no luck.

I want to start my FC10 install in runlevel 3, and then do "startx" to start X - I don't want to boot in runlevel 5 and have X started automatically each time.

The reason for this is that I do sometimes do raytracing with PovRay, and I do not want all the extra CPU cycles and RAM go to waste for running X / a GUI, while I'm not using the system or NEED to use a GUI. I want all CPU cycles and RAM to go toward the raytracing process.

Additionally, I do not want to have to reboot into runlevel 3 each time I just need a 80x25 text interface to start povray up for a maximum performance rendering session.

This approach worked fine in FC6.


In FC10, booting in runlevel 3 and then doing startx does start X up - but then it goes nowhere. I have the "X" on a crosshatched background, and then the KDM login screen comes up. I type my username and password, but then everything just freezes. No KDE startup graphic is displayed, and the cursor just sits there. I can do nothing with the system, I can only press CTRL-BACKSPACE to stop X, upon which the system drops back to 80x25 text (which is what it is supposed to do...)

I. e. somewhere the manual "startx" script is missing many (hundreds?) of scripted statements to start KDE on FC10.

How can I "hook up" the FC10 "startx" so it behaves like a normal Runlevel 5 boot (i. e. correctly starts KDE)??

I know there must be a script somewhere that starts KDE up (in runlevel 5) - how can I trigger this script from inside the "startx" script??

Any replies or ideas appreciated.

Old 05-27-2009, 06:46 AM   #2
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
You should add the command 'startkde' to your ~/.xinitrc file. I hope it helps.
Old 05-27-2009, 07:22 AM   #3
Senior Member
Registered: Jun 2008
Posts: 1,796

Rep: Reputation: 213Reputation: 213Reputation: 213
If you try this what happens...

After you first boot directly to runlevel 5 and use a terminal as root to type "init 3", stopping X and bringing you to the console mode, can you as root type "startx", then "init 5" and return to the desktop? In short, does the command "startx" work in other circumstances?

Last edited by thorkelljarl; 05-27-2009 at 07:32 AM.


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
How to start my cronjob manually? xpucto Linux - Newbie 19 04-06-2015 09:41 AM
[SOLVED] Im getting ready to install fc10 to my ps3 WHAT DO I NEED BEFORE I START ghostface3690 Fedora 6 05-01-2011 07:38 PM
samba refuses to start on startup, but will start manually pepsimachine15 Linux - Software 8 04-20-2009 11:03 AM
fc10 x fails to start when monitor turned off gfem Fedora 1 02-12-2009 05:53 PM
start in runlevel 5 Jessii Linux - Newbie 6 10-27-2005 03:08 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:52 AM.

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