PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > launch X apps on a server from a php script
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
launch X apps on a server from a php script

Réponse
 
LinkBack Outils de la discussion
Vieux 21/04/2008, 21h41   #1
\\
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut launch X apps on a server from a php script

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
  Réponse avec citation
Vieux 22/04/2008, 14h42   #2
C. (http://symcbean.blogspot.com/)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: launch X apps on a server from a php script

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.
  Réponse avec citation
Vieux 22/04/2008, 14h43   #3
C. (http://symcbean.blogspot.com/)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: launch X apps on a server from a php script

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.
  Réponse avec citation
Vieux 22/04/2008, 18h20   #4
\\
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: launch X apps on a server from a php script

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.. :-)
  Réponse avec citation
Vieux 22/04/2008, 21h43   #5
Claudio Corlatti
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: launch X apps on a server from a php script

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
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 12h29.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12065 seconds with 13 queries