add login script from ssh

This commit is contained in:
ducoterra
2023-07-29 09:55:47 -04:00
parent 55d22dc1a1
commit daeb8ee953

View File

@@ -11,8 +11,8 @@ protect.
2. Launch the installer 2. Launch the installer
3. Select all 3 drives and select "Advanced Custom (Blivet-GUI)" 3. Select all 3 drives and select "Advanced Custom (Blivet-GUI)"
4. Click Done 4. Click Done
5. On the 500GB drive create a 1024GB ext4 partition, label it boot, and mount it at "/boot" 5. On the 500GB drive create a 1024MB ext4 partition, label it boot, and mount it at "/boot"
6. On the 500GB drive create a 600GB efi partition, label it efi, and mount it at "/boot/efi" 6. On the 500GB drive create a 600MB efi partition, label it efi, and mount it at "/boot/efi"
7. On the 500GB drive create an encrypted btrfs partition with the rest of the space and mount it at "/" 7. On the 500GB drive create an encrypted btrfs partition with the rest of the space and mount it at "/"
8. On the slower 1TB drive create an encrypted btrfs partition and mount it at "/home" 8. On the slower 1TB drive create an encrypted btrfs partition and mount it at "/home"
9. On the faster 1TB drive create an unencrypted btrfs partition and mount it at "/steam" 9. On the faster 1TB drive create an unencrypted btrfs partition and mount it at "/steam"
@@ -543,3 +543,12 @@ and doesn't work very well for anything more than basic video playback.
sudo dnf remove totem sudo dnf remove totem
sudo dnf install ffmpegthumbnailer sudo dnf install ffmpegthumbnailer
``` ```
## Login script from SSH
Useful for when you can't log in yourself but you need to launch steam.
```bash
loginctl unlock-sessions
read -s pass && echo -n $pass | gnome-keyring-daemon --unlock --replace
```