LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   ?? Disabling Screesavers on VNC?? (https://www.linuxquestions.org/questions/linux-general-1/disabling-screesavers-on-vnc-222695/)

lemay_jeff 08-26-2004 11:05 AM

?? Disabling Screesavers on VNC??
 
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!

make 08-26-2004 01:00 PM

You could try adding this to $HOME/.vnc/xstartup:

Code:

xset s off
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. ;)

lemay_jeff 08-26-2004 01:31 PM

thanks for the suggestion......I'll give this a shot and see what happens!

lemay_jeff 08-27-2004 09:50 AM

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!

make 08-28-2004 05:25 AM

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").


All times are GMT -5. The time now is 10:49 AM.