Tigervnc in CentoOS not working.

Issues related to applications and software problems
Post Reply
tallpr24
Posts: 4
Joined: 2020/02/10 12:06:46

Tigervnc in CentoOS not working.

Post by tallpr24 » 2020/02/13 20:18:25

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?

lightman47
Posts: 1044
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: Tigervnc in CentoOS not working.

Post by lightman47 » 2020/02/13 20:55:20

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.
Remember - importing/building packages will likely "byte you in the butt" come update time, long after you'd forgotten you did that! Use repos whenever possible.

User avatar
TrevorH
Forum Moderator
Posts: 27647
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Tigervnc in CentoOS not working.

Post by TrevorH » 2020/02/13 22:24:35

See "systemctl status vncserver@:1.service" and "journalctl -xe" for details.
That.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

tallpr24
Posts: 4
Joined: 2020/02/10 12:06:46

Re: Tigervnc in CentoOS not working.

Post by tallpr24 » 2020/02/14 02:02:41

were do i find allowing Screen Sharing and Remote login under the "Sharing" in Settings. ?

lightman47
Posts: 1044
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: Tigervnc in CentoOS not working.

Post by lightman47 » 2020/02/14 12:11:46

Sorry - forgot to mention I am running Gnome.
Remember - importing/building packages will likely "byte you in the butt" come update time, long after you'd forgotten you did that! Use repos whenever possible.

User avatar
TrevorH
Forum Moderator
Posts: 27647
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Tigervnc in CentoOS not working.

Post by TrevorH » 2020/02/14 13:05:02

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.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - Software Support”