Skip to content

Instantly share code, notes, and snippets.

View syanyong's full-sized avatar
🏠
Working from home

Sarucha Yanyong syanyong

🏠
Working from home
View GitHub Profile
@greyltc
greyltc / launch-GRD.sh
Last active June 27, 2024 08:04
configures then activates gnome-remote-desktop from the command line
#!/usr/bin/env bash
# run this on the remote terminal machine, as auser with sudo powers, probably through a remote ssh shell
# this will overwrite all the settings it touches
# the name of the user to run these commands as
TARGET_USER=jane
# we need an inlocked desktop session. we can either start a new autologin one or unlock an existing one