+ Responder ao Tópico



  1. #1

    Padrão 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)

  2. #2

    Padrão

    Você tem que instalar o " tk ".


    Falow ...

  3. #3

    Padrão

    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)

  4. #4

    Padrão

    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!

  5. #5

    Padrão

    vá no seu terminal e set a variavel $DISPLAY com o seguinte valor :0.0 que o problema estará resolvido

    Feliz 2007 !!!

  6. #6

    Padrão

    Se vc estiver tenando executar o amsn como root ele pode dar essa mensagem de erro do $DISPLAY. Execute o amsn com o seu usuário.

  7. #7

    Padrão

    bash-3.1$ amsn
    bash: amsn: command not found

  8. #8

    Padrão

    Citação Postado originalmente por spyderlinux Ver Post
    bash-3.1$ amsn
    bash: amsn: command not found
    vc instalou o amsn pelo usuário root,logo,só o root pode executar o amsn..vc tem q dar permissão de executaçao para todos os usuários..

    da um updatedb && locate amsn pra ver onde está o "executavel"