Re: dbus, epiphany, rekonq

2012-03-21 Thread Anton Shterenlikht
On Wed, Mar 21, 2012 at 04:12:50AM +0100, Bernt Hansson wrote:
 2012-03-19 13:21, Anton Shterenlikht skrev:
 I can't lauch www/epiphany or www/rekonq
 on ia64 -current, due to some dbus issue:
 
 TZAV  ps ax|grep dbus
   1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid 
   5 --print-address 7 --sess
   1434  2- I0:00.01 dbus-launch 
   --autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
 41284  5  RL+  0:00.00 grep dbus
 
 TZAV  epiphany
 
 ** (epiphany:41285): WARNING **: Unable to connect to session bus: Failed 
 to connect to socket /tmp/dbus-dyUjnhLBwE: No such file or directory
 
 TZAV  rekonq
 unnamed app(41291): KUniqueApplication: Cannot find the D-Bus session 
 server:  Failed to connect to socket /tmp/dbus-dyUjnhLBwE: No such file 
 or directory
 
 unnamed app(41290): KUniqueApplication: Pipe closed unexpectedly.
 
 TZAV  ps ax | grep dbus
   1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid 
   5 --print-address 7 --sess
   1434  2- I0:00.01 dbus-launch 
   --autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
 41294  5  RL+  0:00.00 grep dbus
 
 What am I doing wrong?
 
 I understand dbus is a required part of
 a modern browser, it is no longer an option, right?
 
 Many thanks
 
 You do have this in /etc/rc.conf
 
 dbus_enable=YES

I didn't think it was necessary, as firefox3
launches dbus-daemon on startup. But I'll give
it a go.

Thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dbus, epiphany, rekonq

2012-03-21 Thread Polytropon
On Wed, 21 Mar 2012 09:29:09 +, Anton Shterenlikht wrote:
 On Wed, Mar 21, 2012 at 04:12:50AM +0100, Bernt Hansson wrote:
  You do have this in /etc/rc.conf
  
  dbus_enable=YES
 
 I didn't think it was necessary, as firefox3
 launches dbus-daemon on startup. But I'll give
 it a go.

I think those are mandatory when running X + { KDE | Gnome }.
Maybe it's even required for running KDE or Gnome applications
without the whole desktop environment? Maybe the dependencies
are that deep that they affect the libraries used...

Always check for

hald_enable=YES
dbus_enable=YES

in your /etc/rc.conf.

See:
http://www.freebsd.org/gnome/docs/halfaq.html


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dbus, epiphany, rekonq

2012-03-21 Thread Da Rock

On 03/21/12 19:29, Anton Shterenlikht wrote:

On Wed, Mar 21, 2012 at 04:12:50AM +0100, Bernt Hansson wrote:

2012-03-19 13:21, Anton Shterenlikht skrev:

I can't lauch www/epiphany or www/rekonq
on ia64 -current, due to some dbus issue:

TZAV   ps ax|grep dbus
  1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid
  5 --print-address 7 --sess
  1434  2- I0:00.01 dbus-launch
  --autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
41284  5  RL+  0:00.00 grep dbus

TZAV   epiphany

** (epiphany:41285): WARNING **: Unable to connect to session bus: Failed
to connect to socket /tmp/dbus-dyUjnhLBwE: No such file or directory

TZAV   rekonq
unnamed app(41291): KUniqueApplication: Cannot find the D-Bus session
server:  Failed to connect to socket /tmp/dbus-dyUjnhLBwE: No such file
or directory

unnamed app(41290): KUniqueApplication: Pipe closed unexpectedly.

TZAV   ps ax | grep dbus
  1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid
  5 --print-address 7 --sess
  1434  2- I0:00.01 dbus-launch
  --autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
41294  5  RL+  0:00.00 grep dbus

What am I doing wrong?

I understand dbus is a required part of
a modern browser, it is no longer an option, right?

Many thanks


You do have this in /etc/rc.conf

dbus_enable=YES

I didn't think it was necessary, as firefox3
launches dbus-daemon on startup. But I'll give
it a go.

