[Android-tesla-devel] SSH and DBUS variables
Status: Beta
Brought to you by:
seanhodges
From: Ettore C. <ek5...@gm...> - 2011-01-16 16:59:55
|
Hi there, I have downloaded Tesla few days ago, and I liked the project a lot! Unfortunatly, I have never been able to make it work on my Arch Linux... The problem is (I wrote on Ubuntu forum twice) that SSH shell doesn't keep the same environment of a normal shell and XDG_SESSION_COOKIE and DBUS_SESSION_ADDRESS are missing! I tried to execute attach_dbus_session.sh, but it didn't recognise the $XDG_SESSION_COOKIE variable in ssh shell on localhost... But if I try to execute it in a normal shell it gives me a beautiful "Success!" output. Inside ~/.dbus/session-bus there is a file called like the XDG_SESSION_COOKIE variable (sounds like .dbus/session-bus/ee0b0ca6360ee7ef016c7078000007c6-0) and inside it there are the missing variables DBUS_SESSION_BUS_ADDRESS, DBUS_SESSION_BUS_PID and DBUS_SESSION_BUS_WINDOWID. Now, it's a matter of editing the attach_dbus_session.sh in order to read it and re-set the missing variables!! Thank you for the beautiful project! P.S.: I'm pretty noob at android, so I tried to update the apk, but it looks like it must be resigned with some key of yours. ----- EK5 |