LinuxVNCServer multi-user access settings-Linux Enterprise Application-Linux server application information, the following is a detailed description. 1.1 check whether the VNC Server is installed
# Rpm? Q vnc-server
If the version is already installed, the system displays the version information of the VNC Server.
Vnc-server-4.1.2-9.el5
1.2 set to enable the account automatically when VNC Server is started
Modify the/etc/sysconfig/vncservers file as root:
Vim/etc/sysconfig/vncservers
If you want to use the lincao and leiwang accounts to log on to the desktop at a resolution of 1280x1024, set it:
-Alwaysshared indicates that multiple terminals are allowed to log on at the same time, and-depth indicates the color resolution, which can be 8, 16, 24, and 32.
1.3 modify ~ /. Vnc/xstartup File
Vim ~ /. Vnc/xstartup
Remove the # annotator starting with SESSION_MANAGER and exec/etc/X11/xinit/xinitrc, twm & comment out, and change it to kdestart & (log on to J on the KDE Interface)
#! /Bin/sh
# Uncomment the following two lines for normal desktop:
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