We use wayland so no, this will not help. To connect to the session bus you need to be running as the correct user, app, and you need to export the environment variable reported in the error message to "unix:path=/run/user/5000/dbus/user_bus_socket"
--rusty On Fri, 2013-08-30 at 07:13 +0000, Cornea, Alexandru wrote: > Not sure if this helps, but seeing that there are some D-Bus related > issues, you could try to fix the error: > > > > ERR<8643>:e_dbus e_dbus.c:456 e_dbus_bus_get() Error connecting to > bus: Using X11 for dbus-daemon autolaunch was disabled at compile > time, set your DBUS_SESSION_BUS_ADDRESS instead > > > > With the following command (also make sure the DISPLAY is set): > > > > # export DISPLAY=:0 > > # export $(dbus-launch) > > > > Regards, > > Alex > > > > > > From: [email protected] > [mailto:[email protected]] On Behalf Of Li, Hao H > Sent: Friday, August 30, 2013 4:56 AM > To: Daniel Juyung Seo > Cc: [email protected]; [email protected]; Huang, Jimmy > Subject: Re: [Tizen General] Question about the log of launch_app > org.tizen.dialer on Tizen IVI > > > > > http://download.tizen.org/releases/daily/tizen/ivi/tizen_20130829.9/repos/ivi/source/lemolo-0.1.4-1.1.src.rpm > > > > #define CRITICAL(...) EINA_LOG_DOM_CRIT(_log_domain, __VA_ARGS__) > > #define ERR(...) EINA_LOG_DOM_ERR(_log_domain, __VA_ARGS__) > > #define WRN(...) EINA_LOG_DOM_WARN(_log_domain, __VA_ARGS__) > > #define INF(...) EINA_LOG_DOM_INFO(_log_domain, __VA_ARGS__) > > #define DBG(...) EINA_LOG_DOM_DBG(_log_domain, __VA_ARGS__) > > > > cat /etc/profile.d/eina.sh > > cat: /etc/profile.d/eina.sh: No such file or directory > > > > I run the dlogutil with root, > > In 0829 image, I can see the INF and ERR log when > running /usr/bin/dialer directly (it failed to launch), but I can’t > see the log when it is launched successfully > > > > INF<8643>:dialer dialer/main.c:158 elm_main() Using default DBus > remote control service name: org.tizen.dialer > > INF<8643>:dialer dialer/rc.c:363 rc_init() Running on Session bus > > ERR<8643>:e_dbus e_dbus.c:456 e_dbus_bus_get() Error connecting to > bus: Using X11 for dbus-daemon autolaunch was disabled at compile > time, set your DBUS_SESSION_BUS_ADDRESS instead > > CRI<8643>:dialer dialer/rc.c:367 rc_init() Could not get DBus Bus > > CRI<8643>:dialer dialer/main.c:162 elm_main() Could not setup remote > control via DBus. > > > > If I tried > > Launch_app org.tizen.dialer, It only shows ... successfully launched > in terminal > > Launch_app test, It only shows ... launch failed in terminal > > > > From: Daniel Juyung Seo [mailto:[email protected]] > Sent: Friday, August 30, 2013 9:47 AM > To: Li, Hao H > Cc: Huang, Jimmy; Lynch, Rusty; [email protected]; > [email protected] > Subject: Re: [Tizen General] Question about the log of launch_app > org.tizen.dialer on Tizen IVI > > > > Hello, I have no Tizen IVI running but I can help you. > > > > 1. What is the org.tizen.dialer repository that I can read through the > code. > > > 2. What is INF? It must be defined in application. > > > 3. Can you paste the output of: > cat /etc/profile.d/eina.sh > > > 4. Check if you have root privilege and try dlogutil. > > > 5. Try to change INF to something higher like ERR. INF could be > filtered out to avoid flood of dlog messages. > > > Thank you. > > > Daniel Juyung Seo (SeoZ) > > > > > > > On Fri, Aug 30, 2013 at 9:33 AM, Li, Hao H <[email protected]> wrote: > > Hi, Jimmy > > I tried Export EINA_LOG_LEVELS=dialer:4 or Export > EINA_LOG_LEVELS=dialer:5 > And then launch_app org.tizen.dialer > > In dialer/main.c, there is INF("Entering main loop"); while I can't > see the log from terminal or dlogutil about it. > Do you know how and where I can see the log? > > Thanks! > > > > -----Original Message----- > From: Huang, Jimmy > Sent: Friday, August 30, 2013 4:12 AM > To: Lynch, Rusty; Li, Hao H > Cc: [email protected]; [email protected] > > > Subject: RE: [Tizen General] Question about the log of launch_app > org.tizen.dialer on Tizen IVI > > I think you need to set the EINA_LOG_LEVEL, This is what I used to > enable logging > > Export EINA_LOG_LEVELS=dialer:4 > > Jimmy > > > -----Original Message----- > From: Lynch, Rusty > > > Sent: Wednesday, August 28, 2013 2:24 PM > To: Li, Hao H > > > Cc: [email protected]; [email protected]; Huang, Jimmy > Subject: Re: [Tizen General] Question about the log of launch_app > org.tizen.dialer on Tizen IVI > > That's all that is required. If you don't see anything then the app > isn't logging anything. > > Of course we can directly ask the maintainer to be sure... Jimmy? > > --rusty > > On Tue, 2013-08-27 at 20:11 -0700, Li, Hao H wrote: > > I tried chmod 666 /dev/log*, but in dlog util, when running > launch_app org.tizen.dialer, I only can see the log relate to > launch_app like " D/AUL ( 356): launch.c: > app_request_to_launchpad(240) > launch request result : -1" etc. > > > > If I want to see the log inside org.tizen.dialer > (/usr/apps/org.tizen.dialer/bin/dialer), is there any way to see it? > > > > Thanks! > > > > -----Original Message----- > > From: Lynch, Rusty > > Sent: Wednesday, August 28, 2013 10:34 AM > > To: Li, Hao H > > Cc: [email protected]; [email protected] > > Subject: Re: [Tizen General] Question about the log of launch_app > > org.tizen.dialer on Tizen IVI > > > > The log device files (i.e. what's needed for dlog to work) are not > writable by the app user (which is wrong and we really should document > this as a bug) so all the log writes fail. > > > > A way to work around this is to ssh in as root (or 'su -' in the > > terminal) and type 'chmod 666 /dev/log*' before running an app. > These files are created at boot time so you have to do this on each > boot. > > > > BTW... the way to fix this is to create a udev rule to assign better > permissions on the device files. Of course we would need to debate > with the security team what those permissions should be. > > > > --rusty > > > > On Wed, 2013-08-28 at 00:33 +0000, Li, Hao H wrote: > > > Hi > > > > > > > > > > > > > http://download.tizen.org/releases/milestone/tizen/ivi/tizen_20130729. > > > 2/repos/ivi/ia32/packages/i686/lemolo-0.1.3-1.1.i686.rpm > > > > > > During launch_app org.tizen.dialer on Tizen IVI, is there any way > to > > > see the log? > > > > > > > > > > > > I tried dlogutil and EINA_LOG_LEVEL=5 launch_app org.tizen.dialer, > > > neither of them can see the log about dialer. > > > > > > > > > > > > Thanks! > > > > > > > > > > > > Li Hao > > > > > > Best Regards > > > > > > Email:[email protected] > > > > > > > > > > > > Tizen Enabling Team > > > > > > Software and Service Group > > > > > > Intel Asia-Pacific Research & Development Ltd. > > > > > > Tel: 86-21-61167039 > > > > > > > > > > > > > > > _______________________________________________ > > > General mailing list > > > [email protected] > > > https://lists.tizen.org/listinfo/general > > > > > > > _______________________________________________ > General mailing list > [email protected] > https://lists.tizen.org/listinfo/general > > > > > > _______________________________________________ > General mailing list > [email protected] > https://lists.tizen.org/listinfo/general _______________________________________________ General mailing list [email protected] https://lists.tizen.org/listinfo/general
