Slackware 13 - Alcuni piccoli problemi [RISOLTO]

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Zav0k
Linux 0.x
Linux 0.x
Messaggi: 63
Iscritto il: dom 6 mag 2007, 9:41
Slackware: current
Kernel: 2.6.37.3-smp
Desktop: Kde 4.4.5
Località: Fucecchio

Slackware 13 - Alcuni piccoli problemi [RISOLTO]

Messaggio da Zav0k »

Salve a tutti, ho aggiornato la mia slackware 12.2 alla 13 :thumbright: .
Aggiornamento ok, nessun problema.
Ma come da oggetto non riesco a risolvere alcuni piccoli problemi:

-Virtualbox: non riesco a farlo partire ho provato ad rimuovere il pacchetto e reinstallarlo, cancellare la directory .VirtualBox nella Home dell'utente. Il problema è che non capisco dove è l'errore.

Codice: Seleziona tutto

Zeus@Krasus:~$ virtualbox
bash: /usr/bin/virtualbox: /bin/sh^M: bad interpreter: No such file or directory
-Krdc: lo uso spesso considerando che mi serve per lavoro come accesso terminal per server 2000/2003/2008. Il problema che una volta che sono connesso al server sembra che voglia fare sempre dei refresh, questo si manifesta molte volte soprattutto quando metto la schermata a tutto schermo. Nella vecchia versione del kde questo problema non accadeva. :-k E' successo solo a me??? :doubt:

-Kdm: ho italianizzato tutta la Slackware (anche la tastiera) ma quando avvio il pc in modalità grafica, arrivo alla schermata di login e vedo che la lingua è impostata correttamente, ma la tastiera no. Io ho provato a mettere la lingua italiana anche dentro Configurazione della gestione degli accessi, ma niente. C'è un altro posto da dove la posso configurare?

-Basket: anche questa applicazione non parte, ho provato a cercare la libreria mancante, ma niente.
Mi sa che è un problema dell'aggiornamento a Kde 4.2.4 :(

Codice: Seleziona tutto

Zeus@Krasus:~$ basket
basket: error while loading shared libraries: libartskde.so.1: cannot open shared object file: No such file or directory
Ultima modifica di Zav0k il lun 28 set 2009, 12:29, modificato 1 volta in totale.

Avatar utente
Ansa89
Iper Master
Iper Master
Messaggi: 2703
Iscritto il: mer 29 ago 2007, 17:57
Nome Cognome: Stefano Ansaloni
Slackware: 14.2 64bit
Kernel: 4.9.61
Desktop: XFCE 4.12
Località: Modena

Re: Slackware 13 - Alcuni piccoli problemi

Messaggio da Ansa89 »

Per virtualbox: apri il file "/usr/bin/virtualbox" con un editor di testi e come utente root; dovrebbe essere un file di testo con all'inizio una cosa tipo

Codice: Seleziona tutto

#!/bin/bash^M
Tu devi editarlo cancellando "^M" (che sarebbe il carattere di fine riga in DOS...credo).

Zav0k
Linux 0.x
Linux 0.x
Messaggi: 63
Iscritto il: dom 6 mag 2007, 9:41
Slackware: current
Kernel: 2.6.37.3-smp
Desktop: Kde 4.4.5
Località: Fucecchio

Re: Slackware 13 - Alcuni piccoli problemi

Messaggio da Zav0k »

Ansa89 ha scritto:Per virtualbox: apri il file "/usr/bin/virtualbox" con un editor di testi e come utente root; dovrebbe essere un file di testo con all'inizio una cosa tipo

Codice: Seleziona tutto

#!/bin/bash^M
Tu devi editarlo cancellando "^M" (che sarebbe il carattere di fine riga in DOS...credo).
Ho cercato tale riga ma nn la trovo :-k , a me sembra regolare

Codice: Seleziona tutto

