Remote Access Setup - UMD-AIMAR/documentation GitHub Wiki
Chrome Remote Desktop
https://askubuntu.com/questions/795703/chrome-remote-desktop-access-to-headless-ubuntu-server-16-04-machine https://researchxuyc.wordpress.com/2014/07/30/to-show-the-same-display-session-in-ubuntu-by-chrome-remote-desktop/ https://www.techrepublic.com/article/how-to-start-stop-and-restart-services-in-linux/ https://support.google.com/chrome/forum/AAAAP1KN0B0LJgIh-IJ9Lk/?hl=en&gpf=%23!topic%2Fchrome%2FLJgIh-IJ9Lk
XRDP Remote Desktop (Also installs SSH and some utility packages)
cd Downloads
git clone https://gitlab.com/johanvandegriff/zfs-server-cluster-setup
cd zfs-server-cluster-setup
sudo bash ubuntu-xrdp-only.sh
after the script ends, reboot (as instructed by a message at the end)
SSH Server (don’t need to do this if you ran the XRDP script above)
sudo apt install openssh-server
sudo systemctl enable sshd
sudo systemctl start sshd
SSH Tunnelling
https://gitlab.com/johanvandegriff/ssh-tunnel-manager
cd
git clone https://gitlab.com/johanvandegriff/ssh-tunnel-manager.git
cd ssh-tunnel-manager
./no-root-setup.sh
The script asks for several values:
URL or IP address: umd-aimar.com
SSH port of remote server: 22
Username of the account for forwarding: teamaimar
Name of the SSH key: umd-aimar
SSH port of local machine: 22
a workaround for a problem with ssh configs
ssh [email protected] 'cat .ssh/config.d/aimar >> .ssh/config'
optional: add ssh key from umd-aimar.com to the lab computer
ssh [email protected]
$ ssh-keygen -b 4096 -N "" -f /home/teamaimar/.ssh/lab_computer
$ cat "/home/teamaimar/.ssh/lab_computer.pub" | ssh aimar "cat >> /home/team/.ssh/authorized_keys"
$ echo ' IdentityFile /home/teamaimar/.ssh/lab_computer' >> .ssh/config
to access the lab computer from anywhere:
ssh -t [email protected] ssh aimar
Note: the old setup was more manual and ended up with the command:
ssh -t [email protected] ssh lab
That old setup is still in place, so either command should work until we reinstall
Upload IP Address to Slack
https://gitlab.com/johanvandegriff/slack-upload-ip
cd
git clone https://gitlab.com/johanvandegriff/slack-upload-ip.git
cd slack-upload-ip
./slack-upload-ip.sh --setup
it asks for the webhook URL. Follow this guide to generate one. The script has set up a cron job to run every 5 minutes to check if the IP address has changed, and if it has, send a message to slack. So you should get a message at the next increment of 5 minutes (on the hour, 5 past, 10 past, etc.). Bootup Message in Slack
cd ~/slack-upload-ip
sudo ./bootup-ip.sh --setup
This script will run on startup and post a message to the slack telling that it booted up, what IP address it has, and what network it is connected to.
## ROCM
rocm library installation: https://rocm-documentation.readthedocs.io/en/latest/Installation_Guide/Installation-Guide.html
rocm-tensorflow: https://rocm-documentation.readthedocs.io/en/latest/Deep_learning/Deep-learning.html
## uARM
https://github.com/uArm-Developer/RosForSwiftAndSwiftPro
https://forum.ufactory.cc/t/problems-about-controlling-uarm-via-ros/1195