Ошибка X11 с macOS 10.15.4 на OracleLinux7 - PullRequest
1 голос
/ 28 мая 2020

Я пытаюсь заставить работать пересылку x11 с моего ma c на OracleLinux7 для установки Oracle. Вот команда и ошибки, которые я получаю:

ssh -Y user@foo.bar.com
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
Warning: No xauth data; using fake authentication data for X11 forwarding.
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug1: Sending env LC_TERMINAL_VERSION = 3.3.9
debug1: Sending env LC_TERMINAL = iTerm2
debug1: Remote: X11 forwarding disabled in user configuration file.
X11 forwarding request failed on channel 0

При попытке запустить xeyes или xclock

[user@foo ~]$ xeyes
Error: Can't open display:
[user@foo ~]$ echo $DISPLAY

[user@foo ~]$ 

Ниже приведены конфигурации для ma c и linux box:

OL7: / etc / sshd / sshd_config

# Use most defaults for sshd configuration.
Subsystem sftp internal-sftp
ClientAliveInterval 180
UseDNS no
UsePAM yes
PrintLastLog no # handled by PAM
PrintMotd no # handled by PAM
TrustedUserCAKeys /etc/ssh/trustedusercakeys.pem
PasswordAuthentication no
X11Forwarding yes
X11UseLocalhost yes
ChallengeResponseAuthentication no

Ma c: Использование xQuartz

~/.ssh/config
Host *
  ForwardX11 yes
echo $DISPLAY
/private/tmp/com.apple.launchd.HVJpmjSBkf/org.macosforge.xquartz:0

Шаги, предпринятые для исправления: xauth + на машине linux возвращает

[user@foo ~]$ xauth
xauth:  file /home/adahlman/.Xauthority does not exist
Using authority file /home/adahlman/.Xauthority
xauth> exit

[user@foo ~]$ xauth +
xauth:  file /home/user/.Xauthority does not exist
xauth: (argv):1:  unknown command "+"

Я пробовал изменить различные параметры X11Forwarding на yes и no, но все еще без кубиков. Любые идеи? Может ли это быть проблема с PAM?

...