Bug #16414
onionshare-gui does not start in VirtualBox (with VBoxVGA and 3D acceration enabled)
0%
Description
Name of the affected software
-----------------------------
onionshare-gui
Exact steps to reproduce the error
----------------------------------
Start terminal
Type onionshare-gui + ENTER
Actual result and description of the error
------------------------------------------
Traceback (most recent call last):
File "/usr/bin/onionshare-gui", line 21, in <module>
import onionshare_gui
File "/usr/lib/python3/dist-packages/onionshare_gui/__init__.py", line 20, in <module>
from .onionshare_gui import *
File "/usr/lib/python3/dist-packages/onionshare_gui/onionshare_gui.py", line 22, in <module>
from PyQt5 import QtCore, QtWidgets, QtGui
ImportError: libGL.so.1: failed to map segment from shared object
Desired result
--------------
Show OnionShare window.
Works with VBoxSVGA and VMSVGA when 3D acceration is enabled but for some reason not VBoxVGA.
Se also https://github.com/micahflee/onionshare/issues/891
Tested with tails-amd64-3.12.iso in VirtualBox 6.0.
Related issues
History
#1 Updated by mercedes508 17 days ago
- Assignee set to scootergrisen
Why don't you just start onionshare from the application menu?
#2 Updated by scootergrisen 16 days ago
OnionShare in the application menu runs onionshare-gui.
The .desktop file says:
Exec=/usr/bin/onionshare-gui
If i select OnionShare in the application menu i see this with "sudo dmesg":
[ 879.075447] audit: type=1400 audit(1549231684.431:39): apparmor="DENIED" operation="file_mmap" profile="/usr/bin/onionshare-gui" name="/usr/lib/VBoxOGL.so" pid=11415 comm="onionshare-gui" requested_mask="m" denied_mask="m" fsuid=1000 ouid=0
#4 Updated by scootergrisen 16 days ago
If you got some ideas on what i could try to get closed to what the problem might be i could try that in the mean time.
#5 Updated by intrigeri 15 days ago
- Subject changed from onionshare-gui dont want to start in VirtualBox (with VBoxVGA and 3D acceration enabled) to onionshare-gui does not start in VirtualBox (with VBoxVGA and 3D acceration enabled)
- Status changed from New to Confirmed
- Assignee changed from scootergrisen to intrigeri
- Target version set to Tails_3.13
This seems to be a bug in the AppArmor profile we ship. It seems it's been upstreamed but is not shipped in the Debian package yet (see #11929#note-15) so let's fix it on our side for now. I'll check if the problem is in an abstraction.
#6 Updated by intrigeri 15 days ago
- Related to Feature #11929: Upstream AppArmor profiles for Onionshare added
#7 Updated by intrigeri 15 days ago
- Blocks Feature #15507: Core work 2019Q1: Foundations Team added
#10 Updated by intrigeri 4 days ago
- Related to deleted (Feature #11929: Upstream AppArmor profiles for Onionshare)