#!/bin/sh
#
# Sun VirtualBox
#
# Copyright (C) 2006-2009 Sun Microsystems, Inc.
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License (GPL) as published by the Free Software
# Foundation, in version 2 as it comes in the "COPYING" file of the
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
# Clara, CA 95054 USA or visit http://www.sun.com if you need
# additional information or have any questions.
#

PATH="/usr/bin:/bin:/usr/sbin:/sbin"
CONFIG="/etc/vbox/vbox.cfg"

if [ ! -r "$CONFIG" ]; then
    echo "Could not find VirtualBox installation. Please reinstall."
    exit 1
fi

. "$CONFIG"

# Note: This script must not fail if the module was not successfully installed
#       because the user might not want to run a VM but only change VM params!

if [ "$1" = "shutdown" ]; then
    SHUTDOWN="true"
elif ! lsmod|grep -q vboxdrv; then
    cat << EOF
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (`uname -r`) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /etc/init.d/vboxdrv setup

         You will not be able to start VMs until this problem is fixed.
EOF
elif [ ! -c /dev/vboxdrv ]; then
    cat << EOF
WARNING: The character device /dev/vboxdrv does not exist. Try

           sudo /etc/init.d/vboxdrv restart

         and if that is not successful, try to re-install the package.

	 You will not be able to start VMs until this problem is fixed.
EOF
fi

if [ -f /etc/vbox/module_not_compiled ]; then
    cat << EOF
WARNING: The compilation of the vboxdrv.ko kernel module failed during the
         installation for some reason. Starting a VM will not be possible.
         Please consult the User Manual for build instructions.
EOF
fi

SERVER_PID=`ps -U \`whoami\` | grep VBoxSVC | awk '{ print $1 }'`
if [ -z "$SERVER_PID" ]; then
    # Server not running yet/anymore, cleanup socket path.
    # See IPC_GetDefaultSocketPath()!
    if [ -n "$LOGNAME" ]; then
        rm -rf /tmp/.vbox-$LOGNAME-ipc > /dev/null 2>&1
    else
        rm -rf /tmp/.vbox-$USER-ipc > /dev/null 2>&1
    fi
fi

if [ "$SHUTDOWN" = "true" ]; then
    if [ -n "$SERVER_PID" ]; then
        kill -TERM $SERVER_PID
        sleep 2
    fi
    exit 0
fi

APP=`which $0`
APP=`basename $APP`
APP=${APP##/*/}
case "$APP" in
  virtualbox)
    exec "$INSTALL_DIR/VirtualBox" "$@"
    ;;
  vboxmanage)
    exec "$INSTALL_DIR/VBoxManage" "$@"
    ;;
  vboxsdl)
    exec "$INSTALL_DIR/VBoxSDL" "$@"
    ;;
  vboxvrdp)
    exec "$INSTALL_DIR/VBoxHeadless" "$@"
    ;;
  vboxheadless)
    exec "$INSTALL_DIR/VBoxHeadless" "$@"
    ;;
  vboxwebsrv)
    exec "$INSTALL_DIR/vboxwebsrv" "$@"
    ;;
  *)
    echo "Unknown application - $APP"
    ;;
esac

Avatar utente
waka_jawaka
Linux 3.x
Linux 3.x
Messaggi: 781
Iscritto il: mer 10 ago 2005, 0:00
Nome Cognome: Alberto Palillo
Kernel: 2.6.35
Desktop: KDE 4.5
Distribuzione: Archlinux

Re: Slackware 13 - Alcuni piccoli problemi

Messaggio da waka_jawaka »

KDM: devi italianizzare la tastiera tramite hal: sul forum s'è discusso più volte come fare

http://www.slacky.eu/wikislack/index.ph ... ti_in_Xorg

Zav0k
Linux 0.x
Linux 0.x
Messaggi: 63
Iscritto il: dom 6 mag 2007, 9:41
Slackware: current
Kernel: 2.6.37.3-smp
Desktop: Kde 4.4.5
Località: Fucecchio

Re: Slackware 13 - Alcuni piccoli problemi

Messaggio da Zav0k »

