[SSI-users] Starting X applications in loadlevel.conf
Brought to you by:
brucewalker,
rogertsang
From: Miguel B. C. <dir...@ci...> - 2004-06-07 08:31:55
|
Hello, I posted this message in the developer list, the past night, I think that it's a interest thing to resolv : Hello, I am trying to loadleveling with mozilla, gftp ...etc. For this I try to execute: onnode 2 gftp but it returns : (gftp-gtk:69038): Gtk-WARNING **: cannot open display: or x11drv: Can't open display: :0.0 Please ensure that your X server is running and that $DISPLAY is set correctly. I make all the changes in /etc/inittab and /etc/security/console.perm , but I still have the same problem... some hint? Regards, PD: I am using a 'clean' Red Hat 9. Bye! Miguel. The answer of John Hughes was: The problem is that $DISPLAY is :0.0, so the application uses the socket /tmp/.X11-unix/X0 to talk to X. But by doing "onnode 2" you have a different /tmp: $ onall ls -li /tmp/.X11-unix/X0 (node 1) 391098 srwxrwxrwx 1 root root 0 2004-06-01 14:19 /tmp/.X11-unix/X0 (node 3) 715448 srwxrwxrwx 1 root root 0 2004-06-03 18:34 /tmp/.X11-unix/X0 So you're trying to talk to the wrong X. You can do it by telling X to use TCP. But you'll have a pretty hard time getting the authorisation right. (I tried to work around this making /tmp/.X11-unix a non-CDSL, and giving each node it's own display number, but I had huge problems with authorisation, X didn't like "local" access from a machine with a different hostname). Excuse me from cross-over the mailing list... Regards, Miguel |