projects-jenz/AutismBotIngame/python/start.sh

39 lines
888 B
Bash
Raw Normal View History

2020-01-23 23:15:26 +01:00
#!/bin/bash
#very important one to fix BEFORE steamlogin
#glxinfo
#source venv/bin/activate
export SDL_VIDEO_X11_VISUALID="0x0e5" #0x0e5
python connectServer.py
###Nomachine related
#/etc/NX/nxserver --startsession --virtual --type unix-console
#sudo nano /usr/NX/etc/node.cfg
#/usr/NX/bin/nxserver --startsession --virtual --type unix-console
#UNITY
#DefaultDesktopCommand "/etc/X11/Xsession 'gnome-session -session=ubuntu'"
#run nxserver with sudo
# sudo /etc/NX/nxserver --useradd john --system
#https://www.nomachine.com/DT04O00139#7.1
#/usr/NX/bin/nxclient
#/etc/NX/nxserver has to be turned on and active with a user for
#/usr/NX/bin/nxclient
#/usr/NX/bin/nxplayer can connect to desktop
#sudo /etc/NX/nxserver --restart
#sudo /usr/NX/bin/nxserver --restart
#default desktop command without folder, put as startxfce4 or gnome-session --session=gnome