LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 03-29-2010, 02:55 PM   #1
IM baack!
LQ Newbie
 
Registered: Jul 2009
Posts: 7

Rep: Reputation: 0
Run application before KDM but after X11


How do you run a application at startup before KDM/GDM but after the start of X11?
 
Old 03-29-2010, 03:02 PM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
I'm not sure you can.

One place to look would be in your /etc/rc.local startup files directory.

Another would be your global "XDM init" files (for example, xdm-config or xdm-setup).

These links might help:

http://tldp.org/HOWTO/XDM-Xterm/config.html
http://www.faqs.org/docs/Linux-HOWTO/XDMCP-HOWTO.html
http://ptolemy.eecs.berkeley.edu/~cxh/xdm.html

Good luck .. PSM
 
Old 03-30-2010, 04:01 AM   #3
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
In the kdmrc config file, which is located at /usr/share/config/kdm/kdmrc on my system, I found :
Quote:
# A program to run before the greeter is shown. Can be used to start an
# xconsole or an alternative background generator. Subject to word splitting.
# Default is ""
Setup=/usr/share/config/kdm/Xsetup
# A program to run before a user session starts. Subject to word splitting.
# Default is ""
Startup=/usr/share/config/kdm/Xstartup
# A program to run after a user session exits. Subject to word splitting.
# Default is ""
Reset=/usr/share/config/kdm/Xreset
# The program which is run as the user which logs in. It is supposed to
# interpret the session argument (see SessionsDirs) and start an appropriate
# session according to it. Subject to word splitting.
# Default is "/usr/bin/xterm -ls -T"
Session=/usr/share/config/kdm/Xsession
Xsetup can be any shell script.
Maybe it's what you are looking for.
 
1 members found this post helpful.
Old 03-31-2010, 10:05 AM   #4
IM baack!
LQ Newbie
 
Registered: Jul 2009
Posts: 7

Original Poster
Rep: Reputation: 0
thank you, that works perfectly.
 
  


Reply

Tags
gdm, kdm, x11


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
ssh X11 forwarding of the kdm logon screen? and how to change port 6000? nass Linux - Software 1 04-24-2007 09:19 PM
X11 apply transparancy to an application Oxagast Linux - Software 4 10-08-2006 05:01 PM
Sneaking an application under X11 kav Linux - Software 4 05-20-2006 11:04 AM
remote application X11 forewording not working exodist Linux - Software 7 07-28-2004 09:08 AM
occasional kdm log-out and application closure crashes dizzi Slackware 4 07-15-2004 05:10 AM


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