![]() **Please note: IDLE is just an example, this is true for any programs with GUIs including the epiphany browser. Is there something I can change in the configuration files to do this? And how can I fix my X11 Forwarding? Any help is appreciated. The only remedy I can find is that manually setting the DISPLAY variable solves this completely (when working locally): $ export DISPLAY=:0īut I don't have time to make this change every time. Even more mysteriously, my friend's account on the same Pi works fine. First, install Barrier on Raspberry Pi using APT. We’re going to use Barrier to share a keyboard and mouse connected to our Raspberry Pi to a Windows PC on the same network. Plug in your keyboard and mouse into the Raspberry Pis USB A ports and the monitor cable to the Raspberry Pis HDMI port. I tried going back to using the Pi directly (mouse, keyboard and monitor attached) and got the same message. Barrier is used to share a keyboard between Raspberry Pi and other computers: Windows PC, Mac, or Linux (even a second Raspberry Pi). Lets start off by connecting all the peripherals: Insert the microSD card into the card slot on the bottom of the Raspberry Pi. _tkinter.TclError: couldn't connect to display "localhost:0.0" You can also bring up the Run Command dialog box by pressing Alt+F2 and blindly enter the shutdown command mentioned above. Edit the /home/pi/.config/openbox/lxde-pi-rc.xml file and define your preferred keyboard shortcut. Self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) so you dont even have to open a terminal window. Your Raspberry Pi should now restart and be running at the specified resolution. Do this by first exiting out of the configuration tool by pressing ESC, then entering the following command into the Raspberry Pi’s terminal. ![]() But yesterday I tried opening Python IDLE and got the following message: $ idleįile "/usr/lib/python2.7/idlelib/PyShell.py", line 1545, in mainįile "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1813, in _init_ With your resolution now set you will need to restart the Raspberry Pi. python idle, etc.).Ī few weeks ago I tried setting up X11 Forwarding to my windows machine using Xming and it worked great. When I first set up my Rasbperry Pi, I had it running with its own keyboard, mouse and monitor, and I could easily open applications using the terminal (e.g.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |