Linux and Windows | X11 Forwarding with SSH | VNC Alternative

preview_player
Показать описание
Why Linux doesn't need a VNC - How to setup X11 Forwarding and receive X11 clients. How to setup Windows to receive X11 clients.

*HOST*:

X11 Forwarding:
/etc/ssh/sshd_config
X11Forwarding yes
X11UseLocalHost no

*CLIENT*:

Linux:
ssh -Y [user]@[ip] -p [port]

Windows:
Recommended X server:

set DISPLAY=localhost:0.0

create /dev directory, create file tty within /dev
install x server, start x server
ssh -Y [user]@[ip] -p [port]

Optional:
disable windows shortcuts with group policy editor:

User Configuration\Administrative Templates
\Windows components\File explorer
--Turn Off Windows Key Hotkeys [disable]
-- logout, login for changes to take effect

Mac:
Recommended X server:
XQuartz

ssh -Y [user]@[ip] -p [port]

Extra:
for window managers and desktop environments, start x server in
single window or fullscreen (not multi-window)
Рекомендации по теме
Комментарии
Автор

I apologize for the audio quality difference between the Linux part and the Windows part. I'm still configuring my recording setup. Oh.. I mean... Windows made the quality worse because It's proprietary. Nevertheless, audio quality in future videos will be CRISP.

knary
Автор

Great video - That tty bug really had me hitting my head against the wall.
As a side note for anyone who's still struggling. Only trusted X11 forwarding worked for me (-Y NOT -X)

samrg
Автор

Thank you for so much! Your examples for Windows set up are awesome 👍 I would saved a headache if I have found this earlier 🙂

atothek
Автор

The best video I have find on the subject. I was not able to display the Linux apps throught ssh X11 forwarding due to Windows bug.

Once the creation of the folder, the file and then the export of the display variable, I was able to see the exported one in the VPS and export apps with <app> & in Vcxsrv 😀

Thanks a lot man

tonybengue
Автор

thanks to your great video. but anyway, can i know about your background wallpaper of early terminal part on video?

choibino
Автор

Great video. Only issue I have is that the gedit myfile & opens on the server, not on my PC.

ScreenPrintR
Автор

How did you enable fingerprint authentication in the terminal?
And thumbs up for the good video 👍

Æterisk
Автор

What desktop environment do you use? It looks pretty and minimalist, thanks!

javqui
Автор

Worked but the performance is really bad. I'm trying to create a thin client using raspberry pi zero on it. I can use VNC fine but I can't get sound. Thanks for the tutorial.

EvonOSmith
Автор

I did all of the instructions and the publickey bug still happened >:(

akkairahkel
welcome to shbcf.ru