You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
579 B
26 lines
579 B
## BLA BLA instance type
|
|
|
|
|
|
# Inside debian
|
|
|
|
## Install graphical interface
|
|
wget https://steamcdn-a.akamaihd.net/client/installer/steam.deb
|
|
sudo apt -y install openbox xterm xserver-xorg vnc4server ./steam.deb gcc make linux-headers-$(uname -r) unzip
|
|
|
|
# Follow https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-nvidia-driver.html#nvidia-gaming-driver
|
|
|
|
mkdir ~/.vnc
|
|
cat <<EOF > ~/.vnc/xstartup
|
|
#!/bin/sh
|
|
unset SESSION_MANAGER
|
|
unset DBUS_SESSION_BUS_ADDRESS
|
|
exec openbox-session
|
|
EOF
|
|
|
|
cat <<EOF > ~/.vnc/config
|
|
securitytypes=tlsvnc
|
|
geometry=1920x1080
|
|
localhost
|
|
dpi=96
|
|
EOF
|
|
|
|
|