LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-20-2020, 07:51 PM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
tightvnc error: Could not acquire name on session bus


I installed tightvncserver version 1.3.10-0ubuntu5 on Ubuntu Mate 20.04 (beta). This is the FIRST time in 20+ years that I have been able to use a VNC program right from the install without some painful researching and tweaking. Well almost. While I have a vncserver running as :1 I am able to connect remotely to it using vinagre on my CentOS 7 workstation. However, if I attempt to logon to the console of the Ubuntu machine I get an error "Could not acquire name on session bus." Conversely if I am logged onto the console of the Ubuntu machine first I get that same error when trying to connect remotely to my tightvnc server at :1. I tried running the tightvnc server at :2 but that did not help.

With other VNC programs (vncserver, vnc4server, tigervncserver) I have always had to deal with a script ~/.vnc/xstrartup which requires some tweaking. This file contains the lines:

unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

I suspect they have something to do with my current issue. However, there is no such script for tightvnc. At least none that I can find. Is there a way to configure tightvnc so that I can connect to the console AND a remote session at the same time? I do not necessarily wish to look at the same desktop. In fact, I would rather the tightvnc establish a separate desktop/session from the console. I can use x11vnc if I wish to SHARE the console desktop.

TIA,

Ken
 
  


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
Unable to launch "cinnamon-session-cinnamon" X session "cinnamon-session-cinnamon" -found; Falling back to default "session." xxxindigo Linux Mint 22 09-01-2019 09:21 AM
Session key renegotiation if session lasts longer than configured (e.g. an hour) then session keys needs to be renegotiated. dakshinya Linux - Newbie 1 02-04-2016 04:15 PM
Dbus System bus and Session bus mainloops deimus Linux - Distributions 0 08-20-2010 06:49 AM
error msg"Coud not acquire name on session bus" always when try to connect Ubuntu vnc ayongying Linux - Newbie 1 03-03-2010 02:42 AM
HAL Failed at boot on Mandrivel 2009.0. Error: Session D-Bus not accessible. HELP! Wendy-G Linux - Newbie 6 02-06-2009 11:34 PM

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

All times are GMT -5. The time now is 08:17 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