Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
To visualize the GUI on a local display, we run a web browser configured to operate in kiosk mode.
<pre class="workstation-terminal">
 
armbian@sbcorca-00a5:~$ sudo apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
...
armbian@sbcorca-00a5:~$ sudo apt-get install chromium
Reading package lists... Done
...
files </pre>   [Unit]Description=Weston wayland compositorAfter=systemd-logind.service # D-Bus is necessary for contacting logind. Logind is required.Wants=dbus.socketAfter=dbus.socketBefore=graphical.target [Service]Type=oneshotEnvironmentFile=/etc/libdefault/westonExecStart=/systemdusr/systembin/weston--shell=kiosk-shell.serviceso # The user to run Weston as.User=rootGroup=root # Make sure the working directory is the users home directoryWorkingDirectory=/libroot/systemdweston # Set up a full user session for the user, required by Weston.PAMName=weston-autologin # A virtual terminal is needed.TTYPath=/systemdev/browser.servicetty7TTYReset=yesTTYVHangup=yesTTYVTDisallocate=yes
sudo touch /etc/default/weston[Install]WantedBy=graphical.target
/lib/systemd/system/weston.service
armbian@sbcorca-00a5:~$ sudo touch /etc/default/weston
armbian@sbcorca-00a5:~$ sudo mkdir /root/weston
armbian@sbcorca-00a5:~$ sudo systemctl enable weston
Created symlink /etc/systemd/system/graphical.target.wants/weston.service → /lib/systemd/system/weston.service.
armbian@sbcorca-00a5:~$ sudo systemctl start weston
Job for weston.service failed because of unavailable resources or another system error.
See "systemctl status weston.service" and "journalctl -xe" for details.
 
</pre>
<pre class="workstation-terminal"> armbian@sbcorca-00a5:~$ sudo apt-get install chromiumReading package lists... Done...
/lib/systemd/system/browser.service
armbian@sbcorca-00a5:~$ sudo systemctl enable browser
Created symlink /etc/systemd/system/graphical.target.wants/browser.service → /lib/systemd/system/browser.service.
armbian@sbcorca-00a5:~$ sudo systemctl start browser
</pre>
TBD
4,650
edits