Realvnc cannot be connected

Source: Internet
Author: User
Realvnc cannot be connected-Linux general technology-Linux technology and application information. The following is a detailed description. Hello everyone, this is the configuration of my host, but I cannot log on to the client. Please help me to see what caused the problem. Thank you ~~~
[Root @ localhost ~] # Rpm-qa | grep vnc
Vnc-server-4.1.2-14.el5_3.1
[Root @ localhost ~] # Chkconfig -- list | grep vnc
Vncserver 0: Disable 1: Disable 2: Enable 3: Enable 4: Enable 5: Enable 6: Disable

[Root @ localhost ~] # Vi/root/. vnc/xstartup
#! /Bin/sh

# Uncomment the following two lines for normal desktop:

Unset SESSION_MANAGER
Exec/etc/X11/xinit/xinitrc

[-X/etc/vnc/xstartup] & exec/etc/vnc/xstartup
[-R $ HOME/. Xresources] & xrdb $ HOME/. Xresources
Xsetroot-solid gray
Vncconfig-iconic &
Xterm-geometry 80x24 + 10 + 10-ls-title "$ VNCDESKTOP Desktop "&
Twm &
[Root @ localhost ~] # Vi/etc/sysconfig/vncservers
VNCSERVERS = "1: root 2: zhang"
VNCSERVERARGS [1] = "-geometry 800x600-nolisten tcp-nohttpd"
VNCSERVERARGS [2] = "-geometry 800x600-nolisten tcp-nohttpd-localhost"
[Root @ localhost ~] #/Etc/init. d/vncserver start
Start the VNC Server: 1: root
New 'localhost. localdomain: 1 (root) 'desktop is localhost. localdomain: 1

Starting applications specified in/root/. vnc/xstartup
Log file is/root/. vnc/localhost. localdomain: 1.log

2: zhang [failed]
Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.