上一篇文章已經是 2015 年底，而 2016 年都進入第四季了啊～Anyway, WordPress 如常自動更新到 4.6.1 好一陣子了。雖然這個部落格很少在更新，Twitter, Facebook, LinkedIn, 和英文的部落格還是常常在碎碎唸啊～
Recently the 13″ MBPr got upgrade to macOS Sierra 10.12. If I want to let it can act as remote X11 server of Ubuntu 14.04 (my main working VM in intranet), I have to install a X.Org X Window System that runs on macOS.
XQuartz is for this purpose , see https://www.xquartz.org/.
Then the file /etc/ssh/sshd_conf needs to be modified, and the ssh service needs up. After ssh to Ubuntu, there are some error/warning messages:
Last login: Thu Oct 6 14:32:12 2016 from 10.0.0.1 manpath: can't set the locale; make sure $LC_* and $LANG are correct linkirin@trusty:~$ gvim Fontconfig warning: ignoring UTF-8: not a valid region tag
To fix these, add two more lines in the file:
linkirin@trusty:~$ cat /etc/default/locale LANG="en_US.UTF-8" linkirin@trusty:~$ cat /etc/default/locale LANG="en_US.UTF-8" LANGUAGE="en_US.UTF-8" LC_ALL="en_US.UTF-8"
- About X11 and OS X – https://support.apple.com/en-us/HT201341
- Can’t run “ssh -X” on MacOS Sierra – http://stackoverflow.com/questions/39622173/cant-run-ssh-x-on-macos-sierra
That makes my left hand has easier life…
I choose this:
sudo vi /etc/default/keyboard
- The Flat Trantor Society: Where should the control key be?
- keyboard – How do I turn Caps Lock into an extra Control key? – Ask Ubuntu
Since the blog channel is gone and my ranking is not in top 10 anymore…