This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# These instructions/commands intend to allow use of the vagrant command line tools with an existing Parallels virtual machine | |
# i.e. a .pvm subdirectory in your Parallels directory (~/Parallels/...) | |
# NOTE!! These instructions disable synced folder /vagrant | |
# these instructions assume that your newly vagrant-ized box is called provider/mybox | |
# make vagrant box directory | |
mkdir ~/.vagrant.d/boxes/prls-VAGRANTSLASH-mybox/1.0/parallels |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# on macOS, enable indirect opengl vi xquartz | |
defaults write org.macosforge.xquartz.X11 enable_iglx -bool true | |
# ssh to linux server with x forwarding, and start an opengl app | |
ssh -X user@linux_server | |
glxgears | |
# note that using indirect rendering (which is the case when going over ssh), xquartz only supports up to opengl 1.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# On the server side | |
sudo apt-get install xauth | |
vi /etc/ssh/sshd_config # Add line: X11Forwarding yes | |
# On client side | |
vi ~/.ssh/config # Add line: ForwardX11 yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo lshw -C network | |
# to see the default logical names of the network interfaces | |
sudo lshw -short -C network |