waka_jawaka ha scritto:KDM: devi italianizzare la tastiera tramite hal: sul forum s'è discusso più volte come fare
:oops: ahimè non ne ero a conoscenza.
Mi documento, grazie :thumbright:

paperboy
Linux 0.x
Linux 0.x
Messaggi: 60
Iscritto il: gio 7 set 2006, 6:31

Re: Slackware 13 - Alcuni piccoli problemi

Messaggio da paperboy »

Zav0k ha scritto:
Ansa89 ha scritto:Per virtualbox: apri il file "/usr/bin/virtualbox" con un editor di testi e come utente root; dovrebbe essere un file di testo con all'inizio una cosa tipo

Codice: Seleziona tutto

#!/bin/bash^M
Tu devi editarlo cancellando "^M" (che sarebbe il carattere di fine riga in DOS...credo).
Ho cercato tale riga ma nn la trovo :-k , a me sembra regolare

Codice: Seleziona tutto

#!/bin/sh
#
# Sun VirtualBox
#
# Copyright (C) 2006-2009 Sun Microsystems, Inc.
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License (GPL) as published by the Free Software
# Foundation, in version 2 as it comes in the "COPYING" file of the
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
# Clara, CA 95054 USA or visit http://www.sun.com if you need
# additional information or have any questions.
#

PATH="/usr/bin:/bin:/usr/sbin:/sbin"
CONFIG="/etc/vbox/vbox.cfg"

if [ ! -r "$CONFIG" ]; then
    echo "Could not find VirtualBox installation. Please reinstall."
    exit 1
fi

. "$CONFIG"

# Note: This script must not fail if the module was not successfully installed
#       because the user might not want to run a VM but only change VM params!

if [ "$1" = "shutdown" ]; then
    SHUTDOWN="true"
elif ! lsmod|grep -q vboxdrv; then
    cat << EOF
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (`uname -r`) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /etc/init.d/vboxdrv setup

         You will not be able to start VMs until this problem is fixed.
EOF
elif [ ! -c /dev/vboxdrv ]; then
    cat << EOF
WARNING: The character device /dev/vboxdrv does not exist. Try

           sudo /etc/init.d/vboxdrv restart

         and if that is not successful, try to re-install the package.

	 You will not be able to start VMs until this problem is fixed.
EOF
fi

if [ -f /etc/vbox/module_not_compiled ]; then
    cat << EOF
WARNING: The compilation of the vboxdrv.ko kernel module failed during the
         installation for some reason. Starting a VM will not be possible.
         Please consult the User Manual for build instructions.
EOF
fi

SERVER_PID=`ps -U \`whoami\` | grep VBoxSVC | awk '{ print $1 }'`
if [ -z "$SERVER_PID" ]; then
    # Server not running yet/anymore, cleanup socket path.
    # See IPC_GetDefaultSocketPath()!
    if [ -n "$LOGNAME" ]; then
        rm -rf /tmp/.vbox-$LOGNAME-ipc > /dev/null 2>&1
    else
        rm -rf /tmp/.vbox-$USER-ipc > /dev/null 2>&1
    fi
fi

if [ "$SHUTDOWN" = "true" ]; then
    if [ -n "$SERVER_PID" ]; then
        kill -TERM $SERVER_PID
        sleep 2
    fi
    exit 0
fi

APP=`which $0`
APP=`basename $APP`
APP=${APP##/*/}
case "$APP" in
  virtualbox)
    exec "$INSTALL_DIR/VirtualBox" "$@"
    ;;
  vboxmanage)
    exec "$INSTALL_DIR/VBoxManage" "$@"
    ;;
  vboxsdl)
    exec "$INSTALL_DIR/VBoxSDL" "$@"
    ;;
  vboxvrdp)
    exec "$INSTALL_DIR/VBoxHeadless" "$@"
    ;;
  vboxheadless)
    exec "$INSTALL_DIR/VBoxHeadless" "$@"
    ;;
  vboxwebsrv)
    exec "$INSTALL_DIR/vboxwebsrv" "$@"
    ;;
  *)
    echo "Unknown application - $APP"
    ;;
