Find the answer to your Linux question:
Results 1 to 2 of 2
Hi Dear's I want to enable VNC as per my Knowledge VNC is for remote assistance (Plz correct If am wrong) so how to enable and use it in Redhat-4. ...
  1. #1
    Linux Newbie
    Join Date
    Aug 2008
    Posts
    119

    How to activate VNC in RHEL-4

    Hi Dear's

    I want to enable VNC as per my Knowledge VNC is for remote assistance (Plz correct If am wrong) so how to enable and use it in Redhat-4.

    Thanks in Advance

  2. #2
    Just Joined!
    Join Date
    May 2009
    Posts
    1

    vnc server

    you have to login root user


    [root@mon ~]# vncserver

    New 'mon.test.com:1 (root)' desktop is mon.test.com:1

    Starting applications specified in /root/.vnc/xstartup
    Log file is /root/.vnc/mon.test.com:1.log

    [root@mon~]# vim /root/.vnc/xstartup
    #!/bin/sh

    # Uncomment the following two lines for normal desktop:
    # unset SESSION_MANAGER
    # exec /etc/X11/xinit/xinitrc

    [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
    [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
    xsetroot -solid grey
    vncconfig -iconic &
    xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    twm &

    #------EoL-----------------
    you have to uncomment the 2 line


    unset SESSION_MANAGER
    exec /etc/X11/xinit/xinitrc


    do not change any other
    [root@mon~]#service vncserver restart

    set your passwd
    [root@mon~]#vncpasswd


    then login from your clint system from vnc

    example:
    172.16.2.1:1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...