Wednesday, April 20, 2016

Ubuntu 16.04 and Matlab 2016a: MATLAB has encountered an internal problem and needs to close

There is some problem with matlab UI GPU-based rendering on nvidia as this is causing this problem
Stack Trace (from fault):
[ 0] 0x00007f5bbc4a024d /usr/lib/nvidia-361-updates/

The workaround is to launch matlab without GPU rendering: opt/MATLAB/R2016a/bin/matlab -softwareopengl

Thursday, April 14, 2016

Ubuntu: ssh to tor server

On the server:

Add this to /usr/tor/torrc HiddenServiceDir /var/lib/tor/sshd/
HiddenServicePort 22

Restart tor sudo service tor restart
Onion hostname file for the ssh service should be created sudo cat /var/lib/tor/sshd/hostname
Take note of the hostname
On the client:
Have tor browser running on the client.

Add this to ~/.ssh/config: host hidden hostname your_onion_hostname.onion
proxyCommand nc -x %h %p

Wednesday, April 13, 2016

Saturday, April 09, 2016

Ubuntu 16:04: Install Krusader with dependencies

sudo apt install krusader krename kdiff3 konsole kde-baseapps-bin Without kde-baseapps-bin, bookmarks manager does not work.