| View previous topic :: View next topic |
| Author |
Message |
Q-collective Advocate


Joined: 22 Mar 2004 Posts: 2071
|
Posted: Fri Dec 11, 2020 7:27 am Post subject: Wayland on Gentoo not supported in Zoom? |
|
|
Slight clickbaity, but I apparently can't share my desktop in Zoom. I'm on Wayland in Gnome. As soon as I try to share my screen, I get a big fat warning saying that Zoom specifically supports Wayland on Gnome with Ubuntu 17 or above, Fedora 25 or above, Debian 9 or above, CentOS 8 or above, OpenSUSE Leap 15 or above, Oracle Linux 8 or above, RHEL 8 or above, Arch, AnterGos, Manjaro... But not Gentoo. "If your OS is not on the list, please use X11".
Is there a way to force this? I kinda not want to install X11 anymore. |
|
| Back to top |
|
 |
Banana Moderator


Joined: 21 May 2004 Posts: 1548 Location: Germany
|
|
| Back to top |
|
 |
Etal Veteran


Joined: 15 Jul 2005 Posts: 1931
|
Posted: Fri Dec 11, 2020 2:06 pm Post subject: |
|
|
| I guess the other way is to figure out how it determines the distro. The standard is now /etc/os-release - try to run it under strace and see if it accesses that file or if it tries to execute some commands. |
|
| Back to top |
|
 |
f1tz Tux's lil' helper

Joined: 27 Aug 2020 Posts: 88
|
|
| Back to top |
|
 |
dmpogo Advocate

Joined: 02 Sep 2004 Posts: 3286 Location: Canada
|
Posted: Mon Dec 14, 2020 5:10 pm Post subject: |
|
|
| I thought zoom has 'wayland' USE flag, what does it do ? |
|
| Back to top |
|
 |
Q-collective Advocate


Joined: 22 Mar 2004 Posts: 2071
|
Posted: Tue Dec 15, 2020 12:30 am Post subject: |
|
|
| Etal wrote: | | I guess the other way is to figure out how it determines the distro. The standard is now /etc/os-release - try to run it under strace and see if it accesses that file or if it tries to execute some commands. |
This was exactly it, lol. I just changed the os-release to be that of Ubuntu 18.04 and tada, it worked...
Is it problematic if I keep it like this?  |
|
| Back to top |
|
 |
Banana Moderator


Joined: 21 May 2004 Posts: 1548 Location: Germany
|
|
| Back to top |
|
 |
asturm Developer

Joined: 05 Apr 2007 Posts: 9014
|
Posted: Tue Dec 15, 2020 1:27 pm Post subject: |
|
|
| Q-collective wrote: | Is it problematic if I keep it like this?  |
It can break any package building with cmake because it checks these files to determine the distro libdir paths.
Needless to say, what a ridiculous thing to do for a package. |
|
| Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 22148
|
Posted: Sat Dec 19, 2020 12:41 am Post subject: |
|
|
| If you need to keep this override in place to placate Zoom, and you need to use packages that need the true value, you may be able to satisfy both by running Zoom in a chroot or a mount namespace. For the latter, you would revert /etc/os-release to its true value, and store a new file /etc/ubuntu-os-release with the lie that Zoom requires. Then, to run Zoom, you unshare the mount (and user) namespaces, mount --bind /etc/ubuntu-os-release /etc/os-release, exec zoom. This is simplified, but should get you started in your research. If you want to pursue this and need help, please ask. |
|
| Back to top |
|
 |
ulm Developer

Joined: 04 Oct 2004 Posts: 98 Location: Mainz, Germany
|
Posted: Sun Feb 21, 2021 9:34 pm Post subject: |
|
|
Could someone test if the following works?
- Install sys-apps/bubblewrap
- Save the following snippet as ~/os-release:
| Code: | PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
ID=debian |
Start zoom with the command:
| Code: | | $ bwrap --dev-bind / / --ro-bind ~/os-release /etc/os-release /usr/bin/zoom |
If it does, I could add it to the wrapper script in the net-im/zoom ebuild. |
|
| Back to top |
|
 |
bugalo n00b

Joined: 05 Jul 2015 Posts: 38
|
Posted: Wed Mar 10, 2021 4:20 pm Post subject: |
|
|
| ulm wrote: | Could someone test if the following works?
- Install sys-apps/bubblewrap
- Save the following snippet as ~/os-release:
| Code: | PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
ID=debian |
- Start zoom with the command:
| Code: | | $ bwrap --dev-bind / / --ro-bind ~/os-release /etc/os-release /usr/bin/zoom |
If it does, I could add it to the wrapper script in the net-im/zoom ebuild. |
I confirm, this workaround does work. |
|
| Back to top |
|
 |
|