No subject


Sun Nov 16 15:12:23 PST 2008


===========

process 5496: arguments to dbus_connection_ref() were incorrect, assertion
"connection != NULL" failed in file dbus-connection.c line 2497.

This is normally a bug in some application using the D-Bus library.

org.freedesktop.DBus.Error.Spawn.ExecFailed: dbus-launch failed to
autolaunch D-Bus session: PuTTY X11 proxy: wrong authentication protocol
attemptedAutolaunch error: X11 initialization failed.

 

It seems to me  even in the console environment, DISPLAY has to be set for
d-bus to work. Is it mandatory? Any work around? 

 

Thanks in advance

 

 


------=_NextPart_000_0067_01C94576.7C587840
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"\@SimSun";
	panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal>I am trying to use d-bus (client) inside a CGI perl
environment where X11 DISPLAY is not set. <o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>From Apache error log, I got<o:p></o:p></p>

<p class=3DMsoNormal>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<o:p></o:p></p>

<p class=3DMsoNormal>process 5496: arguments to dbus_connection_ref() =
were
incorrect, assertion &quot;connection !=3D NULL&quot; failed in file
dbus-connection.c line 2497.<o:p></o:p></p>

<p class=3DMsoNormal>This is normally a bug in some application using =
the D-Bus
library.<o:p></o:p></p>

<div =
style=3D'mso-element:para-border-div;border:none;border-bottom:double =
windowtext 2.25pt;
padding:0in 0in 1.0pt 0in'>

<p class=3DMsoNormal =
style=3D'border:none;padding:0in'>org.freedesktop.DBus.Error.Spawn.ExecFa=
iled:
dbus-launch failed to autolaunch D-Bus session: PuTTY X11 proxy: wrong
authentication protocol attemptedAutolaunch error: X11 initialization =
failed.<o:p></o:p></p>

</div>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>It seems to me &nbsp;even in the console =
environment, DISPLAY has
to be set for d-bus to work. Is it mandatory? Any work around? =
<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Thanks in advance<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>

------=_NextPart_000_0067_01C94576.7C587840--



More information about the freedesktop mailing list