Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running Debian on a VM and xscreensaver won't run unless I manually start it. I have it set to run under System -> Preferences -> Startup Applications and I added it to /etc/rc.local, but no dice. /var/log/messages and /var/log/syslog don't show any errors.
Any suggestions? Not a major issue, but I just want to know why it won't start.
Why would it not work being in Startup Applications?
What is your desktop/Window Manager ? I suspect some desktops ignore .xsession/.xinitrc. I rarely use desktops, I have very little experience with gnome2/gnome3 so I cannot comment, but KDE has a method of starting apps when invoked, but I do not remember how to set it.
If using a window manager best to add it to .xsession/.xinitrc. But, if using fluxbox, you can add it to ~/.fluxbox/startup instead.
If you are using a desktop environment, such as KDE or Gnome, look for an item called "Startup Applications" in the "control center" or "system settings" area. You should be able to add it there.
If you are using a desktop environment, such as KDE or Gnome, look for an item called "Startup Applications" in the "control center" or "system settings" area. You should be able to add it there.
Hey Frankbell,
Not sure if you saw it, but I put in my original post that I did put it in Startup Applications, but it still doesn't start. Thanks anyway.
Instead of putting xscreensaver in the startup applications item, put xscreensaver-demo (that's the configuration dialog) in there. When xscreensaver-demo starts, it should pop a dialog to the effect that "The xscreensaver daemon is not running. Do you want to start it now?" Click "Yes" and close the windows.
Instead of putting xscreensaver in the startup applications item, put xscreensaver-demo (that's the configuration dialog) in there. When xscreensaver-demo starts, it should pop a dialog to the effect that "The xscreensaver daemon is not running. Do you want to start it now?" Click "Yes" and close the windows.
Try that and report back on what happens.
Frankbell,
Thank you. That would work but it still requires manually starting Xscreensaver. I can always drop to a terminal window and run /usr/bin/xscreensaver &. I'm trying to avoid having to manually start it. I also don't get why it requires me to do this; it's already in startup applications - shouldn't that be enough?
I also don't get why it requires me to do this; it's already in startup applications - shouldn't that be enough?
Yes.
If you want to dig deeper, here's a thought: make sure that xsceensaver is in startup applications, exit and restart the GUI. Then check the logs in /var/log.
I'd suggest particularly checking /var/log/messages and /var/log/Xorg.0.log. You might want to do that using the less command (for example, less /var/log/messages) so you can navigate back and forth through them.
I can't promise you'll turn up something, but you might. Also, there might be other suspects to interrogate, but those are the ones I'd start with.
If you want to dig deeper, here's a thought: make sure that xsceensaver is in startup applications, exit and restart the GUI. Then check the logs in /var/log.
I'd suggest particularly checking /var/log/messages and /var/log/Xorg.0.log. You might want to do that using the less command (for example, less /var/log/messages) so you can navigate back and forth through them.
I can't promise you'll turn up something, but you might. Also, there might be other suspects to interrogate, but those are the ones I'd start with.
Thanks, Frankbell.
Actually, I already looked in /var/log recursively but didn't come up with anything. I love less, by the way, it rocks over more (less really is more!)
I do have it working on another system so I can comb through the config files on that system and see if I can figure out what I tweaked to get it to work. Since I installed that system about a year ago I couldn't find it in the history files.
Still can't figure out why it doesn't work with just startup applications, but I'll manage. Thanks for the tip.
Part of the problem is that these systems originally had the (lame) Gnome-screensaver installed, and these problems happened after replacing it with (the much better) Xscreensaver. Not a huge problem, but it's frustrating that something so seemingly simple takes up this much time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.