README.md 956 Bytes
Newer Older
Neil Gershenfeld's avatar
wip  
Neil Gershenfeld committed
1
<pre>
Neil Gershenfeld's avatar
Neil Gershenfeld committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install gedit chromium-browser git npm guvcview tightvncserver xtightvncviewer openssh-server geeqie

git clone ssh://git@gitlab.cba.mit.edu:846/pub/cams.git
git clone ssh://git@gitlab.cba.mit.edu:846/pub/mods.git

ssh -L 5901:127.0.0.1:5901 -N -f -l user_name ip_address
ssh -L 5901:127.0.0.1:5901 -l user_name ip_address

tightvncserver.service:

[Unit]
Description=TightVNC remote desktop server
After=sshd.service
 
[Service]
ExecStart=/usr/bin/tightvncserver :1 -localhost
User=fab
Type=forking
 
[Install]
WantedBy=multi-user.target

.vnc/xstartup:

#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
cd /home/fab/mods
http-server&
chromium-browser 127.0.0.1:8080/?program=programs/iterate/z%20theta%20scan&
/etc/X11/Xsession