[opensuse] Remote X client refused by local X server
I'm trying to get remote Xapps running on an old Solaris 2.5/CDE/X11R5 sun host to display on my "local" openSUSE 11.1 Gnome workstation, both on the same, trusted local network. The Sun Solaris doesn't have ssh available, so X forwarding isn't possible. I use NX connection to the Suse workstation. 1) Local Suse workstation (Xserver): I've tried to follow this guide to configure the Xserver and XDMCP (for remote CDE dtlogin in the next phase): http://www.novell.com/communities/node/6669/rdp-linux-managing-gui-displays-... That is edited /etc/sysconfig/displaymanager so that /etc/gdm/gdm_sysconfig.conf contains: DISPLAYMANAGER_REMOTE_ACCESS="yes" DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="yes" ps -ax | grep X 29989 tty7 Ss+ 0:10 /usr/bin/X :0 -br -verbose -auth /var/run/gdm/auth-for-gdm-jJuKRn/database vt7 xhost + Disabled Suse Firewall and AppArmor 2) Remote Sun (Xclient): Use a telnet login from Suse, export the DISPLAY to Suse and try to start an Xapplication. Solaris uses csh. setenv DISPLAY ip_adr_of_suse:0.0 xclock This generates the following error messages and no xclock on Suse: Xlib: connection to "ip_suse_desktop:0.0" refused by server Xlib: No protocol specified 3) While the guide above used 'xhost +' only, I thought maybe additional Xauth was neccessary. Copied the magic keycode using 'xhost list $DISPLAY' on Suse and pasted it manually to Sun using 'xhost> add' according to the follwoing howto, telnet section http://tldp.org/HOWTO/Remote-X-Apps-6.html#ss6.2 Now the error messages changed to xclock Xlib: connection to "ip_suse_desktop:0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key Error: Can't open display: "ip_suse_desktop:0.0" Tried the same using an openSUSE 10.3 remote machine and got similar errors when starting xclock there. (using 'ssh -X' here works ok). My question is: Howto solve this Xserver access problem? May the NX connection and not a normal local Gnome/X11 login cause problems for the X authorization? Rgds, Terje J. Hanssen -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Terje J. Hanssen