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

How do you start Octodash manually from command line? #262

Closed
spiff72 opened this issue Oct 28, 2019 · 5 comments
Closed

How do you start Octodash manually from command line? #262

spiff72 opened this issue Oct 28, 2019 · 5 comments
Assignees
Labels
stale Stale issue support Something isn't working with the users setup

Comments

@spiff72
Copy link

spiff72 commented Oct 28, 2019

Describe the bug
When attempting to start Octodash manually (not launching it at bootup), I get an error stating "Gtk-Warning **: cannot open display"
I tried running ratpoison first, and get "Can't open display"

I don't think this is a bug - just my lack of knowledge on how to run the application. The pi is already booted, and the console window is currently displayed on the touchscreen. I suspect that this is the issue (the screen is already running and acting as the console display).

I am running 1.3.2 (to the best of my knowledge), on octopi 0.16.0 and octoprint 1.3.12 on a Raspi3 connected via HDMI and USB (for touch input) to a 7" cap touch display (1024 x 600 resolution).

@spiff72 spiff72 added the bug Something isn't working label Oct 28, 2019
@UnchartedBull
Copy link
Owner

You have to do export DISPLAY=:0 first. After that it should work :)

@DAVEfromCZE
Copy link

Hi, i try run on 3.5inch 480x320 GPIO lcd but i have same error "Gtk-Warning **: cannot open display" i try command " export DISPLAY=:0" but afrer reboot is on screen command line with" -bash: xinit: command not found".I try octosceen, Octiprint-TFT, and repetier all works, bud your project is much better. Thank you

@UnchartedBull
Copy link
Owner

Have you installed OctoDash via the installer script? Please make sure that xinit is installed ...

@DAVEfromCZE
Copy link

Hi yes, my fault :-)
its working now i must install this for (3,5" LCD to GPIO) :

sudo raspi-config
And navigate to Boot Options - Desktop CLI - and choose Console Auto Login
git clone https://github.com/waveshare/LCD-show.git
cd LCD-show/
sudo chmod +x LCD35-show
sudo ./LCD35-show
wget -qO- https://github.com/UnchartedBull/OctoDash/raw/master/scripts/install.sh | bash -s -- --ptg
sudo apt-get install xinit
sudo apt install xserver-xorg xinit xserver-xorg-video-fbdev
sudo systemctl set-default graphical.target mozna neni treba ale zkusit
sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf.old

@UnchartedBull UnchartedBull added support Something isn't working with the users setup and removed bug Something isn't working labels Nov 14, 2019
@stale
Copy link

stale bot commented Jan 13, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale issue label Jan 13, 2020
@stale stale bot closed this as completed Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale issue support Something isn't working with the users setup
Projects
None yet
Development

No branches or pull requests

3 participants