6

When I tried to start chromium, I had error messages :

$ chromium
X11 connection rejected because of wrong authentication.
[10139:10139:0321/173002.675673:ERROR:ozone_platform_x11.cc(234)] Missing X server or $DISPLAY
[10139:10139:0321/173002.675976:ERROR:env.cc(225)] The platform failed to initialize.  Exiting.
$ echo $DISPLAY
localhost:10.0

$ xterm # xterm starts fine
4
  • 1
    Hello. Did you solve this issue? Commented May 10, 2022 at 21:13
  • I faced the same issue but still found problems. I will let you know if I will find out the proper solution for that. Commented Jun 14, 2022 at 6:25
  • @RaulChiarella I have not found a solution.
    – Philippe
    Commented Jun 11, 2023 at 21:30
  • Oh. Ok... Thank you. @Philippe Commented Jun 12, 2023 at 18:45

1 Answer 1

0

check

env | grep DISPLAY

and match running the command

DISPLAY=:1 chromium
1
  • env | grep DISPLAY gives localhost:10.0. I don't have X-Server on ssh server, so DISPLAY=:1 wouldn't work.
    – Philippe
    Commented Jun 11, 2023 at 15:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .