How to manually start x11vnc and start it with the system

Source: Internet
Author: User
Tags x11vnc
X11vnc how to manually start and with the system self-START 1, manually start x11vnc: www.2cto.com press the combination key CTRL + ALT + T open the terminal, enter: sudo/usr/bin/x11vnc-display: 0-auth/var/run/lightdm/root/: 0-forever-bg-o/var/l... how to manually start x11vnc and start it with the system? 1. manually start x11vnc: www.2cto.com and press CTRL + ALT + T to open the terminal. enter sudo/usr/bin/x11vnc-display: 0-auth/var/run/lightdm/root/: 0-forever-bg-o/var/log/x11vnc. log-rfbauth/etc/x11vnc. pass-rfbport 5900 2. set boot start: 1.1 ensure that x11vnc is installed. If no installation is available, run the following command on the terminal: s Udo apt-get install vino vinagre x11vnc 1.2 sets the password used for remote desktop logon. after setting the password, press enter to save it ~ /. Vnc/passwd file, "~ /"Is the root directory of your current user, for example:/home/liushijian/sudo x11vnc-storepasswd www.2cto.com 1.3 set the password storage location for x11vnc universal sudo x11vnc-storepasswd. pass 1.4 copies the passwd file in the user directory to/etc/x11vnc. sudo cp/home/liushijian/under pass /. vnc/passwd/etc/x11vnc. pass 1.5 configure x11vnc to create a new file/etc/init/x11vnc for automatic startup following the system. conf sudo vi/etc/init/x11vnc. conf 1.6 press the I key to enter the editing mode, paste the following content, and save and exit: start on login-session-start script x11vnc-displa Y: 0-auth/var/run/lightdm/root/: 0-forever-bg-o/var/log/x11vnc. log-rfbauth/etc/x11vnc. pass-rfbport 5900 end script port number (5900) can be customized.
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.