X11 Forwarding problem on smartos
[ link: smartosforward | tags: ssh X11 smartos | updated: Fri, 17 Apr 2020 12:09:21 -0400 ]
I was having problems with X11 forwarding on a smartos host. It was not working, and I kept getting the following message upon login. X11 forwarding request failed on channel 0
In the dmesg output, I saw the following:
2014-05-11T22:48:36+00:00 localhost sshd[83767]: [ID 800047 auth.error] error: Can't convert to UTF-8: Cannot convert the local codeset strings to UTF-8
After installing xauth with the "pkgin in xauth" command, everything worked as expected. Note: you will still have to have the following in your sshd_config .
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
-db
Like this article? Buy me a beer!