Thread: [Java-gnome-developer] Gtk.init throws exception when run on Ubuntu XX.XX
Brought to you by:
afcowie
From: Jason M. <agr...@gm...> - 2015-04-22 21:09:09
|
Recently tried app I did a few years ago. Same thing Xubuntu 14.04.2 DANGER: (null)-WARNING, Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-kCfLhsSIdO: Connection refused Exception in thread "main" org.gnome.glib.FatalError: (null)-WARNING Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-kCfLhsSIdO: Connection refused at org.gnome.gtk.GtkMain.gtk_init(Native Method) at org.gnome.gtk.GtkMain.init(GtkMain.java:54) at org.gnome.gtk.Gtk.init(Gtk.java:95) at com.agrellum.CompostiMate.main(CompostiMate.nrx:805) I went with ppa I then went to Oracle JDK Same. But I had this problem before with the theme selected in XFce. (Don't know if this it may help you narrow problem.) Logged in with WMaker App starts fine. |
From: Jason M. <agr...@gm...> - 2015-04-23 01:11:24
|
Maybe not theme directly. Reboot. Login to Xubuntu session. Will not start. Log out. Login into WMaker. Starts OK. Log out. Login back into Xubuntu session, Starts OK. Repeatable. On Wed, Apr 22, 2015 at 5:09 PM, Jason Martin <agr...@gm...> wrote: > Recently tried app I did a few years ago. > > Same thing Xubuntu 14.04.2 > > DANGER: (null)-WARNING, Couldn't connect to accessibility bus: Failed to > connect to socket /tmp/dbus-kCfLhsSIdO: Connection refused > Exception in thread "main" org.gnome.glib.FatalError: (null)-WARNING > Couldn't connect to accessibility bus: Failed to connect to socket > /tmp/dbus-kCfLhsSIdO: Connection refused > at org.gnome.gtk.GtkMain.gtk_init(Native Method) > at org.gnome.gtk.GtkMain.init(GtkMain.java:54) > at org.gnome.gtk.Gtk.init(Gtk.java:95) > at com.agrellum.CompostiMate.main(CompostiMate.nrx:805) > > I went with ppa > I then went to Oracle JDK > Same. > > But I had this problem before with the theme selected in XFce. (Don't know > if this it may help you narrow problem.) > > Logged in with WMaker App starts fine. > |
From: Niranjan R. <nh...@gm...> - 2015-05-06 00:50:18
|
Hi there, In case if you still have not got answer, please check this out https://askubuntu.com/questions/432604/couldnt-connect-to-accessibility-bus Essentially it says environment variable NO_AT_BRIDGE should have value 1. I faced the same problems and about linked helped me. Regards, Niranjan On 04/22/2015 06:11 PM, Jason Martin wrote: > Maybe not theme directly. > > Reboot. Login to Xubuntu session. Will not start. > Log out. Login into WMaker. Starts OK. > Log out. Login back into Xubuntu session, Starts OK. > > Repeatable. > > On Wed, Apr 22, 2015 at 5:09 PM, Jason Martin <agr...@gm... > <mailto:agr...@gm...>> wrote: > > Recently tried app I did a few years ago. > > Same thing Xubuntu 14.04.2 > > DANGER: (null)-WARNING, Couldn't connect to accessibility bus: > Failed to connect to socket /tmp/dbus-kCfLhsSIdO: Connection refused > Exception in thread "main" org.gnome.glib.FatalError: (null)-WARNING > Couldn't connect to accessibility bus: Failed to connect to socket > /tmp/dbus-kCfLhsSIdO: Connection refused > at org.gnome.gtk.GtkMain.gtk_init(Native Method) > at org.gnome.gtk.GtkMain.init(GtkMain.java:54) > at org.gnome.gtk.Gtk.init(Gtk.java:95) > at com.agrellum.CompostiMate.main(CompostiMate.nrx:805) > > I went with ppa > I then went to Oracle JDK > Same. > > But I had this problem before with the theme selected in XFce. > (Don't know if this it may help you narrow problem.) > > Logged in with WMaker App starts fine. > > > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > > > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer |
From: Jason M. <agr...@gm...> - 2015-05-06 01:23:12
|
Thanks! Works for me. On Wed, Apr 22, 2015 at 5:09 PM, Jason Martin <agr...@gm...> wrote: > Recently tried app I did a few years ago. > > Same thing Xubuntu 14.04.2 > > DANGER: (null)-WARNING, Couldn't connect to accessibility bus: Failed to > connect to socket /tmp/dbus-kCfLhsSIdO: Connection refused > Exception in thread "main" org.gnome.glib.FatalError: (null)-WARNING > Couldn't connect to accessibility bus: Failed to connect to socket > /tmp/dbus-kCfLhsSIdO: Connection refused > at org.gnome.gtk.GtkMain.gtk_init(Native Method) > at org.gnome.gtk.GtkMain.init(GtkMain.java:54) > at org.gnome.gtk.Gtk.init(Gtk.java:95) > at com.agrellum.CompostiMate.main(CompostiMate.nrx:805) > > I went with ppa > I then went to Oracle JDK > Same. > > But I had this problem before with the theme selected in XFce. (Don't know > if this it may help you narrow problem.) > > Logged in with WMaker App starts fine. > |