From daeb8ee9530d1f14122e31bb6773262099c4726f Mon Sep 17 00:00:00 2001 From: ducoterra Date: Sat, 29 Jul 2023 09:55:47 -0400 Subject: [PATCH] add login script from ssh --- pc_fedora.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pc_fedora.md b/pc_fedora.md index 9ec431e..1d24068 100644 --- a/pc_fedora.md +++ b/pc_fedora.md @@ -11,8 +11,8 @@ protect. 2. Launch the installer 3. Select all 3 drives and select "Advanced Custom (Blivet-GUI)" 4. Click Done -5. On the 500GB drive create a 1024GB 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" +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 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 "/" 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" @@ -543,3 +543,12 @@ and doesn't work very well for anything more than basic video playback. sudo dnf remove totem 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 +```