LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 07-20-2004, 02:29 AM   #1
stting
LQ Newbie
 
Registered: Mar 2003
Location: Bellevue, WA
Posts: 17

Rep: Reputation: 0
X with different config file?


Hello all,

I have been searching around without any success yet. I am wondering if it's possible to specify the config file to be used when starting X with the command startx.

My scenario is as follows. I have one server running on display :0 with the standard config file in the standard location. I want to be able to, from the console, start another server on display :1 with a different config file. I know that

Code:
startx -- :1
will start the new server with the standard config file. Now I want to use a different config file which possibly may be in a different location.

Is this possible?

BTW, I am using slackware current.
 
Old 07-20-2004, 03:52 AM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
After some snooping, yes, I'm sure you can do it. The argument you're looking for is -xf86config

You would use it something like:
Code:
$ startx -- -xf86config <config file> :1
For a regular user, the path to config file must be relative to your current path, and cannot contan ".." references. There is no such restriction for root. I didn't test it myself, but I'm fairly certain it's what you're after
 
Old 07-20-2004, 10:29 AM   #3
stting
LQ Newbie
 
Registered: Mar 2003
Location: Bellevue, WA
Posts: 17

Original Poster
Rep: Reputation: 0
I just tried that with the new config file in my home directory. It kills the current X server and fails to start the new one.

I guess I'll keep looking.
 
Old 07-20-2004, 10:31 AM   #4
stting
LQ Newbie
 
Registered: Mar 2003
Location: Bellevue, WA
Posts: 17

Original Poster
Rep: Reputation: 0
ok...you are right, it _should_ work. The error that popped up was related to something about kde. I'll look more closely at it later.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
WINE - CONFIG File, can't find it to do first config Hero Doug Linux - Software 1 09-06-2005 11:03 AM
I have an XF86 config file for video, how do I turn it into XORG config lowpingnoob Linux - Newbie 18 06-12-2005 12:07 PM
X config tool not creating X config file Pingus Debian 3 05-02-2005 11:49 AM
krfb --config; Format of config file? Need to allow ports below 1024. SavvyPlayer Linux - Software 0 10-16-2004 08:28 PM
Lan Config file / internet config file Raven_X_Neo Linux - Networking 1 10-30-2002 01:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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