Before i get blasted for asking this question (and if it already exist) - i searched the forums.
I have a PHP script that creates everything needed to get a remote desktop going in the java VncViewer.
Everything is working fine except for the last part.
The last part of the "script" is to call on Konqueror. I did finally figure out how to surpress the messages in the console so the PHP could continue without hanging when started
|
Source code
|
1
|
konqueror https://localhost/ </dev/null &>/tmp/wwwrun-vnc/text$pid_ident -display :$pid_ident &
|
Now, all the processes are run as wwwrun ( i know, not good ) and everything starts, but i get this error message :
cannot read network list kde from /root/.DCOP-XXX
...when i log into the remote desktop.
The thing is, it's being run as wwwrun - and if i log into the normal desktop as wwwrun, it all works fine.
If i send Konqueror to the disaply
|
Source code
|
1
|
konqueror -geometry 800x600-0-0 -display :2
|
It works fine. But if i run the command above in the php script, it seems to want the /root/.DCOP-XX information.
What am i doing wrong?
Thanks in advanced.