2015年8月6日 星期四

VNC Server on SUSE Linux Enterprise Server (SLES) 11

1. Installation of the software

  • Ensure you are logged in as 'root'
  • # yast2 -i tightvnc

2. Configure display and passwords

  • Log in as the user who wants to own the VNC session
    • # vncserver
      • Optional switches :
        • -geometry [insert resolution]
        • -depth [insert color depth]
        • -name [insert desktop name]
        • :[insert display #]
        • -kill :[insert display #]
    • Input password as requested
    • Example :
    • # vncserver -geometry 1024x768 -depth 16 -name remote-desktop :2
  • Repeat for each VNC user as necessary

3. Change VNC passwords

  • Log in as the user who wants the password changed
  • # vncpasswd

4. Display VNC configuration

  • # less /etc/xinetd.d/vnc