Open cmonty14 opened 1 year ago
I cannot reproduce the issue with my Debian VM. Could you please try giving permission to /dev/log with flatseal?
I cannot reproduce the issue with my Debian VM. Could you please try giving permission to /dev/log with flatseal?
I installed flatseal, and this shows that required permission for /dev/log already exists.
I don't think this is a permission issue. On Debian, /dev/log is a softllink to /run/systemd/journal/dev-log:
$ ls -l /dev/log
lrwxrwxrwx 1 root root 28 16. Mai 16:13 /dev/log -> /run/systemd/journal/dev-log
This is written to syslog when executing flatpak run com.github.eneshecan.WhatsAppForLinux
:
Mai 18 10:30:03 eliza systemd[3618]: Started app-flatpak-com.github.eneshecan.WhatsAppForLinux-750619.scope.
Mai 18 10:30:04 eliza kded5[3905]: Registering ":1.150/org/ayatana/NotificationItem/com_github_eneshecan_WhatsAppForLinux_Tray" to system tray
Mai 18 10:30:04 eliza rtkit-daemon[1381]: Successfully made thread 750674 of process 750657 owned by '1001' RT at priority 5.
Mai 18 10:30:04 eliza rtkit-daemon[1381]: Supervising 5 threads of 3 processes of 1 users.
Mai 18 10:30:10 eliza kwin_wayland[3774]: pw.conf: can't load config client.conf: Datei oder Verzeichnis nicht gefunden
Mai 18 10:30:10 eliza kwin_wayland[3774]: pw.conf: can't load default config client.conf: Datei oder Verzeichnis nicht gefunden
Mai 18 10:30:10 eliza kwin_wayland_wrapper[3774]: kwin_screencast: Failed to create PipeWire context
Mai 18 10:30:10 eliza plasmashell[3930]: error creating screencast "Failed to create PipeWire context"
Mai 18 10:30:13 eliza kded5[3905]: Service ":1.150" unregistered
Mai 18 10:30:13 eliza systemd[3618]: app-flatpak-com.github.eneshecan.WhatsAppForLinux-750619.scope: Consumed 9.082s CPU time.
Mai 18 10:30:16 eliza kwin_wayland[3774]: pw.conf: can't load config client.conf: Datei oder Verzeichnis nicht gefunden
Mai 18 10:30:16 eliza kwin_wayland[3774]: pw.conf: can't load default config client.conf: Datei oder Verzeichnis nicht gefunden
Mai 18 10:30:16 eliza kwin_wayland_wrapper[3774]: kwin_screencast: Failed to create PipeWire context
Mai 18 10:30:16 eliza plasmashell[3930]: error creating screencast "Failed to create PipeWire context"
I am on 1.6.2 from flathub on debian bullseye. /run/systemd/journal/dev-log can be added as a path to flatseal, then this error goes away.
Now it still crashes with some gtk and opengl errors. I'm on mobile on the couch, so sorry for the short bugreport.
After adding /run/systemd/journal/dev-log to Flatseal, the app still fails to start. To be precise, Whatsapp crashes when it tries to load QR code.
$ flatpak run com.github.eneshecan.WhatsAppForLinux
F: Not sharing "/dev/log" with sandbox: Path "/dev" is reserved by Flatpak
<13>Jun 16 21:18:25 whatsapp-for-linux[5]: SettingMap: Key file does not have group “web”, returning default value: 1
<13>Jun 16 21:18:25 whatsapp-for-linux[5]: SettingMap: Key file does not have group “web”, returning default value: 0
<13>Jun 16 21:18:25 whatsapp-for-linux[5]: SettingMap: Key file does not have group “general”, returning default value: 1
<13>Jun 16 21:18:25 whatsapp-for-linux[5]: SettingMap: Key file does not have group “web”, returning default value: 0
<13>Jun 16 21:18:25 whatsapp-for-linux[5]: SettingMap: Key file does not have group “general”, returning default value: 0
<13>Jun 16 21:18:25 whatsapp-for-linux[5]: SettingMap: Key file does not have group “general”, returning default value: 1
<13>Jun 16 21:18:25 whatsapp-for-linux[5]: SettingMap: Key file does not have group “general”, returning default value: 0
<13>Jun 16 21:18:25 whatsapp-for-linux[5]: SettingMap: Key file does not have group “general”, returning default value: 0
<13>Jun 16 21:18:25 whatsapp-for-linux[5]: SettingMap: Key file does not have group “appearance”, returning default value: 0
<13>Jun 16 21:18:25 whatsapp-for-linux[5]:
<13>Jun 16 21:18:25 whatsapp-for-linux[5]: ** (whatsapp-for-linux:2): WARNING **: 21:18:26.329: GDK is not able to create a GL context, falling back to glReadPixels (slow!): Unable to create a GL context
This issue was already reported #211 .
Description I try to start the app with command
$ flatpak run com.github.eneshecan.WhatsAppForLinux
however the app crashes after a few second with error:I'm running latest version:
Environment