<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
According to my previous mail (Problems with ANONYMOUS
authentication on SUSE 10.3 ???)<br>
<br>
Ive change the source code, so I am opening connection with the
given address:<br>
<br>
bus = dbus_g_connection_open( "tcp:host=192.168.0.10,port=12345",
&error );<br>
<br>
if (!bus)<br>
{<br>
cout << "Couldn't connect to starter bus. " <<
error->message << ". EXITING" << endl;<br>
// This is an essential problem so...<br>
exit(1);<br>
}<br>
<br>
<big>// Then I try to register my service</big><br>
bus_proxy = dbus_g_proxy_new_for_name( bus,
"org.freedesktop.DBus",<br>
"/org/freedesktop/DBus",<br>
"org.freedesktop.DBus" );<br>
if( !dbus_g_proxy_call( bus_proxy,<br>
"RequestName",<br>
&error,<br>
G_TYPE_STRING,<br>
"my.service.name",<br>
G_TYPE_UINT,
DBUS_NAME_FLAG_DO_NOT_QUEUE,<br>
G_TYPE_INVALID,<br>
G_TYPE_UINT,<br>
&request_name_result,<br>
G_TYPE_INVALID) )<br>
{<br>
cout << "Request Name Result " << request_name_result
<< endl;<br>
cout << "Error: " << error->message <<
endl;<br>
}<br>
<br>
and the results from here are:<br>
<br>
Request Name Result 3059229745<br>
Error: Did not receive a reply. Possible causes include: the remote
application did not send a reply, the message bus security policy
blocked the reply, the reply timeout expired, or the network
connection was broken.<br>
<br>
With session daemon everything works!<br>
<br>
Please help !<br>
<br>
with best regards<br>
<br>
Bogdan <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>