Visit Our UNIX and Linux User Community


Automatic enable for screen lock in vnc

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Automatic enable for screen lock in vnc
# 1  
Old 09-01-2011
Automatic enable for screen lock in vnc

Hello,

I am using Redhat 5.0 OS, i want that the screen or session to be locked if machine is idle for few minutes. I have enabled screensaver lock on my machine and it works for my machine. But i have created vnc server's as well for my machine which i access from my windows machine.

So for my vncsession's it doesn't work. I have to explicitly click on "Lock Session" to enable screen saver with password.

I have set it on my machine using System -> Screen saver properties.

Can any one please help me to achieve this for my vncsessions as well.

thanks
sarbjit
# 2  
Old 09-01-2011
@sarbjit, are you running vnc sessions in full screen mode? screen saver will kick in only if using full screen mode in vnc. So try that and let us know if it worked.
# 3  
Old 09-01-2011
Quote:
Originally Posted by dude2cool
@sarbjit, are you running vnc sessions in full screen mode? screen saver will kick in only if using full screen mode in vnc. So try that and let us know if it worked.
I am not sure what you mean by full screen mode. But yes when i create vnc session, i specify geometry. So i use following command for creating vnc

vncserver -geometry 1300x800 <machinename>:1

Are you referring this geometry to be source of non full screen mode. If yes, is there any other way by which i can get both desired resolution as well as screen saver. Full screen mode comes out to be to big and i dont like to use scroll bars Smilie
# 4  
Old 09-01-2011
hmm not sure if it can be done any other way. Maybe someone else on the forum can advice.

The only other thing I can recommend is try a different vnc client. See if it gives you more options to control your display etc.

Code:
http://www.tightvnc.com/

and the full screen setting I was talking about, look at the below URL. Basically you press f8 when connected through VNC and you get a menu to go to full screen mode.

http://www.redhat.com/magazine/006apr05/features/vnc/

Last edited by dude2cool; 09-01-2011 at 10:58 AM..

Previous Thread | Next Thread
Test Your Knowledge in Computers #49
Difficulty: Easy
A USB hard drive is considered to be a primary storage device for personal computers.
True or False?

10 More Discussions You Might Find Interesting

1. Red Hat

Problem with screen lock

I'm having a weird problem with a RHEL6 workstation. When the screen lock is activated manually the system will lock and the screens will go blank. Once I try to unlock the system, the monitor will just flicker and won't respond. I tried the combination CTRL, ALT, Backspace and it did not work,... (4 Replies)
Discussion started by: goose25
4 Replies

2. Ubuntu

Blank Screen after logoff server via vnc Viewer.

Hello All, I have installed VNC Server on Ubuntu system to access this system from windows machine i'm using VNC Viewer. When i logged off the server from windows machine through VNC Viewer its showing blank screen only... Kindly help. Regards, Purushottam Aher (0 Replies)
Discussion started by: purushottamaher
0 Replies

3. UNIX for Dummies Questions & Answers

Screen Sharing VNC Mac

Hello, I am having some trouble using screen sharing with my Mac. There is a Mac Pro in the lab at my school, and I need to access it via screen sharing from my Macbook Pro from home. Each has Lion. The screen sharing works when I am in the lab and the Mac Pro is on the WiFi network, it also works... (1 Reply)
Discussion started by: Tyler_92
1 Replies

4. Windows & DOS: Issues & Discussions

Screen Lock Captures Desktop

Every time my system kicks into screen lock mode, it first takes a snapshot of the desktop and then uses that as the screen lock background. This wouldn't normally be much of an issue except it's on a sensitive/classified system. Any ideas? (2 Replies)
Discussion started by: scottwevans
2 Replies

5. Red Hat

command line tool to disable screen lock and/or screen saver

Hi, I have a simple question : how to disable screen lock and/or sreen saver with command line with RHEL5.4 ? (1 Reply)
Discussion started by: albator1932
1 Replies

6. IP Networking

automatic enable LAN in FEDORA 10

Hello sir, I have recently installed FEDORA 10. The LAN is default "disabled" every time when when I boot. So I am going to the "Networks" and manually enabling it. :) Can you please tell me how to change the settings so that I can get it automatically enabled when I switch on and boot into... (1 Reply)
Discussion started by: nsharath
1 Replies

7. OS X (Apple)

Please look at this screen shot: How do I remove this lock icon?!

RESOLVED in the screen shot I'd like to remove the lock sandwiched between the spaces indicator and the monitor icon, how do I get rid of it? It locks the screen and I cannot remember how it came to be http://guptaxpn.com/tmp/lock_icon_screenshot.png Thanks for your help! (3 Replies)
Discussion started by: guptaxpn
3 Replies

8. Red Hat

screen lock problem

hi friends i have a small problem,in my redhat enterprise linux system screen lock is not working if i click screen lock no action takes place... so is there any solution to fix this problem or any alternate method available please let me know.... waiting for replys....... thanks... (2 Replies)
Discussion started by: madhusudankh
2 Replies

9. UNIX for Advanced & Expert Users

Lock out screen image

Can anyone explain why the pixmap that I am entering in the Dtsession is not working.. I copied the Dtsession resource file from the /usr directory to /etc/dt/app-config/C. Then I edit the file and replaced Dtlogo with my pixmap: dtsession*lockLabelPixmap.imageName: /path/to/my/pixmap.xpm... (1 Reply)
Discussion started by: rtoba
1 Replies

10. Solaris

Setting Screen Lock Timeout

Hello; I have Solaris 2.6 installed on many Sun AXI Ultra Sparc IIi systems. I want to set the Lock Screen global timeout for all users to 15 minutes. I read the Solaris CDE guide which instructed me to create a /etc/dt/config/C/sys.resources file and changed the timout to 15 minutes in... (1 Reply)
Discussion started by: rambo15
1 Replies

Featured Tech Videos