Engineer/Linux

X11 forwarding in windows

mjune.kim 2019. 8. 7. 14:36

1. Download Xming application on window

2. Change the ssh configuration on linux(or target computer)

$> sudo vi /etc/ssh/ssh_config

X11Forwarding yes

$> sudo service sshd restart

3. run putty and enable X11 forwarding

[TroubleShooting1]

qt.qpa.xcb: X server does not support XInput 2

failed to get the current screen resources

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

The X11 connection broke: I/O error (code 1)

XIO:  fatal IO error 2 (No such file or directory) on X server "localhost:10.0"

      after 365 requests (365 known processed) with 0 events remaining.

>> export DISPLAY=:0.0 

and run a gui applicaiton on putty console