Open mmcky opened 1 year ago
local machine has to open the Tailscale (otherwise can't vnc)
download vnc viewer through this link
connect without login, input the ip address (copied from Tailscale) and port number quantlab: 100.119.59.94:5902 frank: 100.119.59.94:5903
input the vnc password: quantlab (could select remember the password)
todo:
below is how to set up a new user's vnc on quantecon-gpu-server2:
vncserver
vncserver -kill :1
vim ~/.vnc/xstartup
#!/bin/sh
unset SESSION_MANAGER unset DBUS_SESSION_BUS_ADDRESS
/usr/bin/startxfce4
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources x-window-manager &
4. make this file executable
chmod +x ~/.vnc/xstartup
5. restart the VNC server (5901 input 1)
vncserver -localhost no :1
reference [link](https://bytexd.com/how-to-install-configure-vnc-server-on-ubuntu/)
It would be nice to have full desktop environments that can be exported from the
quantecon
servers for those that don't want to usessh
and reverse tunnels (or for maintenance tasks that are sometimes easier to do in a graphical environment).The goal is to have full
gnome
environment exported but perhaps we can look through some of the more lightweight options such asxfce
one of @jstac favourites :-).