[CentOS] vncserver on CentOS 7

Jerry Geis

geisj at pagestation.com
Fri Apr 3 18:46:56 UTC 2015


I am trying to setup a centos 7.1 vncserver

I cannot believe they went from a relatively easy process in 6 to the
"crazyness" that is 7.

I did the following:
                yum install tigervnc-server
                cp /lib/systemd/system/vncserver at .service
/etc/systemd/system
                systemctl daemon-reload
                edit /etc/systemd.system/vncserver at .service and replace
<USER> with myuser
                su - myuser run vncpassword to set password
                systemctl enable vncserver at .


Says its enabled:
systemctl list-unit-files | grep vnc
vncserver at .service                          enabled

using another machine to connect gives error about nothing there.

netstat -tuln | grep 5900
gives nothing.

What did I miss?

Thanks,

Jerry



More information about the CentOS mailing list