Skip to content

Commit

Permalink
Added page for x11 connection problems and updated the info for the s…
Browse files Browse the repository at this point in the history
…ame problem in the faq
  • Loading branch information
marteks committed Jun 12, 2017
1 parent 8f93efa commit 27b6dde
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 23 deletions.
40 changes: 40 additions & 0 deletions help/X11-connection-problems.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
.. _X11_connection_problems:

==========================
X11 connection problems
==========================

Over the last 6-12 months we have had an increasing number of users experiencing problems when connecting to stallo with X11 forwarding enabled. We have put a lot of effort in investigating and trying to solve this but have so far not been able to come up with a solution. We have some solutions that seem to temporarily solve the problem for some users.

We are now asking for help on this because we are not able to solve it alone and for the impacted users this is a serious problem.

Here we will collect all information we have including the solutions we know have worked for some.

Description of the problem
==========================

The errormessages reported, os-es and browsers we know it apers on.

List of solutions we have tried
==========================

Espen's solution on his Mac:
--------------------------------

For Mac OS X Sierra (10.12) it is related to the fact that the xauth binary has a non-standard
placement, causing ssh to not finding it when logging in with X11 tunelling enabled (ssh -Y).

Be ware that for the OS X platform, this also inflects the usage of the safari browser when
logging in to stallo-gui, since the browser seems to read the default path setup from the system.
Using the Chrome browser solves the X11 problem on stallo-gui for OSX.

The overall sollution for Espen on his Mac was the following:

* sudo emacs -nw /etc/ssh/ssh_config
* Go to the line that starts with "# Host *" (line 20 in my config)
* Added "XAuthLocation /usr/X11/bin/xauth" under ForwardAgent and ForwardX11.
* Closed the file and closed all terminal windows.
* Opened a terminal window and logged in to Stallo. Problem gone.
* Since he had multiple user accounts on Stallo, he also had to add "X11Forwarding yes" to your sshd_config file.

24 changes: 1 addition & 23 deletions help/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -200,29 +200,7 @@ for a similar solution.

"X11 connection rejected because of wrong authentication"-problem
------------------------------------------------------------------

This is a problem that has been reported mainly from the OS X-platform (Mac) and in lesser extent
from the ubuntu linux platform. It is entirely caused be the client machine, thus we acnnot offer any
support on this issue. If you experience the abovementioned problems, you either need to contact local IT-services
or use the `remote desktop service <http://stallo-gui.uit.no/vnc/>`_
. Which is the only supported graphical login service for Stallo.

For Mac OS X Sierra (10.12) it is related to the fact that the xauth binary has a non-standard
placement, causing ssh to not finding it when logging in with X11 tunelling enabled (ssh -Y).

Be ware that for the OS X platform, this also inflects the usage of the safari browser when
logging in to stallo-gui, since the browser seems to read the default path setup from the system.
Using the Chrome browser solves the X11 problem on stallo-gui for OSX.

The overall sollution for Espen on his Mac was the following:

* sudo emacs -nw /etc/ssh/ssh_config
* Go to the line that starts with "# Host *" (line 20 in my config)
* Added "XAuthLocation /usr/X11/bin/xauth" under ForwardAgent and ForwardX11.
* Closed the file and closed all terminal windows.
* Opened a terminal window and logged in to Stallo. Problem gone.
* Since he had multiple user accounts on Stallo, he also had to add "X11Forwarding yes" to your sshd_config file.
Please look at our documentation of this problem here: :ref:`X11_connection_problems`.

Jobs and queue system
=====================
Expand Down
1 change: 1 addition & 0 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ HPC-UiT Services User Documentation
:caption: Getting help

help/faq.rst
help/X11-connection-problems.rst
help/contact.rst
help/writing-support-requests.rst
help/staff.rst
Expand Down

0 comments on commit 27b6dde

Please sign in to comment.