Timeline for Still cannot open display :0
Current License: CC BY-SA 4.0
22 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 24 at 10:59 | answer | added | Michael | timeline score: 0 | |
Apr 11, 2019 at 20:06 | vote | accept | Arthur Attout | ||
Apr 11, 2019 at 19:23 | answer | added | Roger Jones | timeline score: 1 | |
Apr 11, 2019 at 16:28 | comment | added | Arthur Attout |
Oh my, that fixed it ... I had to su pi before launching the command. If you post it as an answer, I'll accept it
|
|
Apr 11, 2019 at 16:17 | comment | added | Roger Jones |
OK, so it's an X11 problem. Is the GUI/X11 actually running? Also, I notice in your question you're logged in as arthur , have you tried the command as pi ?
|
|
Apr 11, 2019 at 16:12 | comment | added | Arthur Attout |
Yes, the same error pops up : xterm: Xt error: Can't open display: :0 . I tried with the inline variable as you suggested @RogerJones
|
|
Apr 11, 2019 at 12:30 | comment | added | Roger Jones |
I think @Janka was suggesting you replace chromium-browser with xterm as your command. This will show if the problem is Chromium specific or with the X11 setup. I'd suggest trying setting the variable in-line with the command (i.e. DISPLAY=:0 xterm & ) as well.
|
|
Apr 11, 2019 at 11:56 | history | edited | Arthur Attout | CC BY-SA 4.0 |
deleted 24 characters in body
|
Apr 11, 2019 at 6:48 | history | edited | Arthur Attout | CC BY-SA 4.0 |
Clarified situation
|
Apr 11, 2019 at 5:26 | comment | added | Arthur Attout | What am I supposed to do with xterm ? | |
Apr 10, 2019 at 21:42 | comment | added | Janka | Does xterm produce the same error as Chromium? | |
Apr 10, 2019 at 7:09 | history | edited | Arthur Attout | CC BY-SA 4.0 |
added 43 characters in body
|
Apr 10, 2019 at 7:08 | comment | added | Jaromanda X | Oh Sorry. I misread your question. | |
Apr 10, 2019 at 7:06 | comment | added | Arthur Attout | BTW I think I was right with X11 forwarding disabled. X11 forwarding refers to the mechanism that allows a user to start up remote applications but forward the application display to your local Windows machine.. I specifically said I do not want to do that. I want the display to be done on the raspberry pi | |
Apr 10, 2019 at 6:43 | comment | added | Arthur Attout | I do not want to use VNC because I would like those commands to be ran through a bash script. And that X11 protocol thing means that if I terminate the ssh session, the GUI will also probably stop, which sucks. Will have to investigate far more than I thought on this one | |
Apr 10, 2019 at 6:41 | comment | added | Jaromanda X |
you could just use vnc instead though - then you don't even have to ssh
|
|
Apr 10, 2019 at 6:41 | comment | added | Jaromanda X |
because X11 is a protocol - you have to have something on the PC that talks X11 - I'm assuming the PC isn't running Linux
|
|
Apr 10, 2019 at 6:41 | comment | added | Arthur Attout | Everything is supposed to be ran remotely, why is it necessary to add a GUI handler on the terminal side ? | |
Apr 10, 2019 at 6:39 | comment | added | Arthur Attout | Ooooh okay, I thought X11 forward was meant to work the opposite way. Will try with X11 enabled. Though, why is it necessary to have some other component on the PC (you mention an X server) ? Why isn't the TTY clever enough to understand that a command should launch a GUI program on a given display ? | |
Apr 10, 2019 at 1:11 | comment | added | Jaromanda X |
X11 forwarding is disabled there's one problem, it needs to be ENABLED to work ... the other is, do you have an X server on the PC?
|
|
Apr 9, 2019 at 19:35 | review | First posts | |||
Apr 9, 2019 at 21:09 | |||||
Apr 9, 2019 at 19:33 | history | asked | Arthur Attout | CC BY-SA 4.0 |