Friday, April 25, 2014

VNC and remove desktop

        VNC [Virtual Network connection]

- VNC stands for Virtual Network connection
- Package name - tigervnc-server
- Service name - vncserver

---------------------------------------------------------------------

        VNC server

# yum install tigetvnc-server -y
# vim /etc/syscionfig/vncservers
          Insert mode
        Shift+G
Uncomment      VNCSERVERS="2:user2 1:user1"            // add users to allow
                :wq
# useradd user1
# useradd user2
# passwd user1
# passwd user2
# su - user1
# vncpasswd        // provide the VNC password
# exit
# su - user2
# vncpasswd        // provide the VNC password
# exit
# service vncserver restart

---------------------------------------------------------------------

        VNC Client

# yum install tigervnc -y
# vncviewer 20.0.0.56:2            // VNC server IP
  Enter VNCpassword

---------------------------------------------------------------------
---------------------------------------------------------------------

        RDC [Remote Desktop Connection]

RDC is similar to RDP in windows

1.    Goto --> System --> Preferences --> Remote Desktop
2.    (tick) Allow other users to view desktop
3.    (tick) Require user to enter password ___________

Goto, Client PC

# yum install tigervnc -y
# vncviewer 20.0.0.56
  Enter password

No comments:

Post a Comment