T_Wade24
Posts: 2
Joined: Mon Oct 09, 2017 3:31 am

No Protocol Specified; Cannot open display when launching Geany

Mon Oct 09, 2017 3:42 am

Hello,

I have just got a Raspberry Pi 3 for the use of a simple I/O program with LED's. I didn't want to buy a keyboard and mouse for a small project, so I followed some tutorials to set up headless mode via Putty SSH. I have been launching the Geany IDE through the command line to edit and compile my program. I was initially having trouble connecting, but I downloaded Xming and used xhost + and export DISPLAY='my IP:0.0'. This worked for a while. Now, when I attempt to launch Geany I get the following error message:

pi@raspberrypi:~ $ xhost +
xhost: unable to open display ""

pi@raspberrypi:~ $ export DISPLAY='my IP:0.0'

pi@raspberrypi:~ $ sudo geany
No protocol specified
Geany: cannot open display


Any suggestions?

Thanks

Return to “Troubleshooting”