Jack477 / CommanderPi

Easy RaspberryPi4 GUI system managment
MIT License
188 stars 33 forks source link

CommanderPi installs but doesn't run on RaspberryPi OS using a RaspberryPi 4 64bit #42

Closed chest069 closed 3 years ago

chest069 commented 3 years ago

Hello,

I just found this program and I installed it but nothing seems to work when trying to get it to run. I have a Raspberry Pi 4 8GB 64bit system and I currently run Raspberry Pi OS. I get the following error :

pi@pi-desktop:~/Desktop $ /home/pi/CommanderPi/src/start.sh No protocol specified No protocol specified Traceback (most recent call last): File "/home/pi/CommanderPi/src/main.py", line 22, in main() File "/home/pi/CommanderPi/src/main.py", line 18, in main start = g.Window() File "/home/pi/CommanderPi/src/gui.py", line 567, in init master = tk.Tk() File "/usr/lib/python3.7/tkinter/init.py", line 2023, in init self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: couldn't connect to display ":0"

Any ideas or help in getting this running please.

I also get this error when installing it as well:

Traceback (most recent call last): File "c_desktop.py", line 20, in f = open(d_dir, "w+") FileNotFoundError: [Errno 2] No such file or directory: '/root/Desktop/commanderpi.desktop' chmod: cannot access '/root/Desktop/commanderpi.desktop': No such file or directory

Jack477 commented 3 years ago

You installed it as root, you must install it without sudo.

chest069 commented 3 years ago

You installed it as root, you must install it without sudo.

Thanks, I restarted my Pi and then it ran no problem.