joukos / PaperTTY

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

Sudo with papertty? #75

Closed Adam90a closed 3 years ago

Adam90a commented 3 years ago

EDIT: sudo is working now, not sure what I did

I am stuck. I try to use sudo and get an error...

sudo papertty --driver EPD4IN2 terminal sudo: papertty: command not found

...and without....

papertty --driver EPD4IN2 terminal Loading PIL font /home/pi/.local/lib/python3.7/site-packages/papertty/resources/tom-thumb.pil. Font size is ignored. No read access to /dev/vcsa1 - maybe run with sudo?

.....any suggestions?

Julian-MJK commented 3 years ago

If you fixed this please update us on how, so that people who has the same issue in the future can figure it out (me)

Mozartenhimer commented 3 years ago

This looks like a cli usage thing. It's likely that '. (current directory) is not on the path for root, it is for the user invoking sudo. The solution for running it under sudo on this instance would be: sudo ./papertty

On Mon, Oct 4, 2021, 6:58 PM Julian @.***> wrote:

Dear god if you fixed this, tell us how, don't just close the damn issue so that nobody who has the same issue in the future can figure it out

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/joukos/PaperTTY/issues/75#issuecomment-933916668, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMF3GCFLUECCFTHTD266M53UFIWQHANCNFSM4XVM32DQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Julian-MJK commented 3 years ago

Thank you for the response, I'll try that! And apologies for my initially annoyed response, I wrote it at 3AM after having tried to get PaperTTY working for a few hours

gridbasedotnet commented 1 year ago

Did you ever get this resolved?

Adam90a commented 1 year ago

Nope, gave up

On Sat, Aug 12, 2023 at 2:40 PM GRIDBASE @.***> wrote:

Did you ever get this resolved?

— Reply to this email directly, view it on GitHub https://github.com/joukos/PaperTTY/issues/75#issuecomment-1676048161, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASAITQHNHZ2XXLB3JTMIH3TXU7E2VANCNFSM4XVM32DQ . You are receiving this because you modified the open/close state.Message ID: @.***>