Archiv der Kategorie: Linux Howto

THINK UNBLOG GNU/Linux Knowledge Network for Tutorials, Howto’s, Workaround, DevOps Code for Professionals.

could not acquire name on session bus

VNCSERVER could not acquire name on session bus

 If you see this message, then your VNC configuration is incorrect or not complete, in using VNCSERVER session bus.

could not acquire name on session bus

Cause

Use VNCSERVER session bus cause deployment of user environment that not performed automatically during installation process of vncserver.

Solution

See this tutorial here in this blog, it shows the complete installation of vncserver suitable for most known distributions.

VNCSERVER session bus

Virtual Network Computing, or VNC for short, is software that displays the screen contents of a remote computer (server) on a local computer (client) and in return sends keyboard and mouse movements from the local computer to the remote computer. This allows you to work on a remote computer as if you were sitting in front of it. VNC implements the Remote Framebuffer Protocol and can therefore be used platform-independently, unlike other remote maintenance software.

Historical backgrounds

VNC was developed at the Olivetti Research Laboratory (ORL). The research laboratory was founded in 1986 with Andy Hopper as director, acquired by AT&T in 1999 and closed in 2002. The original developers of VNC founded RealVNC in 2002. VNC’s project leader was Andy Harter, and Tristan Richardson created VNC’s architecture and protocols, as well as reference implementations for Unix and Java.

VNC has been published as open source since 1998. The original VNC is available under the GNU General Public License. RealVNC published its basic Remote Framebuffer Protocol in a Request for Comments from March 2011.

There are many forks of VNC that contain various improvements and additional functions, but are largely compatible with the original version and support its network protocol as the “lowest common denominator”. There are implementations for all common operating systems, so VNC is considered platform-independent.

VNCSERVER session bus functionality

VNC works on the client-server model. The server program offers screen output and input options using the mouse and keyboard, which the client program can display and use.

The term virtual in VNC comes from the fact that it can be viewed as a virtual replacement for thin clients.

Linux Mint Automatische Anmeldung deaktivieren

Linux Mint bietet bei der Installation die Wahl, den anschließenden Systemstart mit automatischer Anmeldung zu durchlaufen, möchte man später die Passwort Eingabe wieder aktivieren, lässt sich wie auch bei Ubuntu ab 10.04, die Option in den Einstellungen nicht mehr finden.

In diesem Post wird gezeigt, wie unter Linux Mint 19.1 Tessa und Linux Mint 20 Ulyana, die Benutzeranmeldung mit Passwort nachträglich wieder aktiviert wird.

Erforderlich wurde das abschalten der Automatischen Anmeldung, nach der Feststellung das der Email Client Geary, die Kennworte der Konten nicht speicherte, diese mussten nach jedem Neustart erneut wieder eingegeben werden.

Linux Mint mit Email Client Geary

Ab Linux Mint 19.1 Tessa Cinnamon gibt es die Option Automatische Anmeldung in der Systemsteuerung – Anmeldefenster nicht mehr. Dafür kann nun die Einstellung mit dem Texteditor vorgenommen werden, man öffnet mit CTRL + ALT + T ein Terminal, und gibt folgendes Command ein:

~$ sudo vi /etc/lightdm/lightdm.conf

und entfernen die Zeilen mit dem Inhalt:

autologin-user=user1
autologin-user-timeout=0

 Als Editor kann man natürlich auch nano oder xed verwenden.

Nach einem Neustart und der Anmeldung mit Passwort Eingabe, wird nun die Schlüsselverwaltung im Hintergrund geöffnet, hierdurch es Geary ermöglicht wird, die Passwörter in der Schlüsselverwaltung seahorse abzuspeichern.

Linux Mint 20 Cinnamon Automatische Anmeldung, das Feld Benutzername muss leer sein
Linux Mint 20 Cinnamon – autologin
Änderung von autologin in lightdm.conf
Linux Mint Terminal: cat /etc/lightdm/lightdm.conf

Eine weitere Lösung bietet sich an, die automatische Benutzeranmeldung abzuschalten, durch entfernen des Benutzers im Feld Benutzername, dazu öffnet man Systemeinstellungen und geht zu Anmeldefenster und zum Abschnitt Benutzer.

Linux Mint Automatische Anmeldung, das Feld Benutzername muss leer sein
Anmeldefenster – Benutzer – Automatische Anmeldung – Benutzername leer.

Das Feld Benutzername ist leer = keine automatische Anmeldung.