install vnc server
$ sudo yum install tigervnc-server
configure vnc server
$ sudo su
# cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service
edit the configuration to specify the user and set the required geometry
User=steve
ExecStart=/usr/bin/vncserver %i -geometry 2560x1440
# systemctl daemon-reload
set the user's vnc password
# su - steve
# vncpasswd
# exit
launch
# systemctl start vncserver@:1.service
enable for restart
# systemctl enable vncserver@:1.service
No comments:
Post a Comment