Web62. I installed Debian onto my machine last night. Now, I don't understand why I can't run GUI apps from a terminal when running as root. For example: sudo -i glxgears. Generates the following output: No protocol specified Error: couldn't open display :0. But when I first open the terminal I can run glxgears from the user account. WebNov 23, 2024 · returning to us, I followed all the procedures indicated in your links, but the problem remains … it seems that the system did not read the order "export DISPLAY=:0. To give you another example, I installed a simple visual text editor ( Geany ), I opened the program Xming and when I tried to open the program it tells me this
networking - How can I fix cannot open display? - Ask Ubuntu
WebJul 26, 2015 · Save the configuration by typing a name (i.e.Pi_1) in the box under 'Saved Sessions' on the Sessions screen. Press the Save button to save the configuration. Click Open to open the terminal window or Cancel to close PuTTy. The next time PuTTy is run, the session named Pi_1 will be shown. Select Pi_1 with the mouse and click Open to … Webmore than likely this answer works because 127.0.0.1 localhost is not defined within the /etc/hosts file as most debian based distros setup 127.0.1.1 localhost thus when you … canucks 1988
X11 using xming and PuTTy: “cannot open display” problem
WebJun 26, 2015 · 3. Solution: run the application with the same user you are SSHing. I have also encounter such errors while using X11. The source of my problem was that i used SSH with my own username (which was not root). Then, once logged in i tired running stuff with X11 while doing "su" or doing "sudo", the problem with that is that the SSH session is ... WebFeb 19, 2024 · Or whatever the gateway address is currently, because it changes. If that doesn't work, ping 172.29.112.1 to see if you can communicate at all. If you can ping but still can't start xclock (despite 0.0.0.0:6000 listening on the Windows side), the two primary culprits are: (a) firewall or (b) access control hasn't been disabled in VcXsrv. canucks 1987