public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Aaron Lauterer <a.lauterer@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH v3 docs] ha-manager: simulator: add note for xauth and ssh config
Date: Wed, 10 Feb 2021 13:50:28 +0100	[thread overview]
Message-ID: <20210210125028.3128-1-a.lauterer@proxmox.com> (raw)

Installing the ha-simulator on a PVE node directly to start it via ssh
and x11 forwarding will need the 'xauth' package installed on the PVE
node as well and X11Forwarding enabled.

Otherwise one is likely to encounter the following error when starting
the simulator: `Unable to init server: Could not connect: Connection
refused`

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
---
third times the charm (hopefully) ;)

v3: Rephrased the note to make it clear that xauth is needed and that
X11Forwarding needs to be enabled in the sshd_config file.

Moved the note further up, right after where SSH forwarding
possibilities are discussed.

Dropped the dependency patch as handling this situation technically is
harder than assumed at first. See [0] for more infos.

[0] https://lists.proxmox.com/pipermail/pve-devel/2021-February/046981.html


 ha-manager.adoc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ha-manager.adoc b/ha-manager.adoc
index 2162d25..7de0754 100644
--- a/ha-manager.adoc
+++ b/ha-manager.adoc
@@ -485,6 +485,10 @@ ssh root@<IPofPVE> -Y
 
 On Windows it works with https://mobaxterm.mobatek.net/[mobaxterm].
 
+NOTE: If you want to forward the simulator window over SSH, install the `xauth`
+package on the {pve} node and make sure that the 'X11Forwarding' option in the
+`/etc/ssh/sshd_config` file is set to 'yes'.
+
 After connecting to an existing {pve} with the simulator installed or
 installing it on your local Debian-based system manually, you can try it out as
 follows.
-- 
2.20.1





                 reply	other threads:[~2021-02-10 12:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210210125028.3128-1-a.lauterer@proxmox.com \
    --to=a.lauterer@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal