Article 4YZJD VNC Remote Access - VNC won't start

VNC Remote Access - VNC won't start

by
afclark82
from LinuxQuestions.org on (#4YZJD)
I have the following setup:
- Server: Centos 7.7, with Gnome, & SSH
- Laptop: Windows 10

I am trying to set up tunneling using SSH user to a VNC Viewer. The server has very base set up and I need to be able to set up an FTP and GUI using Gnome. I have been following the link below using Digital Ocean and keep running into error messages.

https://www.digitalocean.com/communi...op-on-centos-7

At the end of Step 6, when the configuration is complete I run sudo systemctl restart vncserver@:4.service on the centos user. The output gives the following error:
Code:Job for vncserver@:4.service failed because a configured resource limit was exceeded. See "systemctl status vncserver@:4.service" and "journalctl -xe" for details.Then the status shows:
Code:vncserver@:4.service - Remote desktop service (VNC)
Loaded: loaded (/etc/systemd/system/vncserver@:4.service; enabled; vendor preset: disabled)
Active: failed (Result: resources) since Thu 2020-02-06 03:26:49 UTC; 1min 58s ago
Process: 6028 ExecStart=/usr/sbin/runuser -l aclark2 -c /usr/bin/vncserver %i (code=exited, status=0/SUCCESS)
Process: 6022 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS)

Feb 06 03:26:45 healportal.novalocal systemd[1]: Starting Remote desktop service (VNC)...
Feb 06 03:26:49 healportal.novalocal systemd[1]: New main PID 6061 does not belong to service, and PID file is not owned by root. Refusing.
Feb 06 03:26:49 healportal.novalocal systemd[1]: New main PID 6061 does not belong to service, and PID file is not owned by root. Refusing.
Feb 06 03:26:49 healportal.novalocal systemd[1]: Failed to start Remote desktop service (VNC).
Feb 06 03:26:49 healportal.novalocal systemd[1]: Unit vncserver@:4.service entered failed state.
Feb 06 03:26:49 healportal.novalocal systemd[1]: vncserver@:4.service failed.Any help you can provide would be greatly appreciated.latest?d=yIl2AUoC8zA latest?i=i9PeazqMmmc:cS8hOzqTIok:F7zBnMy latest?i=i9PeazqMmmc:cS8hOzqTIok:V_sGLiP latest?d=qj6IDK7rITs latest?i=i9PeazqMmmc:cS8hOzqTIok:gIN9vFwi9PeazqMmmc
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