You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I wasn't out of the woods yet. Upon running without sudo, the GUI/user interface shows up (launches correctly) and I go to select hekate and launch the payload. But as soon as I launch the payload I get this error:
~$ python3 fusee-interfacee-tk/app.py
Could not find the intermezzo interposer. Did you build it?
Also FWIW, as far as executing the binary goes, this error shows when ran as sudo:
No protocol specified
No protocol specified
Traceback (most recent call last):
File "app.py", line 130, in
File "app.py", line 12, in init
File "tkinter/init.py", line 2744, in init
File "tkinter/init.py", line 2292, in init
File "tkinter/init.py", line 2259, in _setup
File "tkinter/init.py", line 2023, in init
_tkinter.TclError: couldn't connect to display ":0"
[4308] Failed to execute script app
But when run without sudo, I was able to execute the binary successfully, smash the stack, and boot.
The text was updated successfully, but these errors were encountered:
Linux debian 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08) x86_64 GNU/Linux
Dependencies installed (tried multiple to see if it would help): python3, python3-usb, python3-libusb1, libgusb2, pypy-libusb1, python-libusb1
(Also, libusb-0.1.so.4, libusb-0.1.so.4.4.4, libusb-1.0.so.0, libusb-1.0.so.0.1.0 are present in /lib/)
When running the app.py script as sudo, I get the following error:
No protocol specified
No protocol specified
Traceback (most recent call last):
File "fusee-interfacee-tk/app.py", line 128, in
my_app = App()
File "fusee-interfacee-tk/app.py", line 14, in init
tk.Frame.init(self, master)
File "/usr/lib/python3.7/tkinter/init.py", line 2744, in init
Widget.init(self, master, 'frame', cnf, {}, extra)
File "/usr/lib/python3.7/tkinter/init.py", line 2292, in init
BaseWidget._setup(self, master, cnf)
File "/usr/lib/python3.7/tkinter/init.py", line 2259, in _setup
_default_root = 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"
Solution: DON'T run as sudo. Just run it without sudo and this error will stop.
I was brought here after this guide https://nh-server.github.io/switch-guide/user_guide/emummc/sending_payload/ which told me to run as sudo or root. In most cases, you might get stuck like I did.
But I wasn't out of the woods yet. Upon running without sudo, the GUI/user interface shows up (launches correctly) and I go to select hekate and launch the payload. But as soon as I launch the payload I get this error:
~$ python3 fusee-interfacee-tk/app.py
Could not find the intermezzo interposer. Did you build it?
Also FWIW, as far as executing the binary goes, this error shows when ran as sudo:
No protocol specified
No protocol specified
Traceback (most recent call last):
File "app.py", line 130, in
File "app.py", line 12, in init
File "tkinter/init.py", line 2744, in init
File "tkinter/init.py", line 2292, in init
File "tkinter/init.py", line 2259, in _setup
File "tkinter/init.py", line 2023, in init
_tkinter.TclError: couldn't connect to display ":0"
[4308] Failed to execute script app
But when run without sudo, I was able to execute the binary successfully, smash the stack, and boot.
The text was updated successfully, but these errors were encountered: