Advertisement

02.28.2008 at 05:29PM PST, ID: 23202604
[x]
Attachment Details

VNC server config

Asked by saisha in VNC Remote Access Software, Red Hat Linux

Tags: ,

Hi All,

I am trying to configure VNC server following instructions below

VNC Server configuration
Setting up VNC server in RHEL or Fedora.
1.      up2date vnc-server (RHEL) or yum install vnc-server (Fedora) if you don't have it installed.

2.      Edit /etc/sysconfig/vncservers as root.

Uncomment the line:

VNCSERVERS="1:put_the_user_you_will_log_in_as_here"

The server will default to the resolution of the machine, so if you are going to connect to a desktop with a high resolution monitor from a laptop you will want to uncomment and set the following line also:

VNCSERVERARGS[1]="-geometry 1024x768"

3.      chkconfig vncserver on

4.      su to the user that you will be logging in as.

5.      Run vncpasswd and set the password.

6.      Now run vncserver. This will create the needed initialization files.

7.      Edit /home/user/.vnc/xstartup and uncomment the two lines there to get a normal desktop when you log in.

8.      Now kill the Xvnc task and delete the lock files in the .vnc directory

9.      service vncserver start (there might be some other lock files you need to delete; I can't remember now - check any error messages here)

10.      Unfirewall 5901 tcp to allow remote connections

11.      Connect from the remote machine using servername:1

To attach to the session that is running on the monitor of the machine - the session of currently logged in local user, use krfb (on the server) and krdc (on the client) for KDE, and vino for Gnome.
---------------------------------------------------------------------------

I am unable to execute step 7:  Edit /home/user/.vnc/xstartup and uncomment the two lines there to get a normal desktop when you log in.

If I go under /home directory - I do not see any thing their. It is blank.

How will I be able to implement step7. I am totally a windows person and newbie to LinuxStart Free Trial
 
Loading Advertisement...
 
[+][-]02.28.2008 at 07:56PM PST, ID: 21010712

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: VNC Remote Access Software, Red Hat Linux
Tags: Redhat Linux, RHEL4 update 5 ES
Sign Up Now!
Solution Provided By: mikelfritz
Participating Experts: 1
Solution Grade: A
 
 
[+][-]02.28.2008 at 08:00PM PST, ID: 21010729

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.28.2008 at 08:04PM PST, ID: 21010747

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.28.2008 at 08:06PM PST, ID: 21010756

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.29.2008 at 10:19AM PST, ID: 21015984

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.29.2008 at 10:34AM PST, ID: 21016148

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.29.2008 at 10:37AM PST, ID: 21016175

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628