'lut, Essaie avec : su - vdr -c X&
a+ -----Original Message----- From: Guy Roussin [mailto:[EMAIL PROTECTED] 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. -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/DebFrFrenchLists Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:" To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]