Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save StudioEtrange/6d382f48b45246c304d1f7571955bfb8 to your computer and use it in GitHub Desktop.

Select an option

Save StudioEtrange/6d382f48b45246c304d1f7571955bfb8 to your computer and use it in GitHub Desktop.
X11 server on linux and windows client configuration

X11 server on linux and windows client configuration

Configuration 1

Server X11 on LINUX (without any X related package) (192.168.71.126)

/etc/ssh/sshd_config
#AllowAgentForwarding yes
#AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes

client on WINDOWS with Xming (192.168.71.14)

c:\Xming\X0.hosts
localhost
192.168.71.126
With putty and putty setting X11 Forwarding on
[OK] DISPLAY=192.168.71.14:0 ./stella/workspace/feature_linux/rhel/pycharm/2017_2_3_community/bin/pycharm.sh &
[KO] DISPLAY=192.168.71.126:10.0 ./stella/workspace/feature_linux/rhel/pycharm/2017_2_3_community/bin/pycharm.sh &
With putty and putty setting X11 Forwarding off
[OK] DISPLAY=192.168.71.14:0 ./stella/workspace/feature_linux/rhel/pycharm/2017_2_3_community/bin/pycharm.sh &
[KO] DISPLAY=192.168.71.126:10.0 ./stella/workspace/feature_linux/rhel/pycharm/2017_2_3_community/bin/pycharm.sh &

Configuration 2

Server X11 on LINUX (without any X related package) (192.168.71.126)

/etc/ssh/sshd_config
AllowAgentForwarding yes
AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no

client on WINDOWS (with Xming) (192.168.71.14)

c:\Xming\X0.hosts
localhost
192.168.71.126
With putty and putty setting X11 Forwarding on
[OK] DISPLAY=192.168.71.14:0 ./stella/workspace/feature_linux/rhel/pycharm/2017_2_3_community/bin/pycharm.sh &
[OK] DISPLAY=192.168.71.126:10.0 ./stella/workspace/feature_linux/rhel/pycharm/2017_2_3_community/bin/pycharm.sh &
With putty and putty setting X11 Forwarding off
[OK] DISPLAY=192.168.71.14:0 ./stella/workspace/feature_linux/rhel/pycharm/2017_2_3_community/bin/pycharm.sh &
[KO] DISPLAY=192.168.71.126:10.0 ./stella/workspace/feature_linux/rhel/pycharm/2017_2_3_community/bin/pycharm.sh &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment