Remote X capability is switched off by default in SUSE.
If you need xhost +
hostname capability, you must edit your display manager configuration in /etc/sysconfig/displaymanger with a text editor or in YaST's /etc/sysconfig editor.
change
Code:
# Allow remote access to your display manager (xdm/kdm). Please note
# that a modified kdm or xdm configuration, e.g. by KDE control center
# will not be changed.
#
DISPLAYMANAGER_REMOTE_ACCESS="no"
# Tcp port 6000 of Xserver. When set to "no" (default) Xserver is
# started with "-nolisten tcp". Only set this to "yes" if you really
# need to. Use ssh X11 port forwarding whenever possible.
#
DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="no"
both to "yes"
Also in /etc/opt/kde3/share/config/kdm/kdmrc
Code:
[Xdmcp]
# Whether KDM should listen to incoming XDMCP requests.
# Default is true
Enable=false
change Enable to true.
ssh -X is the preferred way of forwarding an X session.
VNC is another possibility.