LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-28-2020, 05:57 PM   #1
louisb
Member
 
Registered: Aug 2003
Posts: 199

Rep: Reputation: 15
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
 
Old 03-29-2020, 11:28 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,692

Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
looks like it is disabled. which vnc is it? (realvnc, tightvnc, ....)
 
Old 03-29-2020, 12:21 PM   #3
louisb
Member
 
Registered: Aug 2003
Posts: 199

Original Poster
Rep: Reputation: 15
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
 
Old 03-30-2020, 01:07 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,692

Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
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....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VNC Remote Access - VNC won't start afclark82 Linux - Server 5 02-06-2020 04:52 PM
VNC viewer showing black screen. unable to connect VNC server remotely on the server? cyberdome Linux - Server 1 08-01-2014 08:21 AM
Issue with vnc server "tightVNC: VNC server closed connection", due to Screensaver frenchn00b General 1 07-30-2009 06:55 AM
VNC Over SSH | Linux laptop -> Linux SSH Server -> Windows VNC Server jakestaby Linux - Networking 3 01-28-2009 02:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration