VNC does not open the interface solution __vnc

Source: Internet
Author: User

#--service vncserver Start
When you open the Vncserver connection, you will find a gray screen with three check boxes above: Accept clipboard from viewers; Send clipboard to viewers; Sendprimary selection to viewers. Gnome's desktop is not shown.
In fact, this requires tweaking the Xstartup script,
VI [/root/].vnc/xstartup
What you see is
#!/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 Grey
Vncconfig-iconic &
Xterm-geometry 80x24+10+10-ls-title "$VNCDESKTOP Desktop" &
TWM &
Modify the following 3 lines:
# unset Session_manager
# EXEC/ETC/X11/XINIT/XINITRC
Remove the previous annotation character ' # ' and change to
Unset Session_manager
Exec/etc/x11/xinit/xinitrc
Comment out the last line and add the following:
TWM &
Amended to
#twm &
Gnome-session &
The Final Document content is:
#!/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 Grey
Vncconfig-iconic &
Xterm-geometry 80x24+10+10-ls-title "$VNCDESKTOP Desktop" &
#twm &
Gnome-session &
Then reboot the VNC server.
Service Vncserver Restart
#---Finally don't forget to set up boot up VNC Server
#--chkconfig Vncserver on

Original from zero technology: http://www.ldisp.com/a/server-manage/2013/1495.shtml

Vnc:virtual Network Computing is an abbreviation for virtual network computers. VNC is an excellent remote control tool software developed by the renowned at&t European Research Laboratory. VNC is a free open source software based on UNIX and Linux operating systems that is powerful and efficient in remote control.

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.