[CentOS] vncserver on CentOS 7

Jerry Geis geisj at pagestation.com
Fri Apr 3 20:39:56 UTC 2015


>You should:

>cp /lib/systemd/system/vncserver at .service <http://lists.centos.org/mailman/listinfo/centos> /lib/systemd/system/vncserver@:#.service

>Where # is the vnc port 590# to open.  Like /lib/systemd/system/vncserver@:4.service to start a vncserver on port 5904.

> Then use `systemctl start vncserver@:4' to start that VNC server.  Remember to edit the /lib/systemd/system/vncserver@:4.service file's <USER> as you did before.

> Emmett



OK - I redid  and used the name vncserver@:0.service

Still not work -


I then used 4 as in your example and it worked.

How do I get port 5900 ?


Thanks,

jerry



More information about the CentOS mailing list