X11Forwarding unter Linux nutzen
Aus Wiki Thomas-Krenn.AG
Mit X11Forwarding können Sie grafische Programme auf einem entfernten Linux Rechner ausführen und die Bildschirmausgabe dabei lokal auf einem Linux oder Windows Rechner anzeigen lassen.
CentOS 5
Die folgenden Pakete benötigen Sie am Server für X11 Forwarding:
yum install xorg-x11-xauth dejavu-lgc-fonts
Dabei werden auch das folgende Paket als Abhängigkeit mit installiert:
libXmu x86_64 1.0.2-5
Aktivieren Sie X11Forwarding in /etc/ssh/sshd_config:
X11Forwarding yes
CentOS 4
Die folgenden Pakete benötigen Sie am Server für X11Forwarding:
yum install fonts-xorg-base yum install xauth
Dabei werden auch einige Abhängigkeiten mit installiert:
chkfontpath i386 0:1.10.0-2 fontconfig i386 0:2.2.3-7.centos4 freetype i386 0:2.1.9-6.el4 ttmkfdir i386 0:3.0.9-20.el4 xorg-x11-Mesa-libGL i386 0:6.8.2-1.EL.31 xorg-x11-font-utils i386 0:6.8.2-1.EL.31 xorg-x11-libs i386 0:6.8.2-1.EL.31 xorg-x11-xfs i386 0:6.8.2-1.EL.31
Aktivieren Sie X11Forwarding in /etc/ssh/sshd_config:
X11Forwarding yes
Anmerkungen
Falls die Font-Pakete fehlen kommt es ev. zu folgender Fehlermeldung:
No fonts found; this probably means that the fontconfig library is not correctly configured. You may need to edit the fonts.conf configuration file. More information about fontconfig can be found in the fontconfig(3) manual
Vergewissern Sie sich in diesem Fall ob Sie die oben angeführten Font-Pakete installiert haben.
