Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-23-2006, 06:13 PM   #1
Registered: Feb 2002
Posts: 393

Rep: Reputation: 30
How to get apps to start when Xorg starts?

Hi, I have been struggling to find a way to get a few of my favorite apps to start when Xorg starts.

Predominantly I have focused on the .ixinitrc and .xsession files in my home directory - as these apps need to be started *after* X has started and a Window manager has been loaded.

To this end I made a .xsession file and symlinked .ixinitrc to it. My .xsession file is formated with the following syntax:

idesk &
vncserver &
There is nothing currently else in this file at all.

But (perhaps unsurprisingly to some) this didn't work. Fluxbox starts - but nothing else does - although I can start them all from the command line.

The question is therefore, where did I go wrong and how do I fix it?

Besrt regards,

Old 05-23-2006, 06:25 PM   #2
Registered: May 2006
Posts: 32

Rep: Reputation: 15
Just need a & after fluxbox

fluxbox &
idesk &
vncserver &

otherwise the rest of the programs will not run until fluxbox closes, which of course is too late. Interesting point to note about .xsession, when the last program in the script terminates so does Xwindows. So keep that in mind. For example if you kill the program gkrellm your entire Xwindows session will end.
Old 05-23-2006, 06:54 PM   #3
Registered: Feb 2002
Posts: 393

Original Poster
Rep: Reputation: 30
Thanks!!! Now for some fun!


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
start eterm when X starts tshontikidis Linux - General 10 03-14-2006 06:21 PM
Xorg starts with no errors, but still no GUI... OEP Fedora 1 12-29-2004 04:10 AM
starting apps when fluxbox starts up imagreg Slackware 8 11-23-2004 11:47 PM
ALSA fails after XOrg+KDE starts ERTW Linux - Hardware 1 08-10-2004 09:37 AM
apps exec when x starts snocked Slackware 4 08-07-2003 02:39 AM > Forums > Linux Forums > Linux - Software

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