How to use X11 forwarding with PuTTY on Windows

preview_player
Показать описание
Make sure you have X11 package install.
runn following to check

which Xauth.

else install X11 packages

As root, install the X11 packages:
yum install pam-devel.i686

Log out of root

As initial logged in user – run the following:

xauth list

Run the following command with input from the previous – e.g.:

xauth add $xauthout

sudo su -
export XAUTHORITY=~"initial logged in user"/.Xauthority

if Xauth list command returns multiple rows then pick the last one.

If you get following error while starting your application the try using other entries of Xauth list output instead.

PuTTY X11 proxy: Unsupported authorisation protocol
PuTTY X11 proxy: Unsupported authorisation protocol
Application error
...
PuTTY X11 proxy: Unsupported authorisation protocol

Also make sure Xming is runnig on windows else you will get
Following error.

PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused
Application error
...
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused

-------------------------------------------------------------

Portforwarding with SSH
How to setup X11 forwarding using ssh and putty
How to handle X11 Forwarding using SSH
How do I set up X11 forwarding?
X11 Forwarding: Set Up Instructions For Linux And Mac
Installing/Configuring PuTTy and Xming

putty x11 forwarding can't open display
x11 forwarding windows 10
putty x11 forwarding cygwin
x11 forwarding windows cygwin
what is x11 forwarding
putty x11 forwarding windows 10
x11 forwarding ubuntu

X11 Forwarding: Set Up Instructions
X11 Forwarding using SSH
X11 Forwarding using Putty on Windows
Рекомендации по теме