[Risolto] Change the environment variable DISPLAY

Installazione, configurazione e uso di programmi e strumenti.
m77it
Prode Principiante
Messaggi: 142
Iscrizione: sabato 28 dicembre 2013, 14:01
Desktop: ubuntu
Distribuzione: Ubuntu 18.04.4 LTS x86_64
Sesso: Maschile

[Risolto] Change the environment variable DISPLAY

Messaggio da m77it »

Buongiorno,
sto cercando di installare un software su Ubuntu 18.04.5 LTS un software ma ho un messaggio di errore e non riesco a proseguire.
Qualcuno sa come risolverE?
Grazie
Marco

Codice: Seleziona tutto

root@marco-desktop:/home/marco/software/topspin4_01# ls
license_code.txt  topspin-4.1.0.1-linux.sh
root@marco-desktop:/home/marco/software/topspin4_01# sh topspin-4.1.0.1-linux.sh 
Verifying archive integrity... All good.
Uncompressing TopSpin 4.1.0  100%  
NOTE: using DISPLAY=:0
NOTE: using XAUTHORITY=/home/marco/.Xauthority
NOTE: using TCL_LIBRARY=/tmp/selfgz5759/linux/tcl-8.6.9/lib/tcl8.6
NOTE: using TK_LIBRARY=/tmp/selfgz5759/linux/tk-8.6.9/lib/tk8.6
NOTE: running /tmp/selfgz5759/linux/tk-8.6.9/bin/wish8.6 -f /tmp/selfgz5759/xwinstall.d/swim/lib/xwinstall.tcl --
No protocol specified
No protocol specified
application-specific initialization failed: couldn't connect to display ":0"
NOTE: initial log file: /tmp/install.log
  ***  Fatal error  ***  

No display
Current display is set to :0
Change the environment variable DISPLAY or restart this program as
/tmp/selfgz5759/install --display HOSTNAME:0
(with the appropriate hostname)

Exiting ...

Details:
Current display is set to :0
Change the environment variable DISPLAY or restart this program as
/tmp/selfgz5759/install --display HOSTNAME:0
(with the appropriate hostname)

Exiting ...
    while executing
"::rootwin::checkTkPresent"
    (procedure "::rootwin::init" line 2)
    invoked from within
"::rootwin::init"
    (procedure "MainProgram" line 13)
    invoked from within
"MainProgram"

auto_path = /tmp/selfgz5759/linux/tcl-8.6.9/lib/tcl8.6 | /tmp/selfgz5759/linux/tcl-8.6.9/lib | /tmp/selfgz5759/linux/tk-8.6.9/lib | /usr/local64/tcl-8.6.9/lib
The previous message has also been saved to /tmp/install.log

root@marco-desktop:/home/marco/software/topspin4_01# 
Ultima modifica di m77it il lunedì 9 novembre 2020, 18:38, modificato 2 volte in totale.
Avatar utente
UbuNuovo
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4457
Iscrizione: sabato 12 dicembre 2009, 20:58
Desktop: Mate
Distribuzione: Ubuntu Mate 22.04.1 LTS
Sesso: Maschile
Contatti:

Re: Change the environment variable DISPLAY

Messaggio da UbuNuovo »

guarda qua: https://askubuntu.com/questions/1246691 ... untu-19-10
La linea di codice suggerita è :

Codice: Seleziona tutto

# pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY topspin-4-0-8-linux.sh
eseguita da root, naturalmente cambiando il numero di versione.

Qua tutti i dettagli: https://selkieupsilon.blogspot.com/2020 ... buntu.html
Salva l'Ucraina! 🇺🇦
m77it
Prode Principiante
Messaggi: 142
Iscrizione: sabato 28 dicembre 2013, 14:01
Desktop: ubuntu
Distribuzione: Ubuntu 18.04.4 LTS x86_64
Sesso: Maschile

Re: Change the environment variable DISPLAY

Messaggio da m77it »

Grazie :D :) :) :) :)
Avatar utente
trekfan1
Moderatore Globale
Moderatore Globale
Messaggi: 23523
Iscrizione: domenica 21 maggio 2006, 10:51
Desktop: Gnome
Distribuzione: Ubuntu 23.10 e 24.04 (dev)
Sesso: Maschile
Località: Formigine (MO) | Accecante Asceta

Re: [RISOLTO] Change the environment variable DISPLAY

Messaggio da trekfan1 »

Il [Risolto] vuole messo evitando di scriverlo tutto maiuscolo, correggi, grazie :)
m77it
Prode Principiante
Messaggi: 142
Iscrizione: sabato 28 dicembre 2013, 14:01
Desktop: ubuntu
Distribuzione: Ubuntu 18.04.4 LTS x86_64
Sesso: Maschile

Re: [RISOLTO] Change the environment variable DISPLAY

Messaggio da m77it »

Sorry :)
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: Google [Bot] e 6 ospiti