could not acquire name on session bus by simultaneous login by XDMCP and keyboard

Bug #1894356 reported by Ryutaroh Matsumoto
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Light Display Manager
New
Undecided
Unassigned
lightdm (Debian)
Confirmed
Unknown
lightdm (Ubuntu)
New
Undecided
Unassigned

Bug Description

This symptom is observed with Ubuntu Mate 20.04.

1. Create /etc/lightdm/lightdm.conf.d/10-xdmcp.conf as

[XDMCPServer]
enabled=true

and restart lightdm.

2. Login as a normal user from keyboard.

3. Login as the same user as 2 from XDMCP gives
"Could not acquire name on session bus"
and I cannot login from XDMCP.
Without Step 2, XDMCP login succeeds.

The same symptom is reported at
https://github.com/neutrinolabs/xrdp/issues/1559#issuecomment-623977001
which recommends removal of "dbus-user-session" Ubuntu package.

I worked around the above issue by putting
"unset DBUS_SESSION_BUS_ADDRESS"
in /etc/X11/Xsession.d/

The same issue is also reported at
https://bugs.launchpad.net/ubuntu-mate/+bug/1769353

Norbert (nrbrtx)
tags: added: focal
Changed in lightdm (Debian):
status: Unknown → Confirmed
Norbert (nrbrtx)
tags: added: hirsute impish
tags: removed: ubuntu
no longer affects: ubuntu-mate
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.