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
Hello,
Is there a way to launch httprd via ssh ?
When I launch httprd via ssh :
python3 httprd.py --help
the answer is :
Traceback (most recent call last):
File "httprd.py", line 29, in
import pyautogui
File "/home/ludeti/.local/lib/python3.8/site-packages/pyautogui/init.py", line 246, in
import mouseinfo
File "/home/ludeti/.local/lib/python3.8/site-packages/mouseinfo/init.py", line 223, in
_display = Display(os.environ['DISPLAY'])
File "/usr/lib/python3.8/os.py", line 675, in getitem
raise KeyError(key) from None
The text was updated successfully, but these errors were encountered:
Yes, you have to tell ssh tty which X11/Wayland session display to use because in common DISPLAY is exported only in TTY's created under GUI environment (like terninal, etc)
Hello,
Is there a way to launch httprd via ssh ?
When I launch httprd via ssh :
python3 httprd.py --help
the answer is :
Traceback (most recent call last):
File "httprd.py", line 29, in
import pyautogui
File "/home/ludeti/.local/lib/python3.8/site-packages/pyautogui/init.py", line 246, in
import mouseinfo
File "/home/ludeti/.local/lib/python3.8/site-packages/mouseinfo/init.py", line 223, in
_display = Display(os.environ['DISPLAY'])
File "/usr/lib/python3.8/os.py", line 675, in getitem
raise KeyError(key) from None
The text was updated successfully, but these errors were encountered: