[Linux-HA] GUI problem
Chun Tian (binghe)
binghe.lisp at gmail.com
Tue Jun 6 01:14:44 MDT 2006
Hi,
I'm running haclient.py on my Debian box, using debian's pre-compiled
'heartbeat-2' package.
To Run haclient.py I must also install these two debian packages:
'python-gtk2' and 'python-glade', and if I want to run a remote GUI
program, I should install a X client (debian package: 'xbase-clients')
and enable the SSH's 'ForwardX11' option.
This is my 16-node HA clusters just for long-run testing:
haclient
Oh, I forgot something: the haclient.py use PAM auth plugin. I just
using 'passwd' command to give 'hacluster' user a password, then I can
pass its auth.
Ahmad Asgarinia wrote:
> Hi all,
>
> I try to run GUI on linux open suse 10.1 , heartbeat 2.0.5 but I got the messages on in the bottom, I thought I should start xserver but that didn't help me.
> Any idea what the problem is?
> Thanks in advance.
>
> linuxha1:~ # /usr/lib/heartbeat/haclient.py
> Traceback (most recent call last):
> File "/usr/lib/heartbeat/haclient.py", line 38, in ?
> import gtk, gtk.glade, gobject
> File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 37, in ?
> from _gtk import *
> RuntimeError: could not open display
>
> starting x server:
>
> linuxha1:~ # startx
> xauth: creating new authority file /root/.serverauth.10858
>
> Fatal server error:
> Server is already active for display 0
>
This indicates that maybe you already have a X server running on display
0... maybe you can use the existed X to display haclient.py's GUI window ?!
> If this server is no longer running, remove /tmp/.X0-lock
> and start again.
>
> Please consult the The X.Org Foundation support
> at http://wiki.X.Org
> for help.
> Xlib: connection to ":0.0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> giving up.
> /usr/X11R6/bin/xinit: unable to connect to X server
> /usr/X11R6/bin/xinit: No such process (errno 3): Server error.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
>
More information about the Linux-HA
mailing list