rustdesk icon indicating copy to clipboard operation
rustdesk copied to clipboard

Doesn't work without pulseaudio on Pop OS 22.04

Open eitch opened this issue 3 years ago • 12 comments

The debian package does not install on PopOS 22.04 due to it not using pulseaudio.

...

It would be awesome if you could support the alternative too.

...

Debian package from the website.


eitch avatar May 19 '22 10:05 eitch

Well, I have to admit pipewire is the future since Ubuntu want to migrate to pipewire and many distros like it and I hope rustdesk can do that as well.

dnet890 avatar May 21 '22 14:05 dnet890

Noted, Thanks

rustdesk avatar May 22 '22 04:05 rustdesk

@rustdesk Pulseaudio can't be installed as well:

$ sudo apt install pulseaudio
Please touch the device.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 pop-desktop : Conflicts: pulseaudio
               Recommends: io.elementary.sideload but it is not installable
               Conflicts: pulseaudio:i386
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

eitch avatar May 23 '22 04:05 eitch

Can confirm pipewire is replacing pulseaudio in all major debian/ubuntu based distro's.

realzombiegeek avatar Jun 02 '22 22:06 realzombiegeek

Pipewire has a Pulse compatibility layer which is what I use on Arch. See if you have a package called pipewire-pulse or similar.

gerdesj avatar Jun 10 '22 15:06 gerdesj

This would probably be the solution, but the debian package needs to reference pipewire-pulse as an alternative, and not have a hard dependency on pulseaudio

eitch avatar Jun 13 '22 11:06 eitch

ok, so repackaging allows me to install and then run rustdesk:

$ mkdir -p newpack oldpack/DEBIAN
$ dpkg-deb -x rustdesk-1.1.9.deb oldpack
$ dpkg-deb -e rustdesk-1.1.9.deb oldpack/DEBIAN/

# modify control
$ sed -i "s/pulseaudio/pulseaudio | pipewire-pulse/g" oldpack/DEBIAN/control

$ dpkg-deb -Z xz -b oldpack newpack
sudo dpkg -i newpack/rustdesk_1.1.9_amd64.deb

eitch avatar Jun 13 '22 12:06 eitch

https://github.com/rustdesk/doc.rustdesk.com/issues/41#issuecomment-1163882048

rustdesk avatar Jun 23 '22 03:06 rustdesk

Great workaround. But when will this be fixed in the official download? Also when will devs submit this to default repos of major distros (Ubuntu, PopOS, Arch, Fedora, etc)?

ZeddieXX avatar Sep 01 '22 04:09 ZeddieXX

This is also became an issue on Debian Testing as of today, as pipewire is replacing pulseaudio, and removing rustdesk due to unsatisfied requirements.

koutheir avatar Sep 29 '22 02:09 koutheir

Try out nightly build, pulseaudio dep removed

https://github.com/rustdesk/rustdesk/releases/tag/nightly

rustdesk avatar Nov 10 '22 23:11 rustdesk

ok, so repackaging allows me to install and then run rustdesk:

$ mkdir -p newpack oldpack/DEBIAN
$ dpkg-deb -x rustdesk-1.1.9.deb oldpack
$ dpkg-deb -e rustdesk-1.1.9.deb oldpack/DEBIAN/

# modify control
$ sed -i "s/pulseaudio/pulseaudio | pipewire-pulse/g" oldpack/DEBIAN/control

$ dpkg-deb -Z xz -b oldpack newpack
sudo dpkg -i newpack/rustdesk_1.1.9_amd64.deb

This worked for me and another guy I know. If you want to use the current release, this steps work and don't actually change anything other than the depends on the installer.

rmiddle avatar Nov 13 '22 14:11 rmiddle

So how can i avoid the "Child process exited with code 100" error in layman's terms? Just copy these commands into terminal? https://github.com/rustdesk/rustdesk/issues/559#issuecomment-1312749660

got here from https://github.com/rustdesk/rustdesk/issues/1589

TailsTyler avatar Dec 29 '22 01:12 TailsTyler

https://github.com/rustdesk/rustdesk/issues/3203

rustdesk avatar Apr 11 '23 08:04 rustdesk