Page 1 of 1

Tigervnc in CentoOS not working.

Posted: 2020/02/13 20:18:25
by tallpr24
Tigervnc in CentoOS not working.
i get the following error when i try to start it.

service failed because a configured resource limit was exceeded. See "systemctl status vncserver@:1.service" and "journalctl -xe" for details.





here is a copy of my /et[Unit]

Description=Remote desktop service (VNC)

After=syslog.target network.target



[Service]

Type=forking



# Clean any existing files in /tmp/.X11-unix environment

Type=forking

ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'

ExecStart=/sbin/runuser -l root -c "/usr/bin/vncserver %i -geometry 1280x1024"

PIDFile=/home/root/.vnc/%H%i.pid

ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'







c/systemd/system/vncserver@:1.service"



I'm I missing something?

Re: Tigervnc in CentoOS not working.

Posted: 2020/02/13 20:55:20
by lightman47
Been a long time but I learned there was a setup file that not only needed editing, but following the instructions included in the comments at the top. I seem to remember copying the edited file to a specific place ... you have to read the instructions.

THEN, as I recall, there was (on the target machine) allowing Screen Sharing and Remote login under the "Sharing" in Settings. I don't remember if any reboots were required.

As I mentioned, it was years ago (CentOS 7) that I did this. Sorry I can't be more helpful.

Re: Tigervnc in CentoOS not working.

Posted: 2020/02/13 22:24:35
by TrevorH
See "systemctl status vncserver@:1.service" and "journalctl -xe" for details.
That.

Re: Tigervnc in CentoOS not working.

Posted: 2020/02/14 02:02:41
by tallpr24
were do i find allowing Screen Sharing and Remote login under the "Sharing" in Settings. ?

Re: Tigervnc in CentoOS not working.

Posted: 2020/02/14 12:11:46
by lightman47
Sorry - forgot to mention I am running Gnome.

Re: Tigervnc in CentoOS not working.

Posted: 2020/02/14 13:05:02
by TrevorH
Did you run the commands it suggested yet? The ones I quoted back to you? They are the first step in diagnosing the problem so if you ran them and didn't understand the output then you need to post it here. Also, step 1 will be to create a password file using the vncpasswd command for the user in question and that is something you need to do manually.