Environment
- Raspberry Pi 3B+
- Raspberry Pi OS / Debian 13
- GPIO 5" LCD
- LCD-show latest version
Problem
The LCD-show installation copies its own ~/.bash_profile into the user's home:
sudo cp -rf ./etc/.bash_profile /home/$username/
The shipped file contains:
export FRAMEBUFFER=/dev/fb1
startx 2> /tmp/log_output.txt
As a result, every SSH login executes startx.
Symptoms:
- SSH prompt appears on the LCD.
- SSH session appears to hang.
- Pressing Ctrl+C restores the SSH shell.
- A second X session is attempted.
Expected behavior
LCD-show should not overwrite ~/.bash_profile, and should not automatically execute startx.
Modern systems already start the graphical session using systemd services (for example KlipperScreen.service).
The only required setting appears to be:
export FRAMEBUFFER=/dev/fb1
Replacing ~/.bash_profile with the default Debian version (or simply commenting out startx) fixes the problem completely.
Environment
Problem
The LCD-show installation copies its own ~/.bash_profile into the user's home:
The shipped file contains:
As a result, every SSH login executes startx.
Symptoms:
Expected behavior
LCD-show should not overwrite ~/.bash_profile, and should not automatically execute startx.
Modern systems already start the graphical session using systemd services (for example KlipperScreen.service).
The only required setting appears to be:
Replacing ~/.bash_profile with the default Debian version (or simply commenting out startx) fixes the problem completely.