Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-03-2005, 04:18 AM   #1
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Rep: Reputation: 30
pass "startx" argument while running runlevel 5?

I use Fedora 4 and runlevel 5 (X11 starts by default). However i'd like to edit a file and pass an argument to startx, so that everytime X starts automatically -i'd like to continue using runlevel 5- it uses this argument.
Is there a way to do this?
Old 07-03-2005, 09:26 AM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
I very much doubt that the startx script (which starts an X session from the console) will be called when you enter runlevel 5. It's much more likely to start the X server and pass control to some varient of xdm.

Runlevel control is held in /etc/inittab, although you may find that the X service is started from a script in somewhere like /etc/rc.d/rc5.d/ (at least, I think that's where Fedora keeps it).

Perhaps if you said which option you wanted to pass it would be easier to help you.
Old 07-03-2005, 09:29 AM   #3
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 260Reputation: 260Reputation: 260
startx -- :2

startx -- :<display#>


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Failed to set up write combining range" error when running startx jbryanj Linux - Software 1 10-24-2005 05:23 PM
User "list" running process "python" TroelsSmit Linux - Newbie 2 02-22-2005 04:55 AM
running "startx -- -depth 16" from a graphical login crm Linux - Software 4 11-15-2004 07:43 PM
How to start KDE automaticlly without typing "startx" then "startkde" Jonescity Slackware 8 10-29-2004 09:32 PM
I can't logon with the "user" and "pass"! bseven Linux - Newbie 5 11-08-2002 01:45 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:51 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
Open Source Consulting | Domain Registration