Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 12
  1. #1

    Impossibile lanciare programmi grafici da shell

    Ciao a tutti. Come da titolo ho difficoltà a lanciare qualunque programma grafico da shell.
    Questo ad es è l'output di gedit:

    root@ubuntu:/ # gedit

    (gedit:7966): Gtk-WARNING **: cannot open display:

    PS - DIstro ubuntu
    Rilasciata Python FTP Server library 0.5.1
    http://code.google.com/p/pyftpdlib/

    We'll be those who'll make the italian folks know how difficult can be defecating in Southern California without having the crap flying all around the house.

  2. #2
    Se hai fatto il login come utente e sei diventato root con

    su

    devi dare il comando (da utente):

    xhost +

    O più semplicemente esegui il comando che vuoi con diritti di amministratore con

    sudo nomeprogramma



    Sergej
    :: Il Deposito
    Canti di protesta politica e sociale
    Archivio di testi e accordi

  3. #3
    Ecco l'output dei due comandi:

    root@ubuntu:/etc/samba # xhost +
    xhost: unable to open display ""


    root@ubuntu:/etc/samba # sudo gedit
    (gedit:12472): Gtk-WARNING **: cannot open display:
    Rilasciata Python FTP Server library 0.5.1
    http://code.google.com/p/pyftpdlib/

    We'll be those who'll make the italian folks know how difficult can be defecating in Southern California without having the crap flying all around the house.

  4. #4
    xhost + lo devi dare da utente!!
    Dopo averlo lanciato da utente, puoi dare

    su

    e fare partire i programmi.
    Ma tu hai eseguito il login come utente??

    Sergej
    :: Il Deposito
    Canti di protesta politica e sociale
    Archivio di testi e accordi

  5. #5
    Utente di HTML.it L'avatar di cacao74
    Registrato dal
    Jan 2005
    Messaggi
    2,570
    Dovrebbe essere sufficiente utilizzare gksu/gksudo da utente.

    ciao
    slack? smack!

  6. #6
    xhost + lo devi dare da utente!!
    Dopo averlo lanciato da utente, puoi dare

    su

    e fare partire i programmi.
    Ma tu hai eseguito il login come utente??

    Sergej
    Da user in effetti funziona (anche senza lanciare xhost) ma da root neanche a parlarne, sebbene abbia fatto come tu mi hai suggerito.
    Ma perchè ubuntu ha questa peculiarità? Non ne vedo proprio il motivo! :\
    Rilasciata Python FTP Server library 0.5.1
    http://code.google.com/p/pyftpdlib/

    We'll be those who'll make the italian folks know how difficult can be defecating in Southern California without having the crap flying all around the house.

  7. #7
    se non erro fa la stessa cosa con xkill ad esempio..
    [ SimplyMepis 8 ]Copyleft
    www.mepisitalia.org IL SITO ITALIANO UFFICIALE DI MEPIS
    www.salentomovida.it LA MOVIDA DEL SALENTO HA UN NUOVO PUNTO D'INCONTRO SUL WEB
    [ SUD SOUND SYSTEM MINA FUECU INTRA ALLU SALENTU ]

  8. #8
    Su ubuntu hanno deciso di optare per sudo.
    Se vuoi eseguire gedit per modificare un file di amministrazione, devi eseguire questo:

    sudo gedit

    Ti verrà chiesta la password DEL TUO UTENTE e gedit partirà coi diritti di root...

    Sergej
    :: Il Deposito
    Canti di protesta politica e sociale
    Archivio di testi e accordi

  9. #9
    Non va !
    Funza solo da utente.
    Tutto questo non ha alcun senso, davvero. -.-
    Rilasciata Python FTP Server library 0.5.1
    http://code.google.com/p/pyftpdlib/

    We'll be those who'll make the italian folks know how difficult can be defecating in Southern California without having the crap flying all around the house.

  10. #10
    up!
    Rilasciata Python FTP Server library 0.5.1
    http://code.google.com/p/pyftpdlib/

    We'll be those who'll make the italian folks know how difficult can be defecating in Southern California without having the crap flying all around the house.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.