[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [orca-list] trouble running Orca



This error really means that the Orca process cannot get to the X
Windows System server.  The main check for doing this in the Orca code
is around line 1314 in orca.py:

   gtk.gdk.display_get_default()

You might try running the following via Alt+F2 to see what happens:

    python -c "import gtk; gtk.gdk.display_get_default()"

I'm not sure if you'll get an error, but this might be worth a shot.
Or, you might try changing the 'pass' at line 1317 in orca.py to:

    debug.printException(debug.LEVEL_OFF)

Finally, maybe trying doing something such as "xhost +" in a terminal
window.  This will disable a lot of security stuff, which might be
getting in the way.

Will

On Mon, 2007-06-18 at 07:50 -0400, Mike Gorse wrote:
> I'm having trouble starting Orca.  I type alt-f2, orca, enter, and I get 
> this message:
> 
> Cannot start orca because it cannot connect to the Desktop.  Please make 
> sure the DISPLAY environment variable has been set.
> 
> Does anyone know what this might mean or where the message is coming 
> frolm?  I can't find that error string anywhere I've looked...
> 
> I've tried starting gnome-terminal and exporting environment variables 
> from it, and display is, in fact, set.
> 
> I've had Orca working on this machine before but presumably broke things 
> by upgrading something somewhere along the line. *sigh*
> 
> -- Mike Gorse / AIM:linvortex / http://mgorse.freeshell.org --
> _______________________________________________
> Orca-list mailing list
> Orca-list gnome org
> http://mail.gnome.org/mailman/listinfo/orca-list
> Visit http://live.gnome.org/Orca for more information on Orca




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]