Enable VNC Password Authentication
This document (7004096) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Server 11 (SLES 11)
SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Desktop 10
On the remote system open a terminal window and "su" to become the root user (if not already logged in as root) then enter the command:
Enter the passwords as prompted. The first one for full remote access and the second for read-only access. This will create and store the passwords in the file "/root/.vnc/passwd".
Open YaST and select Network Services-->Network Services (xinetd). Scroll down the list to the "vnc1" selection and click on it then click on the "Edit" button.
Change the "User:" selection to "root" (the default setting is "nobody").
Add the following text to the end of the "Server Arguments" line. Be sure to include a space between the last entry and this new argument:
Connect from the VNC viewer and you should now be asked for the vnc password prior to viewing the session login.
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7004096
- Creation Date:04-AUG-09
- Modified Date:27-APR-12
- SUSESUSE Linux Enterprise DesktopSUSE Linux Enterprise Server