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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux