Autolaunch error: X11 initialization failed

Have something to say about itself?

Autolaunch error: X11 initialization failed

Postby bhimrao.gadge » 2012-07-10 06:53

Hi All,

I am working on skype integration with debian on our local server.

I have successfully install skype 4.0 and DBus 0.1.1 using root ( as a user ).

And then I install PECL lib called "php-dbus"(php-dbus-0.1.2) as a driver between php and dbus to

communicate with skype as a desktop application on linux.

But after all this installation and configuration I am stuck with one issue as follows =>

dbus_bus_get(): failed to create dbus connection object
[/usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed. ]

On the line where php script trying to attempt an dbus connection using function dbus_bus_get(DBUS_BUS_SESSION);

through an above error.

Although I am newbee for linux , I guess its issue of authority because 'root' user has install all this software on server.

but at the time of php script execution the user is 'apache' . And apache user does not have authority to use this service.

If anyone had with the same issue before or has a knowledge (or a clue) of linux XAuthority please guide me for the same.

thanks in advance!
Posts: 1
Joined: 2012-07-10 06:49

Return to Forum stuff & feedback

Who is online

Users browsing this forum: No registered users and 3 guests