The error “X11 forwarding request failed on channel 0” in macos Sierra

The error ‘X11 forwarding request failed on channel 0’

  1. Edit /etc/ssh/sshd_config by adding the following lines.
# Tanaka added following 4 lines to delete the error message. 2017/July/7
# X11 forwarding request failed on channel 0
#   "/usr/X11/bin/xauth" or "/opt/X11/bin/xauth"
#
X11Forwarding yes
XauthLocation /opt/X11/bin/xauth
XauthLocation /usr/X11R6/bin/xauth
X11DisplayOffset 10
X11UseLocalhost no

The command

ssh -Y owner@lp.harima.riken.jp

gives no warning, but, once this command described in a shell file, like

-rwxr-xr-x 1 owner staff 35 10 22 2015 ~/bin/lp 

has the following line

ssh -Y owner@lp.harima.riken.jp

then, this shell command gives

Warning: No xauth data; using fake authentication data for X11 forwarding.

This warning goes out if you add

XauthLocation /opt/X11/bin/xauth
XauthLocation /usr/X11R6/bin/xauth

in the file /etc/ssh/ssh_config.

How to transfer from Mysql to Mariadb in Debian Jessie

~# script $TODAY.log
~# apt-get remove mysql-common

mysql-server (5.5.55-0+deb8u1) を削除しています …
mysql-server-5.5 (5.5.55-0+deb8u1) を削除しています …
mysql-client-5.5 (5.5.55-0+deb8u1) を削除しています …
libdbd-mysql-perl (4.028-2+deb8u2) を削除しています …
libmysqlclient-dev (5.5.55-0+deb8u1) を削除しています …
libqt4-sql-mysql:amd64 (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) を削除しています …
libmysqlclient18:amd64 (5.5.55-0+deb8u1) を削除しています …
mysql-common (5.5.55-0+deb8u1) を削除しています …
man-db (2.7.0.2-5) のトリガを処理しています …
libc-bin (2.19-18+deb8u10) のトリガを処理しています …

#apt-get install mariadb-server

libdbd-mysql-perl libmysqlclient18 mariadb-client-10.0 mariadb-client-core-10.0 mariadb-server-10.0 mariadb-server-core-10.0
suggetion:
mariadb-test tinyca
remove:
mysql-server-core-5.5
install:
libdbd-mysql-perl libmysqlclient18 mariadb-client-10.0 mariadb-client-core-10.0 mariadb-server mariadb-server-10.0 mariadb-server-core-10.0

~# mysql --version

mysql Ver 15.1 Distrib 10.0.30-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

Pukiwiki for WordPress (plugin)

This plugin is useful for transferring from pukiwiki pages to wordpress. However it is limited for “http://….” pages. Under the SSL comunication (https://…..), it makes an error message like “Fatal error: Cannot use object of type WP_Error as array in wp-content/plugins/pukiwiki-for-wordpress/pukiwiki.php on line 70”.