joukos / PaperTTY

PaperTTY - Python module to render a TTY or VNC on e-ink
942 stars 101 forks source link

No read access to /dev/vcsa1 - maybe run with sudo #102

Closed alexmlucas closed 11 months ago

alexmlucas commented 1 year ago

Hi, I get the message above after running the following command... poetry run papertty --driver epd5in83 terminal After adding sudo to the beginning of that command, terminal returns... sudo: poetry: command not found I expect this isn't an issue with paperTTY, more my lack of experience with Linux. However, any pointers would be greatly appreciated!

gridbasedotnet commented 1 year ago

any update

javierdepascual commented 11 months ago

I've been trying to make papertty work today and thank god I figured out how to solve this issue. Apparently for sudo commands inside the virtual enviroment needs you to point to the specific directory (maybe I'm wrong but I saw this explained in another issue and it worked):

sudo papertty_venv/bin/papertty --driver it8951 terminal

(replace it8951 with the driver you need from --list command)

joukos commented 11 months ago

Thanks for sharing the tip here to help others. Hopefully some day I manage to update the docs from their woeful state.