HI, Stanislav, I have tried your suggestion, and I can't find the file named "session_bus_address.user", so I create on by myself under tmp folder, but it still shows the same error message, thanks for your response.
Best Regards. Intel Software & Service Group B1 #205 Tun-Hwa North Rd, Taipei, Taiwan Desk +886-2-2514-4603 Mobile +886-987-369-617 E-Mail cary....@intel.com -----Original Message----- From: Stanislav Ionascu [mailto:stanislav.iona...@nokia.com] Sent: Monday, April 11, 2011 5:03 PM To: Pai, Cary Cc: Marko Saukko; meego-dev@meego.com Subject: Re: [MeeGo-dev] FW: execute MTF application by command line error Hi, To launch MTF application as root, you need to do first as root: # export DISPLAY=:0 # source /tmp/session_bus_address.user And then you can launch your application. Best Regards, Stanislav Ionascu On Mon, 2011-04-11 at 16:56 +0800, ext Pai, Cary wrote: > Hi, Marko, > > Thanks for your response, I am using the root to launch the application, and > the DISPLAY have already set to 0, after I tested and the result is the > application can be launched successfully if you do not use the root to launch > it. > > Best Regards. > > Intel Software & Service Group > > B1 #205 Tun-Hwa North Rd, Taipei, Taiwan > > Desk > +886-2-2514-4603 > > Mobile > +886-987-369-617 > > E-Mail > cary....@intel.com > > > > -----Original Message----- > From: Marko Saukko [mailto:marko.sau...@cybercom.com] > Sent: Monday, April 11, 2011 4:04 PM > To: meego-dev@meego.com; Pai, Cary > Subject: Re: [MeeGo-dev] FW: execute MTF application by command line error > > Hi, > > Did you export DISPLAY=:0 and are you running the app as normal user and > not root? Also it might be that you need to export DBUS variables to the > environment, see bug: > > https://bugs.meego.com/show_bug.cgi?id=9049 > > Regards, > Marko > > On 04/11/2011 10:57 AM, Pai, Cary wrote: > > > > Hi, > > > > I have a simple MTF application, I want to get the error message from > > this application, so I want to launch the application from command > > line, and I can easily get the error message from command line, but > > after I launch the MTF application, I get error message about : “ERROR > > : No DBUS session bus found, Exiting now. Please make sure that a dbus > > session bus is running…….”, BTW if I launch the application by the > > desktop ICON(create the desktop icon by myself), it can be run > > successfully. > > > > My environment is: > > > > 1.ExoPC > > > > 2.MeeGo pre-alpha version 1.2 > > > > Best Regards. > > > > Intel Software & Service Group > > > > > > > > cid:image001.jpg@01C92560.37C6BFB0 > > > > B1 #205 Tun-Hwa North Rd, Taipei, Taiwan > > > > Desk > > > > > > > > +886-2-2514-4603 > > > > Mobile > > > > > > > > +886-987-369-617 > > > > E-Mail > > > > > > > > cary....@intel.com <mailto:gorden.n...@intel.com> > > > > > > _______________________________________________ > > MeeGo-dev mailing list > > MeeGo-dev@meego.com > > http://lists.meego.com/listinfo/meego-dev > > http://wiki.meego.com/Mailing_list_guidelines > > _______________________________________________ > MeeGo-dev mailing list > MeeGo-dev@meego.com > http://lists.meego.com/listinfo/meego-dev > http://wiki.meego.com/Mailing_list_guidelines _______________________________________________ MeeGo-dev mailing list MeeGo-dev@meego.com http://lists.meego.com/listinfo/meego-dev http://wiki.meego.com/Mailing_list_guidelines