Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788271 - www-client/google-chrome: (wayland) - Unable to open X display.
Summary: www-client/google-chrome: (wayland) - Unable to open X display.
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-05 05:13 UTC by Szymon Scholz
Modified: 2021-05-05 18:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info with package settings (emerge_info_google-chrome.xz,3.05 KB, application/x-xz)
2021-05-05 05:13 UTC, Szymon Scholz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon Scholz 2021-05-05 05:13:47 UTC
Created attachment 706092 [details]
emerge info with package settings

==== The issue ====
$ google-chrome-stable
[2969:2969:0505/061605.403992:ERROR:browser_main_loop.cc(1386)] Unable to open X display.

There is known a workaround -> $ google-chrome-stable --enable-features=UseOzonePlatform --ozone-platform=wayland <- worth mentioning, but shouldn't be as simple as typing "google-chrome-..." out of the box? In this case is it an real issue that should be fixed, or wont-fix (cos foobar can do an alias)?
Comment 1 Szymon Scholz 2021-05-05 05:37:58 UTC
aliases don't work with application launchers (dmenu, bemenu) which functionality depends on pkg-config
Comment 2 Reva Denis 2021-05-05 16:26:46 UTC
At this point wayland support is still unstable in chrome, so it's not a bug :)
Comment 3 Stephan Hartmann (RETIRED) gentoo-dev 2021-05-05 18:18:12 UTC
We just install the desktop file provided by upstream. If you want to change it, you can copy the desktop file (e.g. /usr/share/applications/google-chrome.desktop) to ~/.local/share/applications or /usr/local/share/applications and add your flags to it.