标签:emd over ini tigervnc code restart emc lis user
1小时入门tigervnc# install
yum install -y tigervnc tigervnc-server
chkconfig tigervnc on
/etc/init.d/tigervnc start
# vi /etc/sysconfig/vncservers
VNCSERVERS="1:usera 2:userb"
VNCSERVERARGS[1]="-geometry 1440x1080 -nolisten tcp -AcceptCutText=0 -SendCutText=0 -AllowOverride=0"
VNCSERVERARGS[2]="-geometry 1440x1080 -nolisten tcp -AcceptCutText=0 -SendCutText=0 -AllowOverride=0"
# install
yum install -y tigervnc tigervnc-server
systemctl enable vncserver && systemctl restart vncserver
# config
cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service
# vi /etc/systemd/system/vncserver@:1.service
43 ExecStart=/usr/sbin/runuser -l <root> -c "/usr/bin/vncserver %i -geometry 1440x1080 -nolisten tcp -AcceptCutText=0 -SendCutText=0 -AllowOverride=0"
44 PIDFile=/<root>/.vnc/%H%i.pid
systemctl daemon-reload
标签:emd over ini tigervnc code restart emc lis user
原文地址:https://blog.51cto.com/justinit/2471389