Article 5PQMF centos 7 vnc server will not start

centos 7 vnc server will not start

by
tonj
from LinuxQuestions.org on (#5PQMF)
running centos 7 and I start the vmc service with:
systemctl start vncserver@:1.sevice
this has always worked in the past but for some reason the service will not start. I've nbeen trawling google for ages but nothing works.
this is what I get with journalctl -f when I try to start vnc:
Code:Sep 19 17:36:44 pi3-proxy.svr polkitd[648]: Registered Authentication Agent for unix-process:9108:77863640 (system bus name :1.3335 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Sep 19 17:36:44 pi3-proxy.svr systemd[1]: Starting Remote desktop service (VNC)...
Sep 19 17:36:44 pi3-proxy.svr systemd[1]: Started Remote desktop service (VNC).
Sep 19 17:36:44 pi3-proxy.svr polkitd[648]: Unregistered Authentication Agent for unix-process:9108:77863640 (system bus name :1.3335, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Sep 19 17:36:44 pi3-proxy.svr vncserver_wrapper[9118]: runuser: user <USER> does not exist
Sep 19 17:36:44 pi3-proxy.svr vncserver_wrapper[9118]: FATAL: 'runuser -l <USER>' failed!
Sep 19 17:36:44 pi3-proxy.svr systemd[1]: vncserver@:1.sevice.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Sep 19 17:36:44 pi3-proxy.svr systemd[1]: Unit vncserver@:1.sevice.service entered failed state.
Sep 19 17:36:44 pi3-proxy.svr systemd[1]: vncserver@:1.sevice.service failed.I don't understand why vnc will not start so thanks for any help.latest?d=yIl2AUoC8zA latest?i=_oAA2CpzUpU:zV1y0H5dCrU:F7zBnMy latest?i=_oAA2CpzUpU:zV1y0H5dCrU:V_sGLiP latest?d=qj6IDK7rITs latest?i=_oAA2CpzUpU:zV1y0H5dCrU:gIN9vFw_oAA2CpzUpU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments