Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: app doesnt even start in my gnome based ubuntu #248

Open
Pratik-Gmr opened this issue Dec 11, 2024 · 2 comments
Open

[Bug]: app doesnt even start in my gnome based ubuntu #248

Pratik-Gmr opened this issue Dec 11, 2024 · 2 comments

Comments

@Pratik-Gmr
Copy link

What happened?

app is found in the app lists, terminal shows that the app exists but when i click on the app or run it nothing happens.... it doesnt even start.

What should have happened?

it should have started ofc

Output of snap info discord

name:      discord
summary:   Chat for Communities and Friends
publisher: Snapcrafters✪
store-url: https://snapcraft.io/discord
contact:   https://github.com//snapcrafters/discord/issues
license:   Proprietary
description: |
  Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and
  stay close with your friends and communities.
  
  Snaps are confined, as such Discord may be unable to perform some of the tasks it
  typically does when unconfined. This may result in the system log getting spammed with
  apparmor errors. Granting access to the system-observe interface when in the snap will
  enable the features, and thus reduce the logging.
  
    snap connect discord:system-observe
  
  **Authors**
  
  This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
  officially maintained by the upstream developers.
commands:
  - discord
snap-id:      qHVefGEBezeuCeSfTND40uoUD6GRw8BO
tracking:     latest/candidate
refresh-date: today at 12:21 +0545
channels:
  latest/stable:    0.0.76 2024-11-26 (218) 115MB -
  latest/candidate: 0.0.77 2024-12-10 (219) 115MB -
  latest/beta:      ↑                             
  latest/edge:      ↑                             
installed:          0.0.77            (219) 115MB -

Output of snap connections discord

Interface               Plug                            Slot                            Notes
audio-playback          discord:audio-playback          :audio-playback                 -
audio-record            discord:audio-record            :audio-record                   -
camera                  discord:camera                  :camera                         -
content[gnome-42-2204]  discord:gnome-42-2204           gnome-42-2204:gnome-42-2204     -
content[gtk-3-themes]   discord:gtk-3-themes            gtk-common-themes:gtk-3-themes  -
content[icon-themes]    discord:icon-themes             gtk-common-themes:icon-themes   -
content[sound-themes]   discord:sound-themes            gtk-common-themes:sound-themes  -
desktop                 discord:desktop                 :desktop                        -
desktop-legacy          discord:desktop-legacy          :desktop-legacy                 -
gsettings               discord:gsettings               :gsettings                      -
home                    discord:home                    :home                           -
mount-observe           discord:mount-observe           -                               -
network                 discord:network                 :network                        -
network-observe         discord:network-observe         -                               -
opengl                  discord:opengl                  :opengl                         -
process-control         discord:process-control         -                               -
removable-media         discord:removable-media         -                               -
screen-inhibit-control  discord:screen-inhibit-control  :screen-inhibit-control         -
shared-memory           discord:shmem                   :shared-memory                  -
system-observe          discord:system-observe          -                               -
unity7                  discord:unity7                  :unity7                         -
wayland                 discord:wayland                 :wayland                        -
x11                     discord:x11                     :x11                            -

Output of snap version

snap    2.66.1+24.04
snapd   2.66.1+24.04
series  16
ubuntu  24.04
kernel  6.8.0-49-generic

Relevant log output

No response

Teminal output of app

Discord 0.0.77
[19134:1211/123047.408854:ERROR:wayland_connection.cc(198)] Failed to connect to Wayland display: No such file or directory (2)
[19134:1211/123047.408942:ERROR:ozone_platform_wayland.cc(264)] Failed to initialize Wayland platform
[19134:1211/123047.408953:ERROR:env.cc(258)] The platform failed to initialize.  Exiting.
[1211/123047.425144:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
Segmentation fault (core dumped)
@jnsgruk
Copy link
Member

jnsgruk commented Jan 9, 2025

Looks like you might have some config that's forcing the app to start under Wayland, which I don't think is supported right now. Are you setting ELECTRON_OZONE_PLATFORM_HINT=auto or similar?

@Pratik-Gmr
Copy link
Author

nvm i am using vesktop now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants