Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What version of Octoprint to use. #900

Closed
dmiart opened this issue Aug 12, 2020 · 8 comments
Closed

What version of Octoprint to use. #900

dmiart opened this issue Aug 12, 2020 · 8 comments
Labels
support Something isn't working with the users setup

Comments

@dmiart
Copy link

dmiart commented Aug 12, 2020

What doesn't work?

Used latest octoprint and apt-get update && apt-get upgrade. Auto install scripts completes fine, but ratpoison and octodash doesn't start.

What did you already try?

Tried fresh image of octopi and followed all troubleshooting steps from wiki.

General Information:

  • Hardware [e.g. Raspberry Pi, if you have layout issues please also include your screen resolution]
  • OS Info [e.g. Raspbian Buster Lite, please also indicate if you used OctoPi]
  • OctoDash Version [e.g. v1.0.0]
  • OctoPrint Version [e.g. v1.0.0]

Raspbian Buster Lite OctoPi 0.17.0
Octodash 2.0.0

Additional context
Add any other context or screenshots about the feature request here.

My HDMI device is a regular HDMI 1080p monitor. Maybe that's the problem?

@dmiart dmiart added the support Something isn't working with the users setup label Aug 12, 2020
@thegarbz
Copy link
Collaborator

thegarbz commented Aug 12, 2020

Not an Octoprint issue since Octoprint/Octopi by default doesn't ship with any necessary functions for a GUI.

Debug steps:
Do you see a console on bootup? > Check the settings in /boot/config.txt / or run raspi-config
Can you log into the console and type startx?
Can you start a window manager after starting x?
The last step would obvious be starting octodash and that clearly isn't working or we'd not be here.

/EDIT: Check the issue below this one. Someone posted issues with ratpoison / X which he suspects may be due to the kernel version.

@dmiart
Copy link
Author

dmiart commented Aug 12, 2020

Not an Octoprint issue since Octoprint/Octopi by default doesn't ship with any necessary functions for a GUI.

Debug steps:
Do you see a console on bootup? > Check the settings in /boot/config.txt / or run raspi-config
Can you log into the console and type startx?
Can you start a window manager after starting x?
The last step would obvious be starting octodash and that clearly isn't working or we'd not be here.

I was able to make it work but after I manually start xinit from console from user pi and then in GUI terminal I type ratpoison & followed by octodash otherwise it just stays on the terminal login. It does try to start ratpoison and octodash but from root user. Whenever I login as root I see that the Xserver has stopped working.

@dmiart
Copy link
Author

dmiart commented Aug 12, 2020

Ok so the problem was the installation script created .xinitrc for root user but was supposed to do it for user pi ? I manually followed the steps and now it starts.

@thegarbz
Copy link
Collaborator

Sounds like you were root instead of the pi user when you ran the script. Good to hear it's working.

@dmiart
Copy link
Author

dmiart commented Aug 13, 2020

Sounds like you were root instead of the pi user when you ran the script. Good to hear it's working.

It's possible that I was, but I also run the installation script the second time as a pi user and it didn't create that script. I'll do more testing today.

@Swap-File
Copy link

Swap-File commented Aug 14, 2020

If I recall, my fresh install that I made a few days ago went like this:

First I burn OctoPi 0.17 image to an SD Card, and set up the basics.
https://octopi.octoprint.org/latest

I log in, see a login message saying installing desktop support is done via a separate script at my own risk. I do it anyway.
sudo /home/pi/scripts/install-desktop
(with sudo)

Reboot, then I run the Octodash script:
bash <(wget -qO- https://github.com/UnchartedBull/OctoDash/raw/master/scripts/install.sh)
(no sudo)

sudo raspi-config
(auto login to CLI)
Reboot again. Done.

I ran into some oddities if I didn't install "/home/pi/scripts/install-desktop" first.

@dmiart
Copy link
Author

dmiart commented Aug 16, 2020

Yeah, looks like I accidentally ran the installation script as root.

Burned new Octoprint image
Changed HDMI settings in config to match my touchscreen HDMI resolution
Ran Octodash installation script
Let it reboot
Logged in as pi user on TTY
Octodash launched right away.

All without any additional steps.

@dmiart dmiart closed this as completed Aug 17, 2020
@UnchartedBull
Copy link
Owner

Yeah I currently am using the current users home directory, since that was the fastest way. I'll try to improve the whole installation process for one of the next releases. But great that everything is working for you! Hope you enjoy OctoDash :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Something isn't working with the users setup
Projects
None yet
Development

No branches or pull requests

4 participants