とある技術者の劣等感
いつもの。
12345678910111213141516
#!/bin/sh -eif [ $# -ne 1 ]; then echo "Pass password of running user to execute command as root" 1>&2 exit 1fiecho $1 | sudo apt install -y xrdpD=/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktopcat <<EOF > ~/.xsessionrcexport GNOME_SHELL_SESSION_MODE=ubuntuexport XDG_CURRENT_DESKTOP=ubuntu:GNOMEexport XDG_DATA_DIRS=${D}export XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdgEOF