Operating system name and version: Raspbian
Version of smsd:
Smsd installed from: apt
Name and model of a modem / phone: Huawei E173
Interface: USB

Hello,

I am working with the Raspberry PI. I want to start with the eventhandler a c programm, that exports some data from a sms. After that a html page is written. This page I want to display with the iceweasel browser.

Everything is working, excepted to start the browser from the c program. I have to start the browser with DISPLAY=:0 and on a x-terminal I have to accept the remote connection with xhost +

So the browser starts. But now there is a problem with the profile because the browser is started from the daemon smsd and the x-server is started from the user pi.

How can I fix this problem?