esac
sarebbe la prima riga però è invisibile la ^M
prova a cancellarla e riscriverla da capo (solo la prima riga)

Zav0k
Linux 0.x
Linux 0.x
Messaggi: 63
Iscritto il: dom 6 mag 2007, 9:41
Slackware: current
Kernel: 2.6.37.3-smp
Desktop: Kde 4.4.5
Località: Fucecchio

Re: Slackware 13 - Alcuni piccoli problemi

Messaggio da Zav0k »

paperboy ha scritto:
Zav0k ha scritto:
Ansa89 ha scritto:Per virtualbox: apri il file "/usr/bin/virtualbox" con un editor di testi e come utente root; dovrebbe essere un file di testo con all'inizio una cosa tipo

Codice: Seleziona tutto

#!/bin/bash^M
Tu devi editarlo cancellando "^M" (che sarebbe il carattere di fine riga in DOS...credo).
Ho cercato tale riga ma nn la trovo :-k , a me sembra regolare

Codice: Seleziona tutto

#!/bin/sh
#
# Sun VirtualBox
#
# Copyright (C) 2006-2009 Sun Microsystems, Inc.
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License (GPL) as published by the Free Software
# Foundation, in version 2 as it comes in the "COPYING" file of the
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
# Clara, CA 95054 USA or visit http://www.sun.com if you need
# additional information or have any questions.
#

PATH="/usr/bin:/bin:/usr/sbin:/sbin"
CONFIG="/etc/vbox/vbox.cfg"

if [ ! -r "$CONFIG" ]; then
    echo "Could not find VirtualBox installation. Please reinstall."
    exit 1
fi

. "$CONFIG"

# Note: This script must not fail if the module was not successfully installed
#       because the user might not want to run a VM but only change VM params!

if [ "$1" = "shutdown" ]; then
    SHUTDOWN="true"
elif ! lsmod|grep -q vboxdrv; then
    cat << EOF
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (`uname -r`) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /etc/init.d/vboxdrv setup

         You will not be able to start VMs until this problem is fixed.
EOF
elif [ ! -c /dev/vboxdrv ]; then
    cat << EOF
WARNING: The character device /dev/vboxdrv does not exist. Try

           sudo /etc/init.d/vboxdrv restart

         and if that is not successful, try to re-install the package.

	 You will not be able to start VMs until this problem is fixed.
EOF
fi

if [ -f /etc/vbox/module_not_compiled ]; then
    cat << EOF
WARNING: The compilation of the vboxdrv.ko kernel module failed during the
         installation for some reason. Starting a VM will not be possible.
         Please consult the User Manual for build instructions.
EOF
fi

SERVER_PID=`ps -U \`whoami\` | grep VBoxSVC | awk '{ print $1 }'`
if [ -z "$SERVER_PID" ]; then
    # Server not running yet/anymore, cleanup socket path.
    # See IPC_GetDefaultSocketPath()!
    if [ -n "$LOGNAME" ]; then
        rm -rf /tmp/.vbox-$LOGNAME-ipc > /dev/null 2>&1
    else
        rm -rf /tmp/.vbox-$USER-ipc > /dev/null 2>&1
    fi
fi

if [ "$SHUTDOWN" = "true" ]; then
    if [ -n "$SERVER_PID" ]; then
        kill -TERM $SERVER_PID
        sleep 2
    fi
    exit 0
fi

APP=`which $0`
APP=`basename $APP`
APP=${APP##/*/}
case "$APP" in
  virtualbox)
    exec "$INSTALL_DIR/VirtualBox" "$@"
    ;;
  vboxmanage)
    exec "$INSTALL_DIR/VBoxManage" "$@"
    ;;
  vboxsdl)
    exec "$INSTALL_DIR/VBoxSDL" "$@"
    ;;
  vboxvrdp)
    exec "$INSTALL_DIR/VBoxHeadless" "$@"
    ;;
  vboxheadless)
    exec "$INSTALL_DIR/VBoxHeadless" "$@"
    ;;
  vboxwebsrv)
    exec "$INSTALL_DIR/vboxwebsrv" "$@"
    ;;
  *)
    echo "Unknown application - $APP"
    ;;
