20171205

Linode Centos7 / install Desktop and Vncserver

***Desktop***
yum -y update
yum -y groupinstall "GNOME Desktop"
ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
yum -y install epel-release
yum -y update
yum clean all
yum -y groupinstall "X Window system"
yum -y groupinstall "MATE Desktop"
systemctl set-default graphical.target

#安裝 倉頡輸入法 套件
#http://oldgrayduck.blogspot.tw/2016/12/centos7.html
yum -y install ibus-table-chinese-cangjie


***VNCSERVER***
yum -y install tigervnc-server
useradd se
cp /lib/systemd/system/[email protected] /etc/systemd/system/vncserver@:1.service
vi /etc/systemd/system/vncserver@:1.service
  #change -> se

firewall-cmd --permanent --zone=public --add-service vnc-server
firewall-cmd --reload
su se
vncserver
  #set password
su -
systemctl daemon-reload
systemctl enable vncserver@:1.service
reboot
systemctl start vncserver@:1.service

沒有留言: