-
aMsn não funciona
Pessoal, alguém teve esse problema ao rodar o amsn ?
instalei o pacote.tgz dele e ao rodar o amsn da o erro abaixo.
# amsn
Application initialization failed: no display name and no $DISPLAY environment variable
Error in startup script: no display name and no $DISPLAY environment variable
while executing
"load /usr/lib/tk8.4/../libtk8.4.so Tk"
("package ifneeded" script)
invoked from within
"package require Tk"
(file "/usr/bin/amsn" line 46)
-
Você tem que instalar o " tk ".
Falow ...
-
installpkg tk-8.4.13-i486-1.tgz
Installing package tk-8.4.13-i486-1...
PACKAGE DESCRIPTION:
tk: tk (Tk toolkit for Tcl)
tk:
tk: Tk is an extension to Tcl that allows you to quickly and easily build
tk: X11 applications that have the look and feel of Motif apps.
tk:
Executing install script for tk-8.4.13-i486-1...
root@darkstar:/home/rodrigo# installpkg tcl-8.4.13-i486-2.tgz
Installing package tcl-8.4.13-i486-2...
PACKAGE DESCRIPTION:
tcl: tcl (Tool Command Language)
tcl:
tcl: Tcl, developed by Dr. John Ousterhout, is a simple to use text-based
tcl: script language with many built-in features which make it especially
tcl: nice for writing interactive scripts.
tcl:
Executing install script for tcl-8.4.13-i486-2...
root@darkstar:/home/rodrigo# amsn
Application initialization failed: no display name and no $DISPLAY environment variable
Error in startup script: no display name and no $DISPLAY environment variable
while executing
"load /usr/lib/tk8.4/../libtk8.4.so Tk"
("package ifneeded" script)
invoked from within
"package require Tk"
(file "/usr/sbin/amsn" line 46)
-
bom.. estou a algum tempo sem usar o slack! mas não seria o caso de atualizar as bibliotecas com o ldconfig?
se eu estiver errado alguém me corriga!
-
vá no seu terminal e set a variavel $DISPLAY com o seguinte valor :0.0 que o problema estará resolvido
Feliz 2007 !!!