esac
sarebbe la prima riga però è invisibile la ^M
prova a cancellarla e riscriverla da capo (solo la prima riga)
Ho provato, ma non è cambiato niente :(

Avatar utente
DarthSteve
Linux 1.x
Linux 1.x
Messaggi: 127
Iscritto il: mer 1 apr 2009, 10:00
Nome Cognome: Stefano
Slackware: --Current--
Kernel: 5.15..x
Desktop: KDE
Località: Lucca

Re: Slackware 13 - Alcuni piccoli problemi

Messaggio da DarthSteve »

Puoi provare usando l'editor "Kedit" in KDE. Lo 'apri' ...e poi lo salvi in formato standard unix.
Io uso questo sistema... *__^
--- The Jedi Code ---
There is no emotion; there is peace.
There is no ignorance; there is knowledge.
There is no passion; there is serenity.
There is no death; there is the Force

Zav0k
Linux 0.x
Linux 0.x
Messaggi: 63
Iscritto il: dom 6 mag 2007, 9:41
Slackware: current
Kernel: 2.6.37.3-smp
Desktop: Kde 4.4.5
Località: Fucecchio

Re: Slackware 13 - Alcuni piccoli problemi

Messaggio da Zav0k »

Alla fine per Virtualbox ho risolto.
Siccome faccio fare l'aggiornamento dei programmi a gslapt, non mi sono accorto che quando va installare la virtualox genera un errore:

Codice: Seleziona tutto

root@krasus:/var/slapt-get/utilities/virtualbox-ose/3.0.6# installpkg vlbox-ose-3.0.6-i686-1dav.txz
Verifying package virtualbox-ose-3.0.6-i686-1dav.txz.
Installing package virtualbox-ose-3.0.6-i686-1dav.txz:
PACKAGE DESCRIPTION:
# VirtualBox Open Source Edition
#
# Sun xVM VirtualBox is a general-purpose full virtualizer for
# x86 hardware. Targeted at server, desktop and embedded use,
# it is now the only professional-quality virtualization solution
# that is also Open Source Software.
#
Executing install script for virtualbox-ose-3.0.6-i686-1dav.txz.
: command not foundline 2:
: command not foundline 6:
install/doinst.sh: line 73: syntax error: unexpected end of file
Package virtualbox-ose-3.0.6-i686-1dav.txz installed.
Ho fatto il downgrade alla 3.0.4 e tutto funziona perfettamente.

Zav0k
Linux 0.x
Linux 0.x
Messaggi: 63
Iscritto il: dom 6 mag 2007, 9:41
Slackware: current
Kernel: 2.6.37.3-smp
Desktop: Kde 4.4.5
Località: Fucecchio

Re: Slackware 13 - Alcuni piccoli problemi

Messaggio da Zav0k »

Ci ho messo un pò di tempo ma sono riuscito a risolvere tutto.

- Virtualbox: come nel precedente post con il downgrade avevo risolto, ma con il nuovo pacchetto della 3.0.6 sul repository il problema non si manifesta più

- Kdm: ho risolto così:
waka_jawaka ha scritto:KDM: devi italianizzare la tastiera tramite hal: sul forum s'è discusso più volte come fare
http://www.slacky.eu/wikislack/index.ph ... ti_in_Xorg
- Krdc: come scritto nella guida "Consigli e problemi noti della 13"
  • La versione di Xorg presente in Slackware 13.0 in molti casi non richiede la presenza del file /etc/X11/xorg.conf. La configurazione avviene automaticamente tramite HAL. Per forzare alcune impostazioni, come la presenza di driver video proprietari, si può creare un xorg.conf minimale
- Basket: una volta aggiornato al kde 4.3.1 ed aver installato i pacchetti della /extra/kde3-compat/ ho risolto tutto.

Rispondi