LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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

Reply
 
Search this Thread
Old 08-26-2004, 11:05 AM   #1
lemay_jeff
Member
 
Registered: Mar 2004
Posts: 40

Rep: Reputation: 15
?? 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!
 
Old 08-26-2004, 01:00 PM   #2
make
Member
 
Registered: Apr 2004
Distribution: Mandriva, Ubuntu, openSuSE, FreeBSD, OpenSolaris, PC-BSD
Posts: 185

Rep: Reputation: 30
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.
 
Old 08-26-2004, 01:31 PM   #3
lemay_jeff
Member
 
Registered: Mar 2004
Posts: 40

Original Poster
Rep: Reputation: 15
thanks for the suggestion......I'll give this a shot and see what happens!
 
Old 08-27-2004, 09:50 AM   #4
lemay_jeff
Member
 
Registered: Mar 2004
Posts: 40

Original Poster
Rep: Reputation: 15
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!
 
Old 08-28-2004, 05:25 AM   #5
make
Member
 
Registered: Apr 2004
Distribution: Mandriva, Ubuntu, openSuSE, FreeBSD, OpenSolaris, PC-BSD
Posts: 185

Rep: Reputation: 30
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").

Last edited by make; 08-28-2004 at 05:27 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
need VNC to allow 'logout/login' from Gnome (gnome & VNC runs fine) spudler Linux - Networking 3 11-14-2004 10:02 AM
Disabling xscreensaver for Xfce VNC display tawalker Linux - Software 0 07-16-2004 04:55 PM
Disabling kudzu? vincebs Linux - General 4 11-16-2003 11:27 AM
Disabling multicast BlackBear Linux - Networking 2 06-27-2003 12:17 PM
VNC - Selecting different WindowManagers with VNC cmfarley19 Linux - Software 0 04-16-2003 02:30 PM


All times are GMT -5. The time now is 10:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration