gpsd-users
[Top][All Lists]
Advanced

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

[gpsd-users] gpsd-clients: xpgs: could not open display


From: David Murray
Subject: [gpsd-users] gpsd-clients: xpgs: could not open display
Date: Mon, 13 Jan 2014 00:25:16 -0000

Hi,

To start off, some information about my current set up:

- Raspberry Pi (model A) running Raspbian.
- Adafruit Ultimate GPS Breakout v3.
- gpsd: 3.6 (revision 3.6).

I have been using cgps successfully for the last couple of weeks, and I wanted to try and use its graphical older brother, xgps. First, I started gpsd using the following command:

sudo gpsd /dev/ttyAMA0 -F /var/run/gpsd.sock

Then, I launched the X server using the ‘startx’ command and after a few seconds I was able to see my desktop on my HDMI monitor. However, I ran into some issues with xgps.

address@hidden ~ $ xgps
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
/usr/bin/xgps:444: Warning: invalid (NULL) pointer instance
  self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
/usr/bin/xgps:444: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
/usr/bin/xgps:445: GtkWarning: IA__gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
  if not self.window.get_display():
Traceback (most recent call last):
  File "/usr/bin/xgps", line 860, in <module>
    base = Base(deg_type=degreefmt)
  File "/usr/bin/xgps", line 446, in __init__
    raise Exception("Can't open display")
Exception: Can't open display
address@hidden ~ $

I’m not sure what is causing this.

Thanks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]