Re: Detecting X at logon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



William Estrada wrote:
Joe,

 This is what init 5 is for. Add your programs to /etc/rc.d/rc5.d/.
Files that start with S are started when entering init 5 level.
Add something like 'S99My_Stuff'.

There are problems with this. First of all, the OP wanted the programs to start when he logged in, not when the system starts. Second, this is not the way initscripts should be set up. If you are interested, I can point you to the documentation on initscripts.

You are also going to run into problems with X security. The programs are not going to be able to connect to the X server when started this way. The programs would be trying to run while the display manager is running - in other words, while the login screen is being displayed. You would want them to run while the window manager or desktop is running. (Even programs started by a user's cron job can not normally connect to the X server.)

Mikkel
--

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux