Dear all,
- I cannot connect to Server Centos 7 via VNC after power failure. When i start VNC Server, it show this error
# systemctl start vncserver@:1.service
Job for vncserver@:1.service failed because a configured resource limit was exceeded. See "systemctl status vncserver@:1.service" and "journalctl -xe" for details.
- And i check the status of VNC Server, it show:
# systemctl status vncserver@:1.service
● vncserver@:1.service - Remote desktop service (VNC)
Loaded: loaded (/etc/systemd/system/vncserver@:1.service; enabled; vendor preset: disabled)
Active: failed (Result: resources) since Wed 2018-10-10 11:04:07 +07; 6min ago
Process: 4719 ExecStart=/usr/sbin/runuser -l root -c /usr/bin/vncserver %i (code=exited, status=0/SUCCESS)
Process: 4716 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS)
Oct 10 11:04:03 localhost.localdomain systemd[1]: Starting Remote desktop service (VNC)...
Oct 10 11:04:07 localhost.localdomain systemd[1]: PID file /home/root/.vnc/localhost.localdomain:1.pid not readable (yet?) after start.
Oct 10 11:04:07 localhost.localdomain systemd[1]: Failed to start Remote desktop service (VNC).
Oct 10 11:04:07 localhost.localdomain systemd[1]: Unit vncserver@:1.service entered failed state.
Oct 10 11:04:07 localhost.localdomain systemd[1]: vncserver@:1.service failed.
Please help me.
Thanks
Khoi.
Cannot start VNC Server after power failure
Re: Cannot start VNC Server after power failure
First, I've never used VNC.
Does /home/root/.vnc/localhost.localdomain exist? If so, what's the content, you may also try to rename it.
Does /home/root/.vnc/localhost.localdomain exist? If so, what's the content, you may also try to rename it.
Re: Cannot start VNC Server after power failure
Using vnc as root sounds like a recipe for disaster anyway. Perhaps you should be glad it's stopping you from doing it!
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Cannot start VNC Server after power failure
Don't vnc as root.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke