LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   VNC Server will not start (https://www.linuxquestions.org/questions/linux-software-2/vnc-server-will-not-start-4175672153/)

louisb 03-28-2020 05:57 PM

VNC Server will not start
 
I'm trying to run VNC Server on CENTOS 7.

I had not problems installing the software however, I am having problem getting the VNC service to start. I'm getting the following errors below:

From CENTOS 7 system logs:

spice-vdagent
Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0


spice-streaming-agent
Failed to open the streaming device "/dev/virtio-ports/org.spice-space.stream.0": 2 - No such file or directory

journalctl -ex output:
-- Subject: Unit fprintd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
--
-- Unit fprintd.service has begun starting up.
Mar 28 18:30:09 PowerEdge-T300.cscd.internel dbus[1176]: [system] Successfully activated service 'net.reactivated.Fprint'
Mar 28 18:30:09 PowerEdge-T300.cscd.internel systemd[1]: Started Fingerprint Authentication Daemon.
-- Subject: Unit fprintd.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman.../systemd-devel
--
-- Unit fprintd.service has finished starting up.
--
-- The start-up result is done.
Mar 28 18:30:09 PowerEdge-T300.cscd.internel gnome-shell[19901]: STACK_OP_ADD: window 0x2200001 already in stack
Mar 28 18:30:09 PowerEdge-T300.cscd.internel gnome-shell[19901]: STACK_OP_ADD: window 0x2200001 already in stack
Mar 28 18:30:10 PowerEdge-T300.cscd.internel xulrunner[20324]: g_slice_set_config: assertion 'sys_page_size == 0' failed
Mar 28 18:30:10 PowerEdge-T300.cscd.internel gnome-shell[19901]: GNOME Shell started at Sat Mar 28 2020 18:30:07 GMT-0400 (EDT)
Mar 28 18:30:10 PowerEdge-T300.cscd.internel gnome-software[20209]: not GsPlugin error from plugin repos g-key-file-error-quark:1: Key file con
Mar 28 18:30:10 PowerEdge-T300.cscd.internel gnome-software[20209]: enabled plugins: desktop-categories, fwupd, os-release, packagekit-local, p
Mar 28 18:30:10 PowerEdge-T300.cscd.internel gnome-software[20209]: disabled plugins: dpkg, dummy, fedora-pkgdb-collections, epiphany, repos
Mar 28 18:30:12 PowerEdge-T300.cscd.internel telepathy-haze[20001]: Exiting
Mar 28 18:30:13 PowerEdge-T300.cscd.internel xulrunner[20831]: g_slice_set_config: assertion 'sys_page_size == 0' failed
lines 2356-2378/2378 (END)

systemctl status vncserver@:1 output:
vncserver@:1.service - Remote desktop service (VNC)
Loaded: loaded (/etc/systemd/system/vncserver@:1.service; disabled; vendor preset: disabled)
Active: failed (Result: resources) since Sat 2020-03-28 18:33:44 EDT; 53s ago
Process: 21121 ExecStart=/sbin/runuser -l louis -c /usr/bin/vncserver %i -geometry 1280x1024 (code=exited, status=0/SUCCESS)
Process: 21115 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS)

Mar 28 18:33:30 PowerEdge-T300.cscd.internel systemd[1]: Starting Remote desktop service (VNC)...
Mar 28 18:33:44 PowerEdge-T300.cscd.internel systemd[1]: Can't open PID file /home/louis/.vnc/PowerEdge-T300.cscd.internel:1.pid (yet?) after start: No such file or directory
Mar 28 18:33:44 PowerEdge-T300.cscd.internel systemd[1]: Failed to start Remote desktop service (VNC).
Mar 28 18:33:44 PowerEdge-T300.cscd.internel systemd[1]: Unit vncserver@:1.service entered failed state.
Mar 28 18:33:44 PowerEdge-T300.cscd.internel systemd[1]: vncserver@:1.service failed.

What could I be doing wrong that is not allowing the VNC Service to start.

Thanks

pan64 03-29-2020 11:28 AM

looks like it is disabled. which vnc is it? (realvnc, tightvnc, ....)

louisb 03-29-2020 12:21 PM

It's TigerVNC, you mention that it appeared to be disabled. I've made changes to the configuration and get the errors when I try to start it.

Any ideas why this is occurring.

Thanks

pan64 03-30-2020 01:07 AM

unfortunately I'm not really familiar with tigerVNC, but especially RealVNC wanted to create an account [free] in order to work... That was quite annoying....


All times are GMT -5. The time now is 12:18 PM.