Thanks
This got me: you need dbus_enable in the rc.conf  (for global, this I 
have observed for a long time), but you apparently need it _per session_ 
as well.


dbus and hal work together at the system level to facilitate device 
addition and removal notification; dbus at the session level provides 
notification between the apps and the system notifications (redundant 
given FreeBSDs already in place notification systems).


This how the file managers add new devices and filesystems to the 
place listings. To do this you need to have a dbus session running per 
user, and a few more convoluted processes to ensure each app uses it.


So you use the addition to the xsession script posted, console-kit 
(possibly), and dbus-launch for every app. Fun... groan


As to whether all this applies in your particular case... but 
essentially this how it is used. HIH

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dbus, epiphany, rekonq

2012-03-21 Thread Anton Shterenlikht
On Wed, Mar 21, 2012 at 10:51:23AM +0100, Polytropon wrote:
 On Wed, 21 Mar 2012 09:29:09 +, Anton Shterenlikht wrote:
  On Wed, Mar 21, 2012 at 04:12:50AM +0100, Bernt Hansson wrote:
   You do have this in /etc/rc.conf
   
   dbus_enable=YES
  
  I didn't think it was necessary, as firefox3
  launches dbus-daemon on startup. But I'll give
  it a go.
 
 I think those are mandatory when running X + { KDE | Gnome }.
 Maybe it's even required for running KDE or Gnome applications
 without the whole desktop environment? Maybe the dependencies
 are that deep that they affect the libraries used...
 
 Always check for
 
   hald_enable=YES
   dbus_enable=YES
 
 in your /etc/rc.conf.
 
 See:
 http://www.freebsd.org/gnome/docs/halfaq.html

That's funny. Now I'm back to

TZAV ps ax|grep dbus
15636  -  Is  0:00.06 /usr/local/bin/dbus-daemon --system
15726  -  Is  0:00.01 /usr/local/bin/dbus-daemon --fork --print-pid 5 
--print-address 7 --sessi
11463  0- I   0:00.01 dbus-launch --autolaunch 
fb0372ea595109904f5a068e0180 --binary-syntax
10857  6  R+  0:00.01 grep dbus
TZAV ps ax | grep hald
15647  -  Is  0:04.57 /usr/local/sbin/hald
15654  -  I   0:00.08 hald-runner
10859  6  R+  0:00.01 grep hald
TZAV epiphany

** (epiphany:10860): WARNING **: Unable to connect to session bus: Failed to 
connect to socket /tmp/dbus-7LOjFYELtv: No such file or directory
TZAV rekonq 
unnamed app(10863): KUniqueApplication: Cannot find the D-Bus session server:  
Failed to connect to socket /tmp/dbus-7LOjFYELtv: No such file or directory 

unnamed app(10862): KUniqueApplication: Pipe closed unexpectedly. 

TZAV 

Thanks anyway


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dbus, epiphany, rekonq

2012-03-21 Thread Bernt Hansson

2012-03-21 10:29, Anton Shterenlikht skrev:

On Wed, Mar 21, 2012 at 04:12:50AM +0100, Bernt Hansson wrote:

2012-03-19 13:21, Anton Shterenlikht skrev:

I can't lauch www/epiphany or www/rekonq
on ia64 -current, due to some dbus issue:

TZAV   ps ax|grep dbus
  1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid
  5 --print-address 7 --sess
  1434  2- I0:00.01 dbus-launch
  --autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
41284  5  RL+  0:00.00 grep dbus

TZAV   epiphany

** (epiphany:41285): WARNING **: Unable to connect to session bus: Failed
to connect to socket /tmp/dbus-dyUjnhLBwE: No such file or directory

TZAV   rekonq
unnamed app(41291): KUniqueApplication: Cannot find the D-Bus session
server:  Failed to connect to socket /tmp/dbus-dyUjnhLBwE: No such file
or directory

unnamed app(41290): KUniqueApplication: Pipe closed unexpectedly.

TZAV   ps ax | grep dbus
  1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid
  5 --print-address 7 --sess
  1434  2- I0:00.01 dbus-launch
  --autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
41294  5  RL+  0:00.00 grep dbus

What am I doing wrong?

I understand dbus is a required part of
a modern browser, it is no longer an option, right?

Many thanks


You do have this in /etc/rc.conf

dbus_enable=YES


I didn't think it was necessary,


It is.


as firefox3 launches dbus-daemon on startup.


Only for that firefox3 process, no one else get in.


But I'll give it a go.


Do that, and my guess is you are going to be a lot happier.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dbus, epiphany, rekonq

2012-03-21 Thread Bernt Hansson

2012-03-21 16:18, Anton Shterenlikht skrev:

On Wed, Mar 21, 2012 at 10:51:23AM +0100, Polytropon wrote:

On Wed, 21 Mar 2012 09:29:09 +, Anton Shterenlikht wrote:

On Wed, Mar 21, 2012 at 04:12:50AM +0100, Bernt Hansson wrote:

You do have this in /etc/rc.conf

dbus_enable=YES


I didn't think it was necessary, as firefox3
launches dbus-daemon on startup. But I'll give
it a go.


I think those are mandatory when running X + { KDE | Gnome }.
Maybe it's even required for running KDE or Gnome applications
without the whole desktop environment? Maybe the dependencies
are that deep that they affect the libraries used...

Always check for

hald_enable=YES
dbus_enable=YES

in your /etc/rc.conf.

See:
http://www.freebsd.org/gnome/docs/halfaq.html


That's funny. Now I'm back to

TZAV  ps ax|grep dbus
15636  -  Is  0:00.06 /usr/local/bin/dbus-daemon --system
15726  -  Is  0:00.01 /usr/local/bin/dbus-daemon --fork --print-pid 5 
--print-address 7 --sessi
11463  0- I   0:00.01 dbus-launch --autolaunch 
fb0372ea595109904f5a068e0180 --binary-syntax
10857  6  R+  0:00.01 grep dbus
TZAV  ps ax | grep hald
15647  -  Is  0:04.57 /usr/local/sbin/hald
15654  -  I   0:00.08 hald-runner
10859  6  R+  0:00.01 grep hald
TZAV  epiphany

** (epiphany:10860): WARNING **: Unable to connect to session bus: Failed to 
connect to socket /tmp/dbus-7LOjFYELtv: No such file or directory
TZAV  rekonq
unnamed app(10863): KUniqueApplication: Cannot find the D-Bus session server:  
Failed to connect to socket /tmp/dbus-7LOjFYELtv: No such file or directory

unnamed app(10862): KUniqueApplication: Pipe closed unexpectedly.

TZAV


To me it seems that dbus can't write to /tmp and/or create files under /tmp.

This is my home desktop

 915  ??  Is 0:04,06 /usr/local/bin/dbus-daemon --system
 1317  ??  Is 0:00,24 /usr/local/bin/dbus-daemon --fork --print-pid 
5 --print-address 7 --session
 3763  ??  Is 0:00,35 /usr/local/bin/dbus-daemon --fork --print-pid 
5 --print-address 7 --session
 8557  ??  Is 0:00,21 /usr/local/bin/dbus-daemon --fork --print-pid 
5 --print-address 7 --session





1186  ??  Is 3:47,36 /usr/local/sbin/hald
 1193  ??  I  0:00,12 hald-runner
 1197  ??  S  0:37,69 hald-addon-storage: no polling on /dev/fd0 
because it is explicitly disabled (hald-addon-storag
 1241  ??  IW 0:00,00 hald-addon-mouse-sysmouse: /dev/ums0 
(hald-addon-mouse-sy)



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dbus, epiphany, rekonq

2012-03-20 Thread Anton Shterenlikht
On Mon, Mar 19, 2012 at 11:13:42PM +1000, Da Rock wrote:
 On 03/19/12 23:07, Anton Shterenlikht wrote:
 On Mon, Mar 19, 2012 at 01:44:23PM +0100, Polytropon wrote:
 On Mon, 19 Mar 2012 12:21:29 +, Anton Shterenlikht wrote:
 I can't lauch www/epiphany or www/rekonq
 on ia64 -current, due to some dbus issue:
 
 TZAV  ps ax|grep dbus
   1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork 
   --print-pid 5 --print-address 7 --sess
   1434  2- I0:00.01 dbus-launch 
   --autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
 41284  5  RL+  0:00.00 grep dbus
 
 TZAV  epiphany
 
 ** (epiphany:41285): WARNING **: Unable to connect to session bus: 
 Failed to connect to socket /tmp/dbus-dyUjnhLBwE: No such file or 
 directory
 
 TZAV  rekonq
 unnamed app(41291): KUniqueApplication: Cannot find the D-Bus session 
 server:  Failed to connect to socket /tmp/dbus-dyUjnhLBwE: No such file 
 or directory
 
 unnamed app(41290): KUniqueApplication: Pipe closed unexpectedly.
 
 TZAV  ps ax | grep dbus
   1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork 
   --print-pid 5 --print-address 7 --sess
   1434  2- I0:00.01 dbus-launch 
   --autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
 41294  5  RL+  0:00.00 grep dbus
 
 What am I doing wrong?
 Have you checked the presence of the /tmp/dbus-dyUjnhLBwE socket?
 sure, it's not there.
 
 I understand dbus is a required part of
 a modern browser, it is no longer an option, right?
 What?! I don't think that this is an acceptable opinion. :-)
 
 Both browsers you mentioned are part of KDE or Gnome.
 THOSE heavily rely on DBUS, that's right, and due to
 the transition of dependencies, _their_ web browsers
 also do.
 
 For example, I'm not running DBUS here, but I run modern
 web browsers. I just don't run _those_ two. :-)
 
 So did you properly build your KDE and Gnome components
 with DBUS enabled, and all of their configurable dependencies
 also with DBUS enabled? It _may_ be that the use of DBUS
 is not among the default building options for one of the
 nested dependencies, and that one might be _the one_ that
 now shoots your foot. :-)
 
 Your ps listing indicates that you are running DBUS, so
 that shouldn't be the problem. Missing DBUS support in one
 of the required components _could_ be.
 ok, this makes is clearer.
 
 My dbus comes from www/firefox36:
 
 TZAV  pwd
 /usr/ports/www/firefox36
 TZAV  make showconfig
 ===  The following configuration options are available for 
 firefox-3.6.28,1:
   DBUS=on Enable D-BUS support
   SMB=off Enable smb:// URI support using gnomevfs
   DEBUG=off Build a debugging image
   LOGGING=off Enable additional log messages
   OPTIMIZED_CFLAGS=off Enable some additional optimizations
 ===  Use 'make config' to modify these settings
 TZAV
 
 and firefox36 works fine.
 
 I build from ports. Neither rekonq nor epiphany have
 dbus options. My reading of the rekonq Makefile
 is that it uses devel/dbus-qt4. Anyway, these are
 installed:
 
 TZAV  pkg info -xo dbus
 dbus-1.4.14_2: devel/dbus
 dbus-glib-0.94: devel/dbus-glib
 eggdbus-0.6_1: devel/eggdbus
 libdbusmenu-qt-0.9.0: devel/libdbusmenu-qt
 qt4-dbus-4.7.4: devel/dbus-qt4
 qt4-qdbusviewer-4.7.4: devel/qt4-qdbusviewer
 TZAV
 
 Many thanks
 
 Have you got this in your session startup? May or may not be necessary 
 if you're using kdm/gdm.
 
 ## test for an existing bus daemon, just to be safe
 if test -z $DBUS_SESSION_BUS_ADDRESS ; then
 ## if not found, launch a new one
 eval 'dbus-launch --sh-syntax --exit-with-session'
 echo D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS
 fi

Thanks, this helped.
Now the browsers just dump core on startup:

% epiphany 

** (epiphany:11547): WARNING **: Unable to start Zeroconf subsystem

** (epiphany:11547): WARNING **: Throbber animation not found

** (epiphany:11547): WARNING **: Throbber fallback animation not found either
ASSERTION FAILED: isPageAligned(size)
./Source/JavaScriptCore/wtf/PageAllocation.h(101) : static WTF::PageAllocation 
WTF::PageAllocation::allocate(size_t, WTF::OSAllocator::Usage, bool, bool)
Segmentation fault (core dumped)

% rekonq 
unnamed app(11553): Communication problem with  rekonq , it probably crashed. 
Error message was:  org.freedesktop.DBus.Error.NoReply :  Message did not 
receive a reply (timeout by message bus)  


For epiphany the problem seems to be with webkit-gtk2.
For rekonq is't probably in qt4-webkit.

I'll try to ask upstream.

Thanks again

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dbus, epiphany, rekonq

2012-03-20 Thread Bernt Hansson

2012-03-19 13:21, Anton Shterenlikht skrev:

I can't lauch www/epiphany or www/rekonq
on ia64 -current, due to some dbus issue:

TZAV  ps ax|grep dbus
  1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid 5 
--print-address 7 --sess
  1434  2- I0:00.01 dbus-launch 
--autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
41284  5  RL+  0:00.00 grep dbus

TZAV  epiphany

** (epiphany:41285): WARNING **: Unable to connect to session bus: Failed to 
connect to socket /tmp/dbus-dyUjnhLBwE: No such file or directory

TZAV  rekonq
unnamed app(41291): KUniqueApplication: Cannot find the D-Bus session server:  
Failed to connect to socket /tmp/dbus-dyUjnhLBwE: No such file or directory

unnamed app(41290): KUniqueApplication: Pipe closed unexpectedly.

TZAV  ps ax | grep dbus
  1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid 5 
--print-address 7 --sess
  1434  2- I0:00.01 dbus-launch 
--autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
41294  5  RL+  0:00.00 grep dbus

What am I doing wrong?

I understand dbus is a required part of
a modern browser, it is no longer an option, right?

Many thanks


You do have this in /etc/rc.conf

dbus_enable=YES
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


dbus, epiphany, rekonq

2012-03-19 Thread Anton Shterenlikht
I can't lauch www/epiphany or www/rekonq
on ia64 -current, due to some dbus issue:

TZAV ps ax|grep dbus
 1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid 5 
--print-address 7 --sess
 1434  2- I0:00.01 dbus-launch 
--autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
41284  5  RL+  0:00.00 grep dbus

TZAV epiphany

** (epiphany:41285): WARNING **: Unable to connect to session bus: Failed to 
connect to socket /tmp/dbus-dyUjnhLBwE: No such file or directory

TZAV rekonq 
unnamed app(41291): KUniqueApplication: Cannot find the D-Bus session server:  
Failed to connect to socket /tmp/dbus-dyUjnhLBwE: No such file or directory 

unnamed app(41290): KUniqueApplication: Pipe closed unexpectedly. 

TZAV ps ax | grep dbus
 1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid 5 
--print-address 7 --sess
 1434  2- I0:00.01 dbus-launch 
--autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
41294  5  RL+  0:00.00 grep dbus

What am I doing wrong?

I understand dbus is a required part of
a modern browser, it is no longer an option, right?

Many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dbus, epiphany, rekonq

2012-03-19 Thread Polytropon
On Mon, 19 Mar 2012 12:21:29 +, Anton Shterenlikht wrote:
 I can't lauch www/epiphany or www/rekonq
 on ia64 -current, due to some dbus issue:
 
 TZAV ps ax|grep dbus
  1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid 5 
 --print-address 7 --sess
  1434  2- I0:00.01 dbus-launch 
 --autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
 41284  5  RL+  0:00.00 grep dbus
 
 TZAV epiphany
 
 ** (epiphany:41285): WARNING **: Unable to connect to session bus: Failed to 
 connect to socket /tmp/dbus-dyUjnhLBwE: No such file or directory
 
 TZAV rekonq 
 unnamed app(41291): KUniqueApplication: Cannot find the D-Bus session server: 
  Failed to connect to socket /tmp/dbus-dyUjnhLBwE: No such file or 
 directory 
 
 unnamed app(41290): KUniqueApplication: Pipe closed unexpectedly. 
 
 TZAV ps ax | grep dbus
  1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid 5 
 --print-address 7 --sess
  1434  2- I0:00.01 dbus-launch 
 --autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
 41294  5  RL+  0:00.00 grep dbus
 
 What am I doing wrong?

Have you checked the presence of the /tmp/dbus-dyUjnhLBwE socket?



 I understand dbus is a required part of
 a modern browser, it is no longer an option, right?

What?! I don't think that this is an acceptable opinion. :-)

Both browsers you mentioned are part of KDE or Gnome.
THOSE heavily rely on DBUS, that's right, and due to
the transition of dependencies, _their_ web browsers
also do.

For example, I'm not running DBUS here, but I run modern
web browsers. I just don't run _those_ two. :-)

So did you properly build your KDE and Gnome components
with DBUS enabled, and all of their configurable dependencies
also with DBUS enabled? It _may_ be that the use of DBUS
is not among the default building options for one of the
nested dependencies, and that one might be _the one_ that
now shoots your foot. :-)

Your ps listing indicates that you are running DBUS, so
that shouldn't be the problem. Missing DBUS support in one
of the required components _could_ be.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dbus, epiphany, rekonq

2012-03-19 Thread Anton Shterenlikht
On Mon, Mar 19, 2012 at 01:44:23PM +0100, Polytropon wrote:
 On Mon, 19 Mar 2012 12:21:29 +, Anton Shterenlikht wrote:
  I can't lauch www/epiphany or www/rekonq
  on ia64 -current, due to some dbus issue:
  
  TZAV ps ax|grep dbus
   1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid 5 
  --print-address 7 --sess
   1434  2- I0:00.01 dbus-launch 
  --autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
  41284  5  RL+  0:00.00 grep dbus
  
  TZAV epiphany
  
  ** (epiphany:41285): WARNING **: Unable to connect to session bus: Failed 
  to connect to socket /tmp/dbus-dyUjnhLBwE: No such file or directory
  
  TZAV rekonq 
  unnamed app(41291): KUniqueApplication: Cannot find the D-Bus session 
  server:  Failed to connect to socket /tmp/dbus-dyUjnhLBwE: No such file or 
  directory 
  
  unnamed app(41290): KUniqueApplication: Pipe closed unexpectedly. 
  
  TZAV ps ax | grep dbus
   1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid 5 
  --print-address 7 --sess
   1434  2- I0:00.01 dbus-launch 
  --autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
  41294  5  RL+  0:00.00 grep dbus
  
  What am I doing wrong?
 
 Have you checked the presence of the /tmp/dbus-dyUjnhLBwE socket?

sure, it's not there.

  I understand dbus is a required part of
  a modern browser, it is no longer an option, right?
 
 What?! I don't think that this is an acceptable opinion. :-)
 
 Both browsers you mentioned are part of KDE or Gnome.
 THOSE heavily rely on DBUS, that's right, and due to
 the transition of dependencies, _their_ web browsers
 also do.
 
 For example, I'm not running DBUS here, but I run modern
 web browsers. I just don't run _those_ two. :-)
 
 So did you properly build your KDE and Gnome components
 with DBUS enabled, and all of their configurable dependencies
 also with DBUS enabled? It _may_ be that the use of DBUS
 is not among the default building options for one of the
 nested dependencies, and that one might be _the one_ that
 now shoots your foot. :-)
 
 Your ps listing indicates that you are running DBUS, so
 that shouldn't be the problem. Missing DBUS support in one
 of the required components _could_ be.

ok, this makes is clearer.

My dbus comes from www/firefox36:

TZAV pwd
/usr/ports/www/firefox36
TZAV make showconfig
=== The following configuration options are available for firefox-3.6.28,1:
 DBUS=on Enable D-BUS support
 SMB=off Enable smb:// URI support using gnomevfs
 DEBUG=off Build a debugging image
 LOGGING=off Enable additional log messages
 OPTIMIZED_CFLAGS=off Enable some additional optimizations
=== Use 'make config' to modify these settings
TZAV 

and firefox36 works fine.

I build from ports. Neither rekonq nor epiphany have
dbus options. My reading of the rekonq Makefile
is that it uses devel/dbus-qt4. Anyway, these are
installed:

TZAV pkg info -xo dbus
dbus-1.4.14_2: devel/dbus
dbus-glib-0.94: devel/dbus-glib
eggdbus-0.6_1: devel/eggdbus
libdbusmenu-qt-0.9.0: devel/libdbusmenu-qt
qt4-dbus-4.7.4: devel/dbus-qt4
qt4-qdbusviewer-4.7.4: devel/qt4-qdbusviewer
TZAV 

Many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dbus, epiphany, rekonq

2012-03-19 Thread Da Rock

On 03/19/12 23:07, Anton Shterenlikht wrote:

On Mon, Mar 19, 2012 at 01:44:23PM +0100, Polytropon wrote:

On Mon, 19 Mar 2012 12:21:29 +, Anton Shterenlikht wrote:

I can't lauch www/epiphany or www/rekonq
on ia64 -current, due to some dbus issue:

TZAV  ps ax|grep dbus
  1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid 5 
--print-address 7 --sess
  1434  2- I0:00.01 dbus-launch 
--autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
41284  5  RL+  0:00.00 grep dbus

TZAV  epiphany

** (epiphany:41285): WARNING **: Unable to connect to session bus: Failed to 
connect to socket /tmp/dbus-dyUjnhLBwE: No such file or directory

TZAV  rekonq
unnamed app(41291): KUniqueApplication: Cannot find the D-Bus session server:  
Failed to connect to socket /tmp/dbus-dyUjnhLBwE: No such file or directory

unnamed app(41290): KUniqueApplication: Pipe closed unexpectedly.

TZAV  ps ax | grep dbus
  1435  -  Is   0:00.02 /usr/local/bin/dbus-daemon --fork --print-pid 5 
--print-address 7 --sess
  1434  2- I0:00.01 dbus-launch 
--autolaunch=fb0372ea595109904f5a068e0180 --binary-synta
41294  5  RL+  0:00.00 grep dbus

What am I doing wrong?

Have you checked the presence of the /tmp/dbus-dyUjnhLBwE socket?

sure, it's not there.


I understand dbus is a required part of
a modern browser, it is no longer an option, right?

What?! I don't think that this is an acceptable opinion. :-)

Both browsers you mentioned are part of KDE or Gnome.
THOSE heavily rely on DBUS, that's right, and due to
the transition of dependencies, _their_ web browsers
also do.

For example, I'm not running DBUS here, but I run modern
web browsers. I just don't run _those_ two. :-)

So did you properly build your KDE and Gnome components
with DBUS enabled, and all of their configurable dependencies
also with DBUS enabled? It _may_ be that the use of DBUS
is not among the default building options for one of the
nested dependencies, and that one might be _the one_ that
now shoots your foot. :-)

Your ps listing indicates that you are running DBUS, so
that shouldn't be the problem. Missing DBUS support in one
of the required components _could_ be.

ok, this makes is clearer.

My dbus comes from www/firefox36:

TZAV  pwd
/usr/ports/www/firefox36
TZAV  make showconfig
===  The following configuration options are available for firefox-3.6.28,1:
  DBUS=on Enable D-BUS support
  SMB=off Enable smb:// URI support using gnomevfs
  DEBUG=off Build a debugging image
  LOGGING=off Enable additional log messages
  OPTIMIZED_CFLAGS=off Enable some additional optimizations
===  Use 'make config' to modify these settings
TZAV

and firefox36 works fine.

I build from ports. Neither rekonq nor epiphany have
dbus options. My reading of the rekonq Makefile
is that it uses devel/dbus-qt4. Anyway, these are
installed:

TZAV  pkg info -xo dbus
dbus-1.4.14_2: devel/dbus
dbus-glib-0.94: devel/dbus-glib
eggdbus-0.6_1: devel/eggdbus
libdbusmenu-qt-0.9.0: devel/libdbusmenu-qt
qt4-dbus-4.7.4: devel/dbus-qt4
qt4-qdbusviewer-4.7.4: devel/qt4-qdbusviewer
TZAV

Many thanks

Have you got this in your session startup? May or may not be necessary 
if you're using kdm/gdm.


## test for an existing bus daemon, just to be safe
if test -z $DBUS_SESSION_BUS_ADDRESS ; then
## if not found, launch a new one
eval 'dbus-launch --sh-syntax --exit-with-session'
echo D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS
fi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org