/
X11 Forwarding & SSH Terminate After Reboot
X11 Forwarding & SSH Terminate After Reboot
Install xbase-clients to enable the xauth mechanism for X11 forwarding
Install libpam-systemd dbus to enable SSH session termination
Why should I care?
- Enables displaying graphical dialogue on a remote terminal
- Allows for terminals to automatically exit upon node reboot
Description | Command | |
---|---|---|
1 | Install the xauth mechanism through the xbase-clients application, install libpam-systemd dbus and update the package cache | sudo apt-get install xbase-clients -y sudo apt-get install libpam-systemd dbus -y sudo apt-get update -y |
2 | Verify that X11Forwarding and UsePAM are enabled in sshd_config NOTE: By default, after installing xbase-clients, X11Forwarding will be set to yes NOTE: By default, after installing libpam-systemd dbus, UsePAM will be set to yes | grep -i X11Forwarding /etc/ssh/sshd_config | grep -v "#" grep -i UsePAM /etc/ssh/sshd_config |
3 | Reboot node to apply changes | sudo reboot |
, multiple selections available,
Related content
Part 10 - Reboot and Validate Services
Part 10 - Reboot and Validate Services
More like this
Change FQDN
Change FQDN
More like this
Staketool - Intro & Setup
Staketool - Intro & Setup
More like this
Part 8 - Configure Services
Part 8 - Configure Services
More like this
Community Hosting and Setup List for Super Nodes and Forger Nodes
Community Hosting and Setup List for Super Nodes and Forger Nodes
More like this
Part 3a - Adding swap and Benchmark
Part 3a - Adding swap and Benchmark
More like this