Configuration of connecting vnc to Linux-Linux Enterprise Application-Linux server application information. The following is a detailed description. After three days, the remote connection to the vnc is able to display the desktop properly. I will not talk about installation here. Now linux comes with it. I have installed it, but I have not downloaded it.
Can I use rpm? Q vnc-server command to check whether the system has installed the vnc service.
Configuration:
The default X-Windows VNC service is TWM. The interface is ugly or cannot be correctly displayed. In this case, you only need to modify the vncserer command in/usr/bin/, find $ defaultXStartup in the command line, and modify the following content to the following:
$ DefaultXStartup
= ("#! /Bin/sh ".
"# Uncomment the following two lines for normal desktop :".
The content does not need to be modified. You only need to add or remove "#" before the command line. In linux's footsteps, "#" indicates that the statement is not executed, that is why I did not find out clearly. I have made a lot of effort and must pay attention to the details.
Common commands:
Vncserver-start the vnc server. After it is started, you will be asked to enter the vnc connection password
/Etc/init. d/vncserver status-check the status of vnc
/Etc/init. d/vncserver retatus-restart the vnc Server
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.