[GH-ISSUE #1235] Ubuntu 18.04 "Qt: Session management error: Could not open network socket" #994

Open
opened 2026-05-05 07:21:44 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @bt-1919 on GitHub (Jul 29, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1235

Describe the bug
I am trying to use an Ubuntu 18.04 machine as a server and a Win10 machine as a client. When I start barrier from the terminal, I get the following errors:

Qt: Session management error: Could not open network socket

*** WARNING *** The program 'barrier' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.

*** WARNING *** Please fix your application to use the native API of Avahi!

*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>

Desktop (please complete the following information):

  • OS: Ubuntu 18.04
  • Barrier version 2.3.3

Additional context

Using W10 server and Ubuntu client works perfectly

Originally created by @bt-1919 on GitHub (Jul 29, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1235 **Describe the bug** I am trying to use an Ubuntu 18.04 machine as a server and a Win10 machine as a client. When I start barrier from the terminal, I get the following errors: `Qt: Session management error: Could not open network socket` `*** WARNING *** The program 'barrier' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.` `*** WARNING *** Please fix your application to use the native API of Avahi!` `*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>` **Desktop (please complete the following information):** - OS: Ubuntu 18.04 - Barrier version 2.3.3 **Additional context** Using W10 server and Ubuntu client works perfectly
Author
Owner

@cimere commented on GitHub (Aug 10, 2021):

The same happens to me with Ubuntu 20.04.2 LTS as a server.

<!-- gh-comment-id:895981319 --> @cimere commented on GitHub (Aug 10, 2021): The same happens to me with Ubuntu 20.04.2 LTS as a server.
Author
Owner

@vhbeltramini commented on GitHub (Oct 1, 2021):

Same thing here

<!-- gh-comment-id:932428124 --> @vhbeltramini commented on GitHub (Oct 1, 2021): Same thing here
Author
Owner

@xin-Dream commented on GitHub (Apr 17, 2022):

我已解决了这个问题
I have solved this problem

rm -rf ~/snap/barrier/common/.cache
fc-cache -r
barrier
<!-- gh-comment-id:1100879288 --> @xin-Dream commented on GitHub (Apr 17, 2022): 我已解决了这个问题 I have solved this problem ``` rm -rf ~/snap/barrier/common/.cache fc-cache -r barrier ```
Author
Owner

@Fengzi21 commented on GitHub (Jan 15, 2023):

I tried version 2.4.0 with Ubuntu 20.04 but failed with the same problem. So I downgraded back to version 2.3.3 on all my devices (Ubuntu 20.04, Thinkpad, MacBook Pro), and it just works fine.

<!-- gh-comment-id:1383072425 --> @Fengzi21 commented on GitHub (Jan 15, 2023): I tried version 2.4.0 with Ubuntu 20.04 but failed with the same problem. So I downgraded back to version 2.3.3 on all my devices (Ubuntu 20.04, Thinkpad, MacBook Pro), and it just works fine.
Author
Owner

@ThePythonDev commented on GitHub (Jul 29, 2024):

Same thing happening on Ubuntu 18 (client)
Qt: Session management error: Could not open network socket
And a Raspi 4 as server

Both server and client barrier versions are installed with flatpak

<!-- gh-comment-id:2256523490 --> @ThePythonDev commented on GitHub (Jul 29, 2024): Same thing happening on Ubuntu 18 (client) Qt: Session management error: Could not open network socket And a Raspi 4 as server Both server and client barrier versions are installed with flatpak
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#994
No description provided.