<div dir="ltr">Hi,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; When i run the dbus binaries on the arm platform the dbus-launch , dbus-uuidgen and dbus-cleanup-socket&nbsp; are working fine... But when i am running the dbus-monitor the following error is coming:<br>
<br>Failed to open connection to session message bus: Failed to execute dbus-launch to autolaunch D-Bus session<br><br><br>When i am strace to that dbus-monitor it shows like this <br><br>


        <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.3  (Linux)">
        
        
        <style type="text/css">
        &lt;!--
                @page { size: 8.5in 11in; margin: 0.79in }
                P { margin-bottom: 0.08in }
        --&gt;
        </style>

<p style="margin-bottom: 0in;">strace ./dbus-monitor 
</p>
<p style="margin-bottom: 0in;">execve(&quot;./dbus-monitor&quot;,
[&quot;./dbus-monitor&quot;], [/* 8 vars */]) = 0 
</p>
<p style="margin-bottom: 0in;">uname({sys=&quot;Linux&quot;,
node=&quot;MSM7K&quot;, ...}) = 0 
</p>
<p style="margin-bottom: 0in;">brk(0)                                 
= 0x13000 
</p>
<p style="margin-bottom: 0in;">access(&quot;/etc/ld.so.preload&quot;,
R_OK)      = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">open(&quot;/home/amarnath/Documents/dbuscross/lib/tls/v6l/fast-mult/half/libdbus-1.so.3&quot;,
O_RDONLY) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">stat64(&quot;/home/amarnath/Documents/dbuscross/lib/tls/v6l/fast-mult/half&quot;,
0xbedc2348) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">open(&quot;/home/amarnath/Documents/dbuscross/lib/tls/v6l/fast-mult/libdbus-1.so.3&quot;,
O_RDONLY) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">stat64(&quot;/home/amarnath/Documents/dbuscross/lib/tls/v6l/fast-mult&quot;,
0xbedc2348) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">open(&quot;/home/amarnath/Documents/dbuscross/lib/tls/v6l/half/libdbus-1.so.3&quot;,
O_RDONLY) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">stat64(&quot;/home/amarnath/Documents/dbuscross/lib/tls/v6l/half&quot;,
0xbedc2348) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">open(&quot;/home/amarnath/Documents/dbuscross/lib/tls/v6l/libdbus-1.so.3&quot;,
O_RDONLY) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">stat64(&quot;/home/amarnath/Documents/dbuscross/lib/tls/v6l&quot;,
0xbedc2348) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">open(&quot;/home/amarnath/Documents/dbuscross/lib/tls/fast-mult/half/libdbus-1.so.3&quot;,
O_RDONLY) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">stat64(&quot;/home/amarnath/Documents/dbuscross/lib/tls/fast-mult/half&quot;,
0xbedc2348) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">open(&quot;/home/amarnath/Documents/dbuscross/lib/tls/fast-mult/libdbus-1.so.3&quot;,
O_RDONLY) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">stat64(&quot;/home/amarnath/Documents/dbuscross/lib/tls/fast-mult&quot;,
0xbedc2348) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">open(&quot;/home/amarnath/Documents/dbuscross/lib/tls/half/libdbus-1.so.3&quot;,
O_RDONLY) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">stat64(&quot;/home/amarnath/Documents/dbuscross/lib/tls/half&quot;,
0xbedc2348) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">open(&quot;/home/amarnath/Documents/dbuscross/lib/tls/libdbus-1.so.3&quot;,
O_RDONLY) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">stat64(&quot;/home/amarnath/Documents/dbuscross/lib/tls&quot;,
0xbedc2348) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">open(&quot;/home/amarnath/Documents/dbuscross/lib/v6l/fast-mult/half/libdbus-1.so.3&quot;,
O_RDONLY) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">stat64(&quot;/home/amarnath/Documents/dbuscross/lib/v6l/fast-mult/half&quot;,
0xbedc2348) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">open(&quot;/home/amarnath/Documents/dbuscross/lib/v6l/fast-mult/libdbus-1.so.3&quot;,
O_RDONLY) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">stat64(&quot;/home/amarnath/Documents/dbuscross/lib/v6l/fast-mult&quot;,
0xbedc2348) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">open(&quot;/home/amarnath/Documents/dbuscross/lib/v6l/half/libdbus-1.so.3&quot;,
O_RDONLY) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">stat64(&quot;/home/amarnath/Documents/dbuscross/lib/v6l/half&quot;,
0xbedc2348) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">open(&quot;/home/amarnath/Documents/dbuscross/lib/v6l/libdbus-1.so.3&quot;,
O_RDONLY) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">stat64(&quot;/home/amarnath/Documents/dbuscross/lib/v6l&quot;,
0xbedc2348) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">open(&quot;/home/amarnath/Documents/dbuscross/lib/fast-mult/half/libdbus-1.so.3&quot;,
O_RDONLY) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">stat64(&quot;/home/amarnath/Documents/dbuscross/lib/fast-mult/half&quot;,
0xbedc2348) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">open(&quot;/home/amarnath/Documents/dbuscross/lib/fast-mult/libdbus-1.so.3&quot;,
O_RDONLY) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">stat64(&quot;/home/amarnath/Documents/dbuscross/lib/fast-mult&quot;,
0xbedc2348) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">open(&quot;/home/amarnath/Documents/dbuscross/lib/half/libdbus-1.so.3&quot;,
O_RDONLY) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">stat64(&quot;/home/amarnath/Documents/dbuscross/lib/half&quot;,
0xbedc2348) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">open(&quot;/home/amarnath/Documents/dbuscross/lib/libdbus-1.so.3&quot;,
O_RDONLY) = 3 
</p>
<p style="margin-bottom: 0in;">read(3,
&quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0`H\0\000&quot;...,
512) = 512 
</p>
<p style="margin-bottom: 0in;">fstat64(3, {st_mode=S_IFREG|0755,
st_size=680322, ...}) = 0 
</p>
<p style="margin-bottom: 0in;">mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000 
</p>
<p style="margin-bottom: 0in;">mmap2(NULL, 225120,
PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40020000 
</p>
<p style="margin-bottom: 0in;">mprotect(0x4004f000, 32608, PROT_NONE) 
= 0 
</p>
<p style="margin-bottom: 0in;">mmap2(0x40056000, 4096,
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2e) =
0x40056000 
</p>
<p style="margin-bottom: 0in;">close(3)                               
= 0 
</p>
<p style="margin-bottom: 0in;">open(&quot;/home/amarnath/Documents/dbuscross/lib/libc.so.6&quot;,
O_RDONLY) = -1 ENOENT (No such file or directory) 
</p>
<p style="margin-bottom: 0in;">open(&quot;/etc/ld.so.cache&quot;,
O_RDONLY)      = 3 
</p>
<p style="margin-bottom: 0in;">fstat64(3, {st_mode=S_IFREG|0644,
st_size=8277, ...}) = 0 
</p>
<p style="margin-bottom: 0in;">mmap2(NULL, 8277, PROT_READ,
MAP_PRIVATE, 3, 0) = 0x40018000 
</p>
<p style="margin-bottom: 0in;">close(3)                               
= 0 
</p>
<p style="margin-bottom: 0in;">open(&quot;/lib/libc.so.6&quot;,
O_RDONLY)        = 3 
</p>
<p style="margin-bottom: 0in;">read(3,
&quot;\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\2249\1\000&quot;...,
512) = 512 
</p>
<p style="margin-bottom: 0in;">fstat64(3, {st_mode=S_IFREG|0755,
st_size=1467026, ...}) = 0 
</p>
<p style="margin-bottom: 0in;">mmap2(NULL, 1160332,
PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40058000 
</p>
<p style="margin-bottom: 0in;">mprotect(0x40166000, 54412, PROT_NONE) 
= 0 
</p>
<p style="margin-bottom: 0in;">mmap2(0x4016e000, 12288,
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10e)
= 0x4016e000 
</p>
<p style="margin-bottom: 0in;">mmap2(0x40171000, 9356,
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) =
0x40171000 
</p>
<p style="margin-bottom: 0in;">close(3)                               
= 0 
</p>
<p style="margin-bottom: 0in;">mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 
</p>
<p style="margin-bottom: 0in;">mprotect(0x4016e000, 8192, PROT_READ)  
= 0 
</p>
<p style="margin-bottom: 0in;">mprotect(0x4001e000, 4096, PROT_READ)  
= 0 
</p>
<p style="margin-bottom: 0in;">syscall_983045(0x40016cc0, 0, 0x40,
0x3, 0, 0, 0x4001f540, 0xf0005, 0x4001f52c, 0x4001f200, 0x4001f000,
0xbedc29d4, 0, 0xbedc28f8, 0x4000e504, 0x40002984, 0x80000010,
0x40016cc0, 0, 0, 0, 0xff08, 0x53228, 0x53200, 0, 0, 0, 0, 0, 0, 0,
0) = 0 
</p>
<p style="margin-bottom: 0in;">munmap(0x40018000, 8277)               
= 0 
</p>
<p style="margin-bottom: 0in;">brk(0)                                 
= 0x13000 
</p>
<p style="margin-bottom: 0in;">brk(0x34000)                           
= 0x34000 
</p>
<p style="margin-bottom: 0in;">open(&quot;/home/amarnath/Documents/dbuscross/var/lib/dbus/machine-id&quot;,
O_RDONLY) = 3 
</p>
<p style="margin-bottom: 0in;">fstat64(3, {st_mode=S_IFREG|0644,
st_size=33, ...}) = 0 
</p>
<p style="margin-bottom: 0in;">read(3,
&quot;88e03f2bb5d88e4f21f6e80047bbceb0&quot;..., 33) = 33 
</p>
<p style="margin-bottom: 0in;">close(3)                               
= 0 
</p>
<p style="margin-bottom: 0in;">pipe([3, 4])                           
= 0 
</p>
<p style="margin-bottom: 0in;">clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x400168d8) = 1054 
</p>
<p style="margin-bottom: 0in;">--- SIGCHLD (Child exited) @ 0 (0) --- 
</p>
<p style="margin-bottom: 0in;">close(4)                               
= 0 
</p>
<p style="margin-bottom: 0in;">read(3, &quot;&quot;, 1024)            
          = 0 
</p>
<p style="margin-bottom: 0in;">wait4(1054, [{WIFEXITED(s) &amp;&amp;
WEXITSTATUS(s) == 1}], 0, NULL) = 1054 
</p>
<p style="margin-bottom: 0in;">write(2, &quot;Failed to open
connection to ses&quot;..., 108Failed to open connection to session
message bus: Failed to execute dbus-launch to autolaunch D-Bus
session 
</p>
<p style="margin-bottom: 0in;">) = 108 
</p>
<p style="margin-bottom: 0in;">exit_group(1)                          
= ? 
</p>
<p style="margin-bottom: 0in;">Process 1053 detached</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;">===================================================</p><br><p style="margin-bottom: 0in;"><br></p><br><p style="margin-bottom: 0in;"><br></p><p style="margin-bottom: 0in;">when i am compared this one with my i686 machine strace dbus-monitor the difference is</p>
<br><p style="margin-bottom: 0in;"><br></p><p style="margin-bottom: 0in;">It not starting the socket on the arm platform(MSM 7200 board).</p><p style="margin-bottom: 0in;">Please give me the solution to run the dbus-monitor on the arm platform.<br>

</p>
<br><br></div>