[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Un script de 2 lignes pour lancer une appli. X



'lut,

Essaie avec :
su - vdr -c X&

a+

-----Original Message-----
From: Guy Roussin [mailto:guy.roussin@teledetection.fr] 
Sent: lundi 17 novembre 2008 10:47
To: Debian
Subject: Un script de 2 lignes pour lancer une appli. X

Bonjour,

Je viens d'installer une debian lenny sur un petit PC.
Je veux utiliser ce PC pour une seule application X
(vdr/xineliboutput) avec une télécommande sans
clavier/souris
Tout marche très bien, mais voilà il me reste 2 commandes
à taper au clavier en tant que root après le démarrage:
# sudo -u vdr X&
# invoke-rc.d vdr start
Et là tout est ok.

J'aimerai mettre ces 2 lignes dans un script. Mais
lorsque je fais ça, la première commande ne passe pas
et j'ai un message du genre : l'utilisateur vdr n'a pas le droit
de lancer X

Si vous avez une idée,

Guy

NB: Je n'ai pas besoin d'un gestionnaire de fenêtres sous X

-- 
Guy Roussin


--



The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other then the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.


Reply to: