First attempt to connect to desktop sharing with password with vnc client fails
Affected version
Debian buster (Stable - up to date - 10.4)
cat /etc/debian_version
10.4
GNOME 3.3X (Cannot find out the version gnome-session --version shows nothing)
Bug summary
I use Debian buster and Gnome Shell and I use the desktop sharing with vnc client (bvnc or multiVNC - both show the same) on an android phone.
Note: At the beginning of using Debian buster desktop sharing didn't work out of the box. Someone (I really can't find a reference anymore) from "a" dev team (mutter, wayland? I don't know, sorry) told me that I need to enable some / a service and socket, which I did. After that connecting to the desktop sharing machine with user confirmation on every connection attempt worked)
I now use desktop sharing with password protection (to automatically be able to connect without confirming every connection request) and this in general works. The first time I want to connect to the buster machine that is sharing its desktop always fails and shows the log entries below.
Can someone help me with that?
Steps to reproduce
I don't know if that happens on every machine, since I modified one or two services and sockets as mentioned above.
I should try this in a VM...
Try to connect to a Debian buster installation using desktop sharing with password protection.
What happened
The client shows a never ending handshake and connection cannot be established. GNOME shows a connected desktop sharing client. The second attempt works if the first connection is disconnected in GNOME. (It seems to be established in GNOME shell)
What did you expect to happen
Desktop sharing clients can connect the first time.
Relevant logs, screenshots, screencasts etc.
Jun 18 13:14:03 tobias-pc systemd[1773]: Started Multimedia Service.
Jun 18 13:14:03 tobias-pc pipewire[8517]: [E][module-protocol-native.c:476 add_socket()] bind() failed with error: Address already in use
Jun 18 13:14:03 tobias-pc pipewire[8517]: [E][module.c:276 pw_module_load()] "/usr/lib/x86_64-linux-gnu/pipewire-0.2/libpipewire-module-protocol-native.so": failed to initialize: Address already in use
Jun 18 13:14:03 tobias-pc pipewire[8517]: [E][main.c:106 main()] failed to run config commands
Jun 18 13:14:03 tobias-pc systemd[1773]: pipewire.service: Main process exited, code=exited, status=255/EXCEPTION
Jun 18 13:14:03 tobias-pc systemd[1773]: pipewire.service: Failed with result 'exit-code'.
Jun 18 13:14:04 tobias-pc systemd[1773]: pipewire.service: Service RestartSec=100ms expired, scheduling restart.
Jun 18 13:14:04 tobias-pc systemd[1773]: pipewire.service: Scheduled restart job, restart counter is at 1.
Jun 18 13:14:04 tobias-pc systemd[1773]: Stopped Multimedia Service.
Jun 18 13:14:04 tobias-pc systemd[1773]: Started Multimedia Service.
Jun 18 13:14:04 tobias-pc rtkit-daemon[983]: Successfully made thread 8522 of process 8521 (n/a) owned by '1000' RT at priority 20.
Jun 18 13:14:04 tobias-pc rtkit-daemon[983]: Supervising 2 threads of 2 processes of 1 users.
Jun 18 13:14:04 tobias-pc pipewire[8521]: [E][v4l2-utils.c:89 spa_v4l2_open()] v4l2: /dev/radio0 is no video capture device
Jun 18 13:14:04 tobias-pc pipewire[8521]: [E][v4l2-utils.c:89 spa_v4l2_open()] v4l2: /dev/vbi0 is no video capture device