|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hello,
I would like to use php - apache to work as a solution for a kiosk that has to be managed from a remote client. I have obtained the pc shutdown with a system() call, and now I would like to know if there is a way to launch openoffice from the php script. The -dislay option seems not to work.. Suggestions? Thanks, tano |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On 21 Apr, 21:41, "\"\"" <gaetanoort...@yahoo.it> wrote:
> Hello, > I would like to use php - apache to work as a solution for a kiosk > that has to be > managed from a remote client. > I have obtained the pc shutdown with a system() call, and now I would > like > to know if there is a way to launch openoffice from the php script. > The -dislay option seems not to work.. > Suggestions? > Thanks, > tano Sounds like a very strange way of managing a system. You need to learn a lot about X and how it works. Have you allowed the client to connect to the server (in X lingo, the server is where the screen mouse and keyboard are, while the client is where the program runs) using xhost or by transfering the ? I suggest you send follow-ups to an X or Unix newsgroup C. |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On 22 Apr, 14:42, "C. (http://symcbean.blogspot.com/)"
<colin.mckin...@gmail.com> wrote: > On 21 Apr, 21:41, "\"\"" <gaetanoort...@yahoo.it> wrote: > > > Hello, > > I would like to use php - apache to work as a solution for a kiosk > > that has to be > > managed from a remote client. > > I have obtained the pc shutdown with a system() call, and now I would > > like > > to know if there is a way to launch openoffice from the php script. > > The -dislay option seems not to work.. > > Suggestions? > > Thanks, > > tano > > Sounds like a very strange way of managing a system. > > You need to learn a lot about X and how it works. Have you allowed the > client to connect to the server (in X lingo, the server is where the > screen mouse and keyboard are, while the client is where the program > runs) using xhost or by transfering the ? > > I suggest you send follow-ups to an X or Unix newsgroup > > C. (or use sudo) C. |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
It could be strange, but I do not find a better one. (Suggestions? The
only alternative I found is run apache as the same user that login automatically on gnome). I know how X works, however I was not pratical with all the security settings X provides (it seems that add a sudo line that allow to run a shell script as the X server user works, even if I have to run xhost for the user that use sudo (it seems very complicated)). Really, for the future I would like to know if there are more direct ways to do things like this.. :-) |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
this is not a elegant solution but maybe you can write a link to a
openoffice empty document, this way when the user click it (if he had associated open office with that extension) openoffice will open |
|
![]() |
| Outils de la discussion | |
|
|