39 lines
891 B
Bash
39 lines
891 B
Bash
#!/bin/bash
|
|
#very important one to fix BEFORE steamlogin
|
|
#glxinfo
|
|
#source venv/bin/activate
|
|
export SDL_VIDEO_X11_VISUALID="0x0e5" #0x0e5
|
|
python3.8 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
|
|
|
|
|
|
|