0

I have problems running fbi without sudo. As user pi running

fbi -noverbose -nocomments -T 7 -1 -t 10  test.jpg
or
fbi -noverbose -nocomments -T 1 -1 -t 10 test.jpg

I get an error /dev/tty7: Permission denied.

tty1 and tty7 belong to group tty.

crw--w---- 1 root tty       4,  7 huhti 13 07:01 tty7

I have added user pi to groups tty and video.

sudo usermod -a -G tty pi
sudo usermod -a -G video pi
5
  • tty group has no read permission
    – jsotola
    Apr 13, 2018 at 6:50
  • I added read permission crw-rw---- 1 root tty. Now theres no error but nothing is displayed. fb0 has also read and write permissions.
    – JPX
    Apr 13, 2018 at 7:03
  • "Now theres no error but nothing is displayed." Cross-check with sudo, do you get the same response with same command plus sudo, or not?
    – Fabian
    Apr 13, 2018 at 13:23
  • With sudo I get same information in console than without sudo but with sudo image is displayed.
    – JPX
    Apr 16, 2018 at 4:49
  • "With sudo I get same information in console than without sudo but with sudo image is displayed." Do you mean you get the image displayed and "Permission denied" if you run sudo fbi -noverbose -nocomments -T 7 -1 -t 10 test.jpg?
    – Fabian
    Apr 16, 2018 at 15:04

1 Answer 1

1

This seems to be even more confusing in Raspbian than in *nix in general (and perhaps more confusing than it need be), but try this:

sudo raspi-config

go to 5 Interfacing Options

go to P6 Serial

select Yes

raspi-config responds:

The serial login shell is enabled

The serial interface is enabled

When asked if you want to reboot, answer Yes. Hope this helps; I can't test it on my RPi because it's headless.

2
  • Thanks but that did not help. fbi behaves like without those settings.
    – JPX
    Apr 16, 2018 at 4:50
  • So sorry... I'd try it on mine if it were connected to a monitor, but please follow up here when you solve it; the information will help someone else.
    – Seamus
    Apr 16, 2018 at 12:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.