When booting the jPC for the first time, it will boot into the user interface of the jPC administration program.
The administration program provides a much more immediate benefit to users than a desktop:
Any features not accessible in the administration program can be accessed via a terminal console.
The administration program is a .NET Blazor Server program bound to port 7080. It needs to run with elevated privileges (i.e. sudo), so it runs as a system service.
To stop and disable the service run
sudo systemctl stop jpc-admin sudo systemctl disable jpc-admin
By default, once booted, the administration program is displayed in a Chromium kiosk browser window on the local LCD.
This is controlled in the ~/autorun/autorun.sh script with the command /opt/ComfileTech/jpc-admin/show_ui.
To prevent the local display from appearing, simply comment out the /opt/ComfileTech/jpc-admin/show_ui in the ~/autorun/autorun.sh script and reboot.
The administration program's user interface can also be displayed remotely, independently of the remote desktop feature, by creating an SSH tunnel to port 7080 and then opening the UI in the client computer's web browser:
ssh -L 7080:localhost:7080 admin@{jpc_ip_address} to authenticate and create the SSH tunnel.http://localhost:7080 in the client's web browser.The SSH tunnel has the benefit of utilizing the jPC's existing authentication, authorization, and secure encryption features, so they don't need to be duplicated for the HTTP(S) endpoint.