After upgrade/update no longer able to establish a connection through VNC.
This document (7009718) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Desktop 11 SP1
A LAN trace will show that the TCP connection is established but is then immediately terminated by the server.
In both cases you will need to edit the following file (as the root user) using vi, or gedit, or whatever editor you prefer:
Once you have the file open for editing locate the section for "service vnc1". It should look similar to this:
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -noreset -inetd -once -from localhost -query localhost -geometry 1024x768 -depth 16
type = UNLISTED
port = 5901
do one of the following to the entries in "server_args":
1. Change "-from localhost" to "-from 127.0.0.1".
2. Remove the "-from localhost" parameter completely.
Repeat the change for "service vnc2" and "service vnc3" then save the file.
Finally, restart the xinetd service so that the change will be recognized by running the command "rcxinetd restart" and try the VNC connection again.
This Support Knowledgebase provides a valuable tool for 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:7009718
- Creation Date: 09-Nov-2011
- Modified Date:03-Mar-2020
- SUSE Linux Enterprise Desktop
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: firstname.lastname@example.org