LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-12-2005, 05:11 PM   #1
RedDwarf
LQ Newbie
 
Registered: Aug 2004
Posts: 25

Rep: Reputation: 15
KDE starts on :0.0 and :0.1, to start only on :0.0 ..?


I have a GeForce connected to the monitor and to the TV. I want the TV only to play videos so I don't want any window manager in it.
By default with Mandrake KDE starts on both screens, and I need help to make it only start in monitor.
X is configured to use a single session with two screens, :0.0 and :0.1.
Looking at startkde script there are two interesting lines:

Quote:
LD_BIND_NOW=true kdeinit +kcminit +knotify
...
kwrapper ksmserver $KDEWM
Looking at help, ksmserver supports "--display" but kdeinit doesn't.
And there are two interesting environtment variables but that I don't know exactly what they do and where are set:
KDE_DISPLAY
KDE_MULTIHEAD
After starting KDE, KDE_MULTIHEAD is set to true and KDE_DISPLAY isn't set. KDE_DISPLAY perhaps is no used anymore on KDE 3.x....but not sure.

I have tried a lot of options with different results, but not a good one. Setting the --display for ksmserver seems to partially work, there are some "kxxx" that are only executed one time, but others like kicker are still executed two times....probably because kdeinit has not specified anywhere the display screen.

Well...all this isn't of much help but if someone has experience with this sitaution or has any idea would be apreciated.

And anyway, someone knows if screen :0.1 can be shutdown temporally in a way I can use the main monitor normally, and activate the second (TV) screen only when I want to watch a video?
 
Old 02-13-2005, 12:36 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
i don't know if this will help or not but the aswer might be in startx/xinit instead of startkde/kdeinit
i think x needs something running on the display for it to stay up
that's why when you close a window manager started with xinit x dies
try somethig like
exec startkde -display 127.0.0.1:0
exec something_else -display 127.0.0.1:1

or something like that
just thinking out loud and have never tried this or even used a dual displayhead setup
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I start a program automatically when KDE starts up? zmaint Linux - Software 8 12-21-2004 04:52 PM
X starts but won't start gnome.... lsmith Linux - General 4 03-02-2004 01:41 PM
X starts but won't start gnome.... lsmith Linux - Newbie 4 02-29-2004 03:24 PM
How to start programs when KDE starts CodeWarrior Linux - Software 5 02-09-2004 04:54 PM
Programs start when KDE starts face_master Linux - Software 1 07-20-2003 01:36 AM


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