Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 12-10-2012, 11:55 AM   #1
Registered: Jan 2007
Posts: 40

Rep: Reputation: 1
RHEL5 remote desktop

I'm trying to use the built in RedHat Ent Linux 5 64 bit remote desktop utility on 12 systems. Each system will have various users logging into them randomly at the console. When a user logs in, they can go to System -> Preferences -> remote desktop and modify settings there. Once set, remote desktop works exactly as I want it to.

My question, is there a way to set that functionality via a config file so that each user does not need to manually set the remote desktop settings?

This has nothing to do with covertly monitoring the workstations. It's a lab where a media system will use vncviewer to view the RHEL5 system desktop and to display the desktop onto one of three large screen TV's for the entire class to view. Is there a config file that controls the remote desktop settings?

Any advice would be appreciated. Cheers
Old 12-10-2012, 01:42 PM   #2
Senior Member
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,977
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Take a look in the /etc/sysconfig/vncservers file for configuration.

You may also want to take a look at vinagre as well.

Old 12-10-2012, 03:12 PM   #3
Registered: Jan 2007
Posts: 40

Original Poster
Rep: Reputation: 1
OK, I guess I'm confused. The Linux systems will not be using remote desktop themselves to connect to anything. I have one system that will connect to all 12 of the RHEL5 workstations and be able to display their desktops.

I have that one system setup with vncserver so that it can and does connect to the workstations and displays their desktops via VNC. That connection works but VNCSERVER is not running on the RHEL workstations. Doesn't VNCSERVER need to be running for the settings in /etc/sysconfig/vncservers to be handled?

Maybe I was not clear on what I'm trying to do. No matter what user is logged into the system, I want the following options to automatically be set on each RHEL client.

- Allow other users to view your desktop
- Does NOT have to ask the user for confirmation
- Requires a password to allow to the remote connection.

Right now I can do that by having each individual user go into the Remote Desktop Preferences but I'd rather they did not, and a single config file handle it so that when any user logs on, the above options are already set.

I appreciate the help and thanks for putting up with a VNC newbie.
Old 12-14-2012, 12:26 PM   #4
Registered: Jan 2007
Posts: 40

Original Poster
Rep: Reputation: 1

Thanks to some friends, I ended up using xorg.conf to solve this issue:

In the Screen section:

# Permit VNC access
Option "passwordFile" "/.vnc/passwd"
Option "localhost"
Option "SecurityTypes" "VncAuth"
Option "UserPasswdVerifier" "VncAuth"

In the Module section:

Load "vnc"

Works like a charm!
1 members found this post helpful.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing a linux-distro remote desktop on an already remote debian server... errr? Sabinou Linux - Newbie 2 04-26-2012 05:29 PM
SSH shell disabled + Remote desktop NX (or another remote desktop software) zoltan32 Linux - Software 2 04-12-2011 03:36 AM
want to access RHEL5 bu remote desktop from winxp linuxcountry Linux - Networking 1 06-17-2009 02:32 AM
Remote upgrade from RHEL4 to RHEL5 possible? submoa Linux - Enterprise 4 01-17-2009 10:30 PM
Scripting Remote Logon - Starting Remote Gnome Desktop klmukp Linux - Newbie 1 09-21-2008 12:13 AM > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 07:39 PM.

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