#!/bin/bash -f ###################################################################### # Artemis Nebula X11 script, (C) 2015-2020 Nosey Nick Waterman, # https://noseynick.org/artemis/nebula/ # All wrong righted, all rights reserved. Licensed under thev GNU # Affero General Public License v3.0 https://www.gnu.org/licenses/agpl.txt # with Commons Clause https://commonsclause.com/ v1.0 ###################################################################### banner X11 server startup [[ "$DISPLAY" ]] || export DISPLAY=:20 if [[ -x /usr/bin/gcloud ]]; then # Trying to support Google Cloud as well sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x768x8 -nolisten tcp & else # +++++++++++++++++++ Azure seems to have 1152x864 px # apt install x11-xserver-utils # for xrandr # ... but xrandr offers only: # minimum 1152 x 864, current 1152 x 864, maximum 1152 x 864 # Change artemis.ini gameWindowWidth=1280 gameWindowHeight=700 and rewrite all click tools? sudo Xorg $DISPLAY -nolisten tcp & # ++++++++++ Why root? fi