LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

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

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?
Thanks
 
Old 07-03-2005, 09:26 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 65
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
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
Example:
startx -- :2

startx -- :<display#>
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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"...help! bseven Linux - Newbie 5 11-08-2002 01:45 PM


All times are GMT -5. The time now is 02:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration