Difference between revisions of "Command Line User Guide"

From ZynthianWiki
Jump to: navigation, search
(SSH/SFTP access:)
(Stopping/Starting the Zynthian Webconf)
Line 39: Line 39:
If you need access the webconf's log messages, you can use:
If you need access the webconf's log messages, you can use:
  journalctl -u zynthin-webconf
  journalctl -u zynthian-webconf
=Viewing the Zynthian graphics display on a computer=
=Viewing the Zynthian graphics display on a computer=

Latest revision as of 22:54, 11 August 2020

Use ssh to remotely access the console (terminal) of the Zynthian from another computer. Use the ssh command on Linux/Mac Terminal or use the freely downloadable PuTTY software for Windows. In most modern computer, using the name "zynthian.local" should work. If it doesn't, you can use the IP address too. See Finding your IP address for help on this.

SSH/SFTP access:

login: root
password: raspberry

If you use ssh from the linux/mac terminal, it's so easy as:

ssh root@zynthian.local
  • User pi doesn't exist any more
  • It's a good idea to change the password, specially if your zynthian is connected to public networks. You can do it easily from the webconf.

Base Directory:


Most of zynthian stuff is in this directory.

Stopping/Starting the Zynthian UI

You must use systemd-style commands to stop & start any system service. For the zynthian UI you would use:

systemctl stop zynthian
systemctl start zynthian

If you want to run the Zynthian UI in the console, you must stop the zynthian service and run the zynthian UI as a normal script using these commands:

systemctl stop zynthian

Running zynthian from the console (terminal) allows you to view the detailed debug messages, which is convenient for solving issues. Posting these to the forum will enable experts to help you. You can also access the UI log messages from the webconf.

Stopping/Starting the Zynthian Webconf

systemctl stop zynthian-webconf
systemctl start zynthian-webconf

If you need access the webconf's log messages, you can use:

journalctl -u zynthian-webconf

Viewing the Zynthian graphics display on a computer

If you are using Linux on your PC (or MacOSX with a X window server installed), you can login into your Zynthian box with ssh using the “-Y” flag:

 ssh -Y root@zynthian.local

this will allow you to run graphic applications in your Zynthian, while displaying the graphics window on your PC/laptop.

More detailed info

More info on this page Accessing_Zynthian_from_your_computer