Minimal changes necessary to export display to SuSE 9.3 I was having the same problem, and thanks to your advice I fixed it right away after hours of beating my head on this!
For further reference for anyone interested, I found after further investigation
that at the minimum, there were only 2 changes necessary to make this work for my SuSE 9.3 box:
(1) DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="yes" in /etc/sysconfig/displaymanager
(2) remove (comment-out) the "ServerArgsLocal= -nolisten tcp" line in /etc/opt/kde3/share/config/kdm/kdmrc
I also un-commented the two "x11" lines in /etc/services just for form's sake (if I'm using the X service, these lines may as well be uncommented). But to my surprise, this didn't seem to affect my ability to connect to the X server one way or the other.
I also found the following files or parameters to be of interest, although not necessary to make any changes to these for things to work on my box:
in /etc/sysconfig/displaymanager:
DISPLAYMANAGER_ROOT_LOGIN_REMOTE
- this was necessary to connect to the X server, only if I had telnet-ed to the application machine (X client machine) from a root shell on the X server machine (the SuSE 9.3 box) (I didn't try exporting display from a root shell on the X client machine so I don't know if it affects this)
DISPLAYMANAGER_REMOTE_ACCESS
- this didn't seem to affect ability to connect to the X server, maybe it's for accessing the actual display manager (not the X server itself) remotely?
/opt/kde/share/config/kdm/kdmrc
- same file as /etc/opt/kde/share/config/kdm/kdmrc, but changes in this file didn't seem to affect anything. It must be just an installation copy for reference or re-configuration to defaults, not an actively-used config file.
/etc/X11/xdm/Xservers
- contains "-nolisten tcp" arguments, but didn't seem to matter, presumably becuase I am using kdm, not xdm. Perhaps it matters if using xdm.
/etc/X11/xinit/xserverrc
- consults the variable DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN in /etc/sysconfig/displaymanager and sets "-nolisten tcp" if "no". I would say one should never need to modify this file, but it's something useful to know about.
T.R. |