2017-9-8-linux VNC Server Open & graphical interface display

Source: Internet
Author: User
Tags tightvnc linux mint

Before there is a write Raspberry Pi 3B How to only use a network cable VNC remote blog, which is written in a relatively rough (in fact, it is a long time did not make me also forget how to pretend, according to the original look should be able to remember), so re-create in the new environment to build a VNC server.

Original Blog Address: http://blog.sina.com.cn/s/blog_74a54ab80102x7le.html

Installation steps?:

1, first there is a Linux mint installed a broken notebook, do not look down;

Take a look at the Linux Mint version (Linux Mint 18.1 Cinnamon 32-bit);

? Linux Mint supports the use of Vino software to open VNC server directly, but it is not possible to learn how to install the VNC server.

2, first sudo apt-get install tightvncserver;vncpasswd; (enter 8-byte password Tianzhao)?

Tightvncserver after installation The direct remote interface is black, probably because it is not configured, or it may not be possible to use Tightvncserver.

3, first look at using Putty ' Can you control Linux mint? ' Linux side configuration sshd failed, putty configuration failed.?

4, or return to understand the VNC how to unlock mint!!! How to load the desktop!

5. Start again:?

Installation steps:??

1, sudo apt-get install vnc4server?

2, vnc4server//start the VNC server, the next boot requires a reboot?

vncpasswd//set the VNC password?, the next time you open the server does not need to set up???

Vnc4server-kill:1//Can I end a VNC service in progress?

3. Gedit/home/user/.vnc/xstartup//Open. vnc/xstartup file and edit it?

The file will look like this:?

#!/bin/sh# uncomment the following and the 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?

vnccon**-iconic &?

X-terminal-emulator-geometry 80x24+10+10-ls-title "$VNCDESKTOP Desktop" &x-window-manager &

Uncomment the lines starting with unset and exec, commenting the lines that begin with Xsetroot,vnccon**,xterm and TWM. After the change, it looks like this:?

#!/bin/sh# uncomment the following and the 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?

#vnccon * *-iconic &?

X-terminal-emulator-geometry 80x24+10+10-ls-title "$VNCDESKTOP Desktop" &x-window-manager &

7. sudo chmod 755/etc/x11/xinit/xinitrc//Modify the license of the/ETC/X11/XINIT/XINITRC file to make it executable

8. If the login appears

Could not acquire Name on Session Bus

This is because you are already logged on to GNOME and a user of course cannot log on to 2 gnome

There are 2 workarounds:

1. Log out of your front gnome//ctrl+alt+f1~f6 to command mode, but you may encounter the embarrassment of pressing ALT+F7 back to the GUI, and entering startx in command mode may work.

2. Join in ~/.vnc/xstartup

unset dbus_session_bus_address//Note must be behind another unset.

PS: Take the time to see the difference between TightVNC and Vnc4server, tightvnc whether to achieve the remote mint, because the Raspberry Pi is used TightVNC.

2017-9-8-linux VNC Server Open & graphical interface display

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.