Missing X server or $DISPLAY when running google-chrome
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 305
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
After I configured wsld on WSL2 with Ubuntu 22.04 I can run emacs GUI without any problem but when trying to run google-chrome I get the following error:
[1087:1087:0823/143422.508142:ERROR:ozone_platform_x11.cc(240)] Missing X server or $DISPLAY
[1087:1087:0823/143422.508307:ERROR:env.cc(255)] The platform failed to initialize. Exiting.
[1087:1113:0823/143422.513209:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Can you help me what can be the problem?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report names no repository file, test, or entry point. Start by reproducing the Chrome launch under Ubuntu 22.04 on WSL2 and examining the reported X server, $DISPLAY, and D-Bus errors; done would require identifying a wsld change or documented setup that allows Chrome to launch.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, ubuntu
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100