archlinux.whatsapp-nativefier icon indicating copy to clipboard operation
archlinux.whatsapp-nativefier copied to clipboard

Can't run the program after installing from AUR - permissions denied

Open assapir opened this issue 1 year ago • 4 comments

❯ /opt/whatsapp-nativefier/WhatsApp
zsh: permission denied: /opt/whatsapp-nativefier/WhatsApp

This doesn't seem to be related to WhatsApp only, but also happens when trying to use ms-outlook-nativefier

assapir avatar Sep 13 '23 06:09 assapir

Update: it seems like the problem is that the containing folder (/opt/whatsapp-nativefier) is created with 0700 permissions instead of 0755?

assapir avatar Sep 14 '23 05:09 assapir

same here, it says:

no root: zsh: permission denied: whatsapp-nativefier

with root: whatsapp-nativefier  1 ✘ [0915/155400.844265:FATAL:electron_main_delegate.cc(294)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. [1] 85100 trace trap sudo whatsapp-nativefier

yahya-mohammed07 avatar Sep 15 '23 12:09 yahya-mohammed07

i managed to run it using sudo whatsapp-nativefier --no-sandbox --disable-gpu --wayland
but i got empty white screen loop and this error:

[47452:0920/110344.895762:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [47452:0920/110344.896182:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [47452:0920/110344.955274:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [47452:0920/110344.965398:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [47452:0920/110344.969153:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [47452:0920/110344.992887:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type: Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

[47478:0920/110346.019063:ERROR:angle_platform_impl.cc(43)] DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1 ERR: DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1 [47478:0920/110346.019199:ERROR:angle_platform_impl.cc(43)] Display.cpp:1023 (initialize): ANGLE Display::initialize error 12289: Not initialized. ERR: Display.cpp:1023 (initialize): ANGLE Display::initialize error 12289: Not initialized. [47478:0920/110346.019258:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Not initialized. [47478:0920/110346.019316:ERROR:gl_display.cc(790)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED [47478:0920/110346.019382:ERROR:gl_display.cc(824)] Initialization of all EGL display types failed. [47478:0920/110346.019437:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed. Authorization required, but no authorization protocol specified

[47478:0920/110346.020474:ERROR:angle_platform_impl.cc(43)] DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1 ERR: DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1 [47478:0920/110346.020549:ERROR:angle_platform_impl.cc(43)] Display.cpp:1023 (initialize): ANGLE Display::initialize error 12289: Not initialized. ERR: Display.cpp:1023 (initialize): ANGLE Display::initialize error 12289: Not initialized. [47478:0920/110346.020598:ERROR:gl_display.cc(520)] EGL Driver message (Critical) eglInitialize: Not initialized. [47478:0920/110346.020652:ERROR:gl_display.cc(790)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED [47478:0920/110346.020701:ERROR:gl_display.cc(824)] Initialization of all EGL display types failed. [47478:0920/110346.020744:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed. [47478:0920/110346.022445:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

[47518:0920/110346.031891:ERROR:x11_software_bitmap_presenter.cc(142)] XGetWindowAttributes failed for window 81788931

yahya-mohammed07 avatar Sep 20 '23 08:09 yahya-mohammed07

this can be fixed giving user permisions to /opt/whatsapp-nativefier/ recursively

PE: $ sudo chmod 777 -R /opt/whatsapp-nativefier/

M3t4ll1k0 avatar Dec 12 '23 09:12 M3t4ll1k0