LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-07-2020, 07:00 PM   #1
kmkocot
Member
 
Registered: Dec 2007
Location: Tuscaloosa, AL
Posts: 126

Rep: Reputation: 15
Trying to configure VNC on Ubuntu 18 for remote desktop


Hi all,

I'm trying to configure VNC on an Ubunut 18 workstion for remote desktop following this approach:
https://www.digitalocean.com/communi...n-ubuntu-18-04

I'm having trouble starting the vnc server because of a pulseaudio(?) issue, but I do not care about having audio. Any suggestions for how I can bypass this error to specify I don't need / want audio?

Code:
wirenia@wirenia:~$ sudo systemctl start vncserver@1
Job for vncserver@1.service failed because a timeout was exceeded.
See "systemctl status vncserver@1.service" and "journalctl -xe" for details.
Code:
wirenia@wirenia:~$ journalctl -xe
Apr 07 18:55:27 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Activating service name='org.g
Apr 07 18:55:27 wirenia pulseaudio[22253]: [pulseaudio] pid.c: Stale PID file, overwriting.
Apr 07 18:55:27 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Activating service name='org.f
Apr 07 18:55:27 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Activating service name='org.g
Apr 07 18:55:27 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Activated service 'org.gnome.z
Apr 07 18:55:27 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Successfully activated service
Apr 07 18:55:27 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Activating service name='org.f
Apr 07 18:55:27 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Successfully activated service
Apr 07 18:55:27 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Successfully activated service
Apr 07 18:55:27 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Activating service name='org.f
Apr 07 18:55:27 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Successfully activated service
Apr 07 18:55:27 wirenia org.freedesktop.portal.Documents[22212]: fuse: failed to open mountpoint for re
Apr 07 18:55:27 wirenia org.freedesktop.portal.Documents[22212]: error: fuse init failed: Can't mount f
Apr 07 18:55:27 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Successfully activated service
Apr 07 18:55:27 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Successfully activated service
Apr 07 18:55:27 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Activating service name='org.f
Apr 07 18:55:27 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Successfully activated service
Apr 07 18:55:27 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Activating service name='org.g
Apr 07 18:55:27 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Successfully activated service
Apr 07 18:55:27 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Successfully activated service
Apr 07 18:55:27 wirenia org.gnome.zeitgeist.Engine[22212]: [23:55:27.469667 WARNING] zeitgeist-daemon.v
Apr 07 18:55:27 wirenia org.gnome.zeitgeist.Engine[22212]: [23:55:27.469901 WARNING] zeitgeist-daemon.v
Apr 07 18:55:27 wirenia org.gnome.zeitgeist.Engine[22212]: [23:55:27.470368 CRITICAL] file ext-fts.c: l
Apr 07 18:55:27 wirenia org.gnome.zeitgeist.Engine[22212]: [23:55:27.486728 WARNING] zeitgeist-daemon.v
Apr 07 18:55:27 wirenia zeitgeist-datah[22427]: zeitgeist-datahub.vala:227: Unable to get name "org.gno
Apr 07 18:55:29 wirenia pkexec[22531]: wirenia: Error executing command as another user: Not authorized
Apr 07 18:55:29 wirenia rtkit-daemon[1619]: Supervising 2 threads of 1 processes of 1 users.
Apr 07 18:55:29 wirenia rtkit-daemon[1619]: Supervising 2 threads of 1 processes of 1 users.
Apr 07 18:55:29 wirenia rtkit-daemon[1619]: Supervising 2 threads of 1 processes of 1 users.
Apr 07 18:55:29 wirenia rtkit-daemon[1619]: Supervising 2 threads of 1 processes of 1 users.
Apr 07 18:55:29 wirenia rtkit-daemon[1619]: Supervising 2 threads of 1 processes of 1 users.
Apr 07 18:55:29 wirenia dbus-daemon[1265]: [system] Activating via systemd: service name='org.bluez' un
Apr 07 18:55:29 wirenia pulseaudio[22253]: [pulseaudio] module-x11-bell.c: XkbQueryExtension() failed
Apr 07 18:55:29 wirenia pulseaudio[22253]: [pulseaudio] module.c: Failed to load module "module-x11-bel
Apr 07 18:55:52 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Activating service name='org.g
Apr 07 18:55:52 wirenia gnome-screensav[22542]: Couldn't get presence status: The name org.gnome.Sessio
Apr 07 18:55:52 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Successfully activated service
Apr 07 18:55:54 wirenia dbus-daemon[1265]: [system] Failed to activate service 'org.bluez': timed out (
Apr 07 18:55:54 wirenia pulseaudio[22253]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.
Apr 07 18:56:26 wirenia org.freedesktop.Notifications[22212]: org.kde.knotifications: WaitForName: Serv
Apr 07 18:56:26 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Activated service 'org.freedes
Apr 07 18:56:55 wirenia systemd[1]: vncserver@1.service: Start operation timed out. Terminating.
Apr 07 18:56:55 wirenia pulseaudio[22253]: [pulseaudio] module-x11-publish.c: PulseAudio information va
Apr 07 18:56:55 wirenia kernel: xfce4-panel[22228]: segfault at e4 ip 00007f03f5f78680 sp 00007ffd9e13b
Apr 07 18:56:55 wirenia kernel: Code: 66 2e 0f 1f 84 00 00 00 00 00 48 63 f6 48 c1 e6 07 48 03 b7 e8 00
Apr 07 18:56:55 wirenia org.gnome.zeitgeist.Engine[22212]: [23:56:55.862192 WARNING] zeitgeist-daemon.v
Apr 07 18:56:58 wirenia systemd[1]: vncserver@1.service: Failed with result 'timeout'.
Apr 07 18:56:58 wirenia systemd[1]: Failed to start Start TightVNC server at startup.
-- Subject: Unit vncserver@1.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- Unit vncserver@1.service has failed.
-- 
-- The result is RESULT.
Apr 07 18:56:58 wirenia sudo[22175]: pam_unix(sudo:session): session closed for user root
Code:
wirenia@wirenia:~$ systemctl status vncserver@1.service
● vncserver@1.service - Start TightVNC server at startup
   Loaded: loaded (/etc/systemd/system/vncserver@.service; indirect; vendor preset: enabled)
   Active: failed (Result: timeout) since Tue 2020-04-07 18:56:58 CDT; 3min 1s ago
  Process: 22184 ExecStart=/usr/bin/vncserver -depth 24 -geometry 800x600 :1 (code=exited, status=0/SUC
  Process: 22178 ExecStartPre=/usr/bin/vncserver -kill :1 > /dev/null 2>&1 (code=exited, status=0/SUCCE

Apr 07 18:55:52 wirenia gnome-screensav[22542]: Couldn't get presence status: The name org.gnome.Sessio
Apr 07 18:55:52 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Successfully activated service
Apr 07 18:55:54 wirenia pulseaudio[22253]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.
Apr 07 18:56:26 wirenia org.freedesktop.Notifications[22212]: org.kde.knotifications: WaitForName: Serv
Apr 07 18:56:26 wirenia dbus-daemon[22212]: [session uid=1000 pid=22210] Activated service 'org.freedes
Apr 07 18:56:55 wirenia systemd[1]: vncserver@1.service: Start operation timed out. Terminating.
Apr 07 18:56:55 wirenia pulseaudio[22253]: [pulseaudio] module-x11-publish.c: PulseAudio information va
Apr 07 18:56:55 wirenia org.gnome.zeitgeist.Engine[22212]: [23:56:55.862192 WARNING] zeitgeist-daemon.v
Apr 07 18:56:58 wirenia systemd[1]: vncserver@1.service: Failed with result 'timeout'.
Apr 07 18:56:58 wirenia systemd[1]: Failed to start Start TightVNC server at startup.
Thank you!
Kevin
 
Old 04-08-2020, 08:05 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
I'm running x11vnc as the VNC server on my remote computers (Ubuntu-Mate 18.04 and Fedora 31). I don't have a clue as to the pluses and minuses of the various servers, but after a week of googling and clueless fumbling, this was by far the easiest to get up and running. No sound, but I can deal with that.
 
  


Reply



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
remote desktop / vnc to ubuntu server suprstar Linux - Server 2 03-13-2012 11:10 PM
rhel4 vnc problem, where to configure GUI vnc server? hocheetiong Linux - Newbie 1 10-24-2007 06:05 AM
How to configure the Ubuntu remote desktop function to work as a "normal" VNC server? lawrence_lee_lee Linux - Software 1 09-18-2007 03:42 AM
trying to remote to vnc server through vnc client on XP. Kilahchris Linux - Newbie 3 11-22-2006 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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