librepods icon indicating copy to clipboard operation
librepods copied to clipboard

QLocalSocket: Connection refused, missing CAP_NET_ADMIN permission and "kvantum" is not installed

Open mariusdamm opened this issue 1 month ago • 5 comments

Hi guys,

I wanted to use librepods on my OmarchyOS system. For the ones that live on the moon and don't know it: It is an Arch Fork. I did exactly what is written in the linux/README.md.

  • installed the requirements
  • cloned the repository
  • went into linux/build
  • cmake ..
  • make -j $(nproc)
  • ./librepods

Then i get this output and the process does not return:

build main ✅ ./librepods
qt.bluetooth.bluez: Missing CAP_NET_ADMIN permission. Cannot determine whether a found address is of random or public type.
librepods:  Initializing LibrePods 
librepods:  PulseAudio controller initialized 
librepods:  Ear detection behavior is already set to:  0 
librepods:  AirPodsTrayApp initialized 
QQmlApplicationEngine failed to load component
qrc:/linux/Main.qml: module "kvantum" is not installed

After pressing Ctrl + C the process returned and I tried again:

build main ☠️ ./librepods
librepods:  Another instance already running! Opening App Window Instead 
librepods:  Failed to connect to the original app instance. Assuming it is not running. 
librepods:  Socket error:  "QLocalSocket::connectToServer: Connection refused" 
qt.bluetooth.bluez: Missing CAP_NET_ADMIN permission. Cannot determine whether a found address is of random or public type.
librepods:  Initializing LibrePods 
librepods:  PulseAudio controller initialized 
librepods:  Ear detection behavior is already set to:  0 
librepods:  AirPodsTrayApp initialized 
QQmlApplicationEngine failed to load component
qrc:/linux/Main.qml: module "kvantum" is not installed

I tried to install kvantum but it still doesn't work. Please help me.

mariusdamm avatar Nov 19 '25 10:11 mariusdamm

Not sure why that's happening. Do other QT apps work for you? Anyway, I'd suggest having a look at #241.

kavishdevar avatar Nov 19 '25 15:11 kavishdevar

you need to run sudo setcap 'cap_net_admin=eip' $(which librepods) to add cap.

NgoHuy avatar Nov 19 '25 16:11 NgoHuy

I have another problem, QBluetoothSocket cannot find service. Not sure what happened. librepods: Socket error: QBluetoothSocket::SocketError::ServiceNotFoundError , "Service cannot be found"

NgoHuy avatar Nov 19 '25 17:11 NgoHuy

Hi guys,

I wanted to use librepods on my OmarchyOS system. For the ones that live on the moon and don't know it: It is an Arch Fork. I did exactly what is written in the linux/README.md.

  • installed the requirements
  • cloned the repository
  • went into linux/build
  • cmake ..
  • make -j $(nproc)
  • ./librepods

Then i get this output and the process does not return:

build main ✅ ./librepods
qt.bluetooth.bluez: Missing CAP_NET_ADMIN permission. Cannot determine whether a found address is of random or public type.
librepods:  Initializing LibrePods 
librepods:  PulseAudio controller initialized 
librepods:  Ear detection behavior is already set to:  0 
librepods:  AirPodsTrayApp initialized 
QQmlApplicationEngine failed to load component
qrc:/linux/Main.qml: module "kvantum" is not installed

After pressing Ctrl + C the process returned and I tried again:

build main ☠️ ./librepods
librepods:  Another instance already running! Opening App Window Instead 
librepods:  Failed to connect to the original app instance. Assuming it is not running. 
librepods:  Socket error:  "QLocalSocket::connectToServer: Connection refused" 
qt.bluetooth.bluez: Missing CAP_NET_ADMIN permission. Cannot determine whether a found address is of random or public type.
librepods:  Initializing LibrePods 
librepods:  PulseAudio controller initialized 
librepods:  Ear detection behavior is already set to:  0 
librepods:  AirPodsTrayApp initialized 
QQmlApplicationEngine failed to load component
qrc:/linux/Main.qml: module "kvantum" is not installed

I tried to install kvantum but it still doesn't work. Please help me.

Try and see if #291 helps in anyway, as far as i know Omarchy is sort of more productive re-skin of hyprland and underneath thigs should still be the same.

Lodvald avatar Nov 20 '25 13:11 Lodvald

Hi @mariusdamm, please have a look at #241. You can download the latest builds from Actions for the rewrite.

kavishdevar avatar Nov 20 '25 20:11 kavishdevar