Skip to content

openframe won't start. Terminal being blacked out. #27

Closed

Description

@killa-kyle

I'm on a fresh install of Raspbian Jessie on a RPi3. Once I install open frame I get these three errors on startup:

manpath: can't set the locale; make sure $LC_* and $LANG are correct
openfsetterm: terminal xterm-256color does not support --blank
setterm: cannot (un)set powersave mode: Inappropriate ioctl for device

and then the terminal is blacked out. nothing (that I can see) happens when I type the 'openframe' command
screenshot 2016-12-13 09 13 32

Someone else is having the same problem it looks like

Activity

  1. jmwohl commented on Dec 13, 2016

    @jmwohl
    Member
  2. killa-kyle commented on Dec 13, 2016

    @killa-kyle
    Author

    That screen shot is me sshed into the pi. The desktop environment launches even though I chose to run openframe on boot and the pi is also ignoring holding the "N" key down on boot. I'll look into disabling the Linux desktop

  3. jmwohl commented on Dec 13, 2016

    @jmwohl
    Member
  4. jejip commented on Mar 31, 2018

    @jejip

    I have the same problem, which makes the raspberry uncontrollable either through ssl or when connecting a keyboard. It always boots into terminal, so it's not related to that. Might it be related to the setterm command in openframe's autoboot.sh?

    The strange thing is, even when I exit openframe on the Pi (ctl+c), the terminal is still blacked out. I can start up the GUI, but when I open up the terminal, openframe will automatically start. Similarly, when I SSH into the Pi, openframe will autostart too.

    Pressing 'n' during startup doesn't work either, openframe always starts whenever the terminal opens.

    Any idea how to stop openframe from always starting and messing with the setterm commands to hide the terminal?

  5. jvolker commented on Sep 21, 2019

    @jvolker
    Collaborator

    @killa-kyle: I solved this problem and described it in the forum: https://groups.google.com/d/msg/openframeio/X1BapUmEchs/QPE9UUzjAgAJ

    I've been able to fix the SSH login issue by disabling Openframe autostart. This can be done by resetting the frame via openframe -r or commenting out the following line in ~/.bashrc: source ~/.openframe/autoboot.sh

    It seems like those setterm errors have nothing to do with this being unable to login via SSH. Instead, it seems like the Openframe starting routine (including setterm --foreground black --background black --cursor off --clear all) is initiated every time you login via SSH.

    On the hand commenting out setterm -powersave off -blank 0 in ~/.bashrc removes those setterm errors but I'm not sure if they caused any problem anyway.

    We should add a note to the developer docs.

  6. jvolker commented on Sep 21, 2019

    @jvolker
    Collaborator

    @jejip Both, disabling autostart as described above, as well as pressing 'n' as soon as the welcome screen appeared worked for me. Hope this helps.

  7. ericfriedman commented on Apr 13, 2021

    @ericfriedman

    What if you cannot run terminal commands because it just hangs after the

    terminal stopped working raspberry pi setterm: terminal xterm-256color does not support --blank openframe

    message?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions