homme.io
Clean.Precise.Quick.
..
PAX ROMANA
SAKURA
Фотография
Философия
Искусство
История
C/C++
DBMS
Oracle
Спорт
Linux
Lua
IT

Infinitum.Aeterna
2024.Китай
Иран в лицах
2023.Иран
2023.06.Москва
2023.Стамбул
2023.ЗИМА
2022.11.Турция
2022.ОСЕНЬ
2022.08.Зубовка
2022.07.Турция
2022.Раменское
2022.ЛЕТО
2022.Архангельское
2022.Парк 50-летия Октября
2022.Санкт-Петербург
2022.Ярославль
2022.03.Зубовка
2022.Кокошкино
2022.Сочи
2022.ВЕСНА
2022.02.Царицыно
2022.Стамбул
2022.02.Коломенское
2022.ЗИМА
2021.Зубовка
2021.ОСЕНЬ
2021.Египет
2021.Раменское
2021.ЛЕТО
2021.Дивеево
2021.Азов
2021.02.Зоопарк
2021.Карелия
2020.Санкт-Петербург
2020.Турция
2020.Аносино
2020.Азов
2020.Верея
2020.Арктика
2020.Греция
2019.Турция
2019.Зубовка
2019.Дагестан
2019.Дагестан+
2019.Египет
2019.Италия
2019.Куликово поле
2019.Калуга
2019.02.Танцы
2019.Байкал
2018.Переславль
2018.Плес
2018.Березка
2018.Крым
2018.Азов
2018.Калининград
2018.Санкт-Петербург
2018.Эльбрус
2017.Турция
2015.Египет
2013.Египет
2013.Рим
Разное

X11 Forwarding

In remote host (server, X11 client) enough(?):

yum install xauth

in /etc/ssh/sshd_config:

X11Forwarding yes

and .Xauthority file existing in user's home

 

But if there are problems with autogenerating .Xauthority file then set these parameters:

X11DisplayOffset 10

X11UseLocalhost no

 

maybe need:

yum install xorg-x11-apps or yum install xclock (when installing ora_db via ssh x11 does not work for 'oracle' user until installing xclock)

 

In mac OS X (client, X11 server) there is:

/etc/ssh/sshd_config:

# XAuthLocation added by XQuartz (http://xquartz.macosforge.org)
XAuthLocation /opt/X11/bin/xauth

/etc/ssh/ssh_config:

# XAuthLocation added by XQuartz (http://www.xquartz.org)
Host *
    XAuthLocation /opt/X11/bin/xauth

echo $DISPLAY:

/private/tmp/com.apple.launchd.uWIthx5xdu/org.macosforge.xquartz:0

echo $DISPLAY in Linux Client:

:0

 

XQuartz security settings:

403 Forbidden

 

(may be need to toggle off selinux and firewall for .Xauthority generation; also check $DISPLAY environment variable; uncomment X11Forwarding in ssh_config; and something else operations of this mind...)

(somewhere on forums takes place this solution:

in /etc/ssh/ssh_config add/uncomment:

XAuthLocation /usr/bin/xauth
ForwardX11 yes
ForwardX11Trusted yes

)

sdmrnv, 2019-07-23 [0.816ms, s]