Ubuntu automatically runs VNCserver after logging on to the account
Source: Internet
Author: User
Ubuntu automatically runs VNCserver after logging on to the account. problem: if you restart remote Ubuntu during Remote Desktop, the VNC session becomes invalid. Solution: Use putty to log on to the account of the restarted Ubuntu instance and enable the VNC session. For convenience, you can set the VNC session to automatically run VNCserver after logging on to the account... Ubuntu after logging on to the account. problem: if you restart remote Ubuntu during Remote Desktop, the VNC session will become invalid. Solution: Use putty to log on to the account of the restarted Ubuntu instance and enable the VNC session. For convenience, you can set to automatically start a VNC session after logging on to your account, and set the session number. VNC viewer can maintain the original session connection. Step: go to the/etc/profile. d folder under Ubuntu and create the file ***. sh. the content is vncserver: 5, that is, enable VNC session with session number 5. Note: Any. sh file in the/etc/profile. d folder in the above method is the command file automatically loaded after the system enters the account.
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