Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Hello all.....A question about screensavers and VNC.....we would like to disable screensavers for VNC sessions, as some people leave them open and it is using up CPU cycles.....I am aware of how to disable screen blanking and screensavers on an individual machine, but I wasn't sure if this worked the same way for remote sessions....(VNC) This is for Redhat 9.....thanks!
However, I'm not entirely sure, whether it disables the KDE screensaver. But something you could try. Add that line as the first command, right after #!/bin/sh-line and before the window manager (like KDE) is launched by VNC.
And if you haven't already done so, I recommend using some light WM for VNC, like IceWM. Takes much, much less memory running in the background than heavy KDE. Just a hint.
Well, this suggestion didn't end up working.....I can VNC into the box and run the xset commands manually, but putting it in my xstartup didn't do the trick.....does anyone have any other suggestions ? I will also look into the WM solution, but just curious if anyone else has run into this problem before?!?!? thanks!
Actually I think the easiest solution might be NOT using KDE for the VNC-displays. You could switch to IceWM, Fluxbox, XFCE, etc. like I suggested. On the main screen KDE could still be used.
This was my way to solve it - KDE can keep its screensavers, since on displays 1 - 5 IceWM is running and will not activate the KDE-screensaver. Plus I save lots of memory, when there aren't several instances of KDE running.
IceWM or any other WM can be set for VNC by editing that same $HOME/.vnc/xstartup and adding the corresponding line (eg. "icewm-session").
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.