octodash

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
octodash [22.12.2020 19:01] – created Pascal Suteroctodash [23.12.2020 06:44] – [Display] Pascal Suter
Line 1: Line 1:
 ====== Octodash ====== ====== Octodash ======
 ===== Basic OS ===== ===== Basic OS =====
-download and install the latest raspbian as in [[install_raspbian_on_f2fs_root]]+download and install the latest [[https://github.com/guysoft/OctoPi|octoPi]] as in [[install_raspbian_on_f2fs_root]]
  
 ===== Display ===== ===== Display =====
Line 16: Line 16:
 ./LCD35-show ./LCD35-show
 </code> </code>
 +this will reboot your raspberry and you should then see some output on your display
 +
 +add screen calibration
 +  sudo apt install xinput-calibrator
 +
 +===== OctoDash =====
 +to install [[https://github.com/UnchartedBull/OctoDash|OctoDash]], use the one-liner that they provide on their github page.. at the time of writing this, the command was: 
 +  bash <(wget -qO- https://github.com/UnchartedBull/OctoDash/raw/master/scripts/install.sh)
 +
 +that'll do everything for you. 
 +
 +to make sure octodash can start upon bootig your raspberry, you need to enable autologin on the console. to do that, start the ''raspi-config'' utility
 +  sudo raspi-config 
 +in there go to ''system options'' --> ''S5 Boot / Auto Login'' and choose the ''B2 Console Autologin'' option
 +
 +go back to the main menu
 +
 +===== VNC =====
 +in order to remote-control your octodash screen, for example to set up some things or to debug something from remote, you can add VNC.. mind you, this isn't needed for octoprint to work or to be setup, but it may help if you need to debug something and you can't or don't want to connect a keyboard to the raspberry. I would recommend to disable VNC again as soon as you are done debugging whatever you had to debug. It is always a good idea to minimize remote-access to the necessary. 
 +
 +to install VNC, if you haven't already started the ''raspi-config'' utility, start it now: 
 +  sudo raspi-config 
 +now go to ''3 Interface Options'' --> ''VNC'' to install and enable the vnc server. 
 +
 +now that this is done, you can exit raspi-config
 +
 +if you are using the realvnc viewer, you may connect to your raspberry now, however, if you are using any other viewer, you might get an error that the encryption type is not supported or something similar. This is because the raspberry is using realvnc server which in turn defaults to some, i believe, proprietary encryption config to secure your vnc connection. you can disable this, in order to allow any other viewers to be used as well. **this means though, that anything you type and also your password will be transferred over the network in plain text** so use this in your LAN only!
 +
 +to disable encryption create a new file in ''/etc/vnc/config.d/common.custom'' 
 +<code>
 +cat <<EOF | sudo tee /etc/vnc/config.d/common.custom
 +Authentication=VncAuth
 +Encryption=AlwaysOff
 +EOF
 +</code>
 +now set the password you want to use for authenticating your session: 
 +  sudo vncpasswd -file /etc/vnc/config.d/common.custom
 +finally, restart the vnc service: 
 +  sudo systemctl restart vncserver-x11-serviced.service
 +
 +you should now be able to login using your password. 
 +
 +before we forget it, let's go ahead and disable the vncserver service by default, so it won't be autostarted upon booting your raspberry but only on demand: 
 +  sudo systemctl disable vncserver-x11-serviced.service
 +if you want to use your vnc server in the future, start it manually via an ssh session: 
 +  sudo systemctl start vncserver-x11-serviced.service
 +and stop it once you're done 
 +  sudo systemctl stop vncserver-x11-serviced.service
 +
  
  • octodash.txt
  • Last modified: 23.12.2020 08:28
  • by Pascal Suter