Ответ @Demi хорош, но я думаю, что его заполнение было бы большим подспорьем.
Пульт/etc/ssh/sshd_config
:
X11Forwarding no
X11DisplayOffset 10
X11UseLocalhost yes
Пульт ~/.Xauthority
пуст или не существует
По местному:
Xephyr -ac -screen 1280x800 -br -reset :2 &
DISPLAY=:2 ssh -fR 6010:/tmp/.X11-unix/X2 user@remote "DISPLAY=:10 xeyes"
Во время теста на локальном компьютере работала Ubuntu 18.05, а на удаленном — Debian Jesse.
Мне удалось найти проблему благодаря этим конкретным строкам вывода из dmesg | grep iwl
, которые показывают, что iwlwifi не может проверить адаптер:
[ 56.478063] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002)
[ 56.511447] iwlwifi: probe of 0000:04:00.0 failed with error -110
Более конкретный поиск неудачного зондирования привел меня к выводу, что проблема была связана с одновременной загрузкой Windows 10 и включением функции «быстрого запуска» Windows (по умолчанию ). Отключение этого решило проблему для меня.
Соответствующий текст изhttps://wireless.wiki.kernel.org/en/users/drivers/iwlwifi#about_dual-boot_with_windows_and_fast-boot_enabled:
If you have a dual-boot machine with a recent version of Windows and start seeing problems during initialization of the WiFi device when booting Linux, the problem could be due to the “fast startup” feature on Windows.
With this feature enabled, Windows don't really shut down the entire system, but leaves things partially running so you can start the machine faster again. Try to disable this option, on Windows 10 it should be in “Control Panel→Hardware and Sound→Power Options→System Settings”. Select “Chooose what the power buttons do” to access the System Settings from the Power Options. Then disable the “Fast Startup” option in “Shutdown Settings”. This will cause Windows to fully shutdown and may solve the issue.