Pagina 1 di 1
startx
Inviato: ven 19 nov 2004, 15:28
da Dani_7
salve...ho installato la slackware 11.0...una delle prime cose che ho fatto è stata cambiare il lilo.conf per mettere linux come default (e non winslow)e poi ho anche cambiato xorg.conf (mi sembri che si chiami così) cioè le impostazioni per x11..ora ho riavviato...lilo funziona tutto bene...parte linux...arriva la schermata che mi chiede il login...effettuo il login (ho provato sia come utente normale che come root) solo che mi da questo output:
<BR>
<BR>Linux 2.4.27
<BR>You have mail
<BR>- bash: /etc/profile line 91: unexpected EOF while looking for matching ´"´
<BR>- bash: /etc/profile line 94: Syntax error: unexpected end of file
<BR>- bach-3.00#
<BR>
<BR>ecco...ovviamente se faccio startx mi dice command not found
<BR>e se provo ad andare (da root) in /etc/profile non mi fa aprire il file (ho provato nano nome-file ma non me lo apre :S)
<BR>
<BR>Sapete come risolvere il problema?io ho capito che ho sbagliato qualcosa quando ho modificato la configurazione di startx...ma non so né come modificarla né come ripristinarla...
<BR>Grazie
<BR>
<BR>Daniele
<BR>
<BR><br>
startx
Inviato: ven 19 nov 2004, 15:42
da meritil
Prova a rifare la configurazione di xorg lanciando:
<BR>
<BR>xorgconfig
<BR>
<BR>rispondi con attenzione alle domande semi-banali che ti pone....
<BR>
<BR>Per il problema a /etc/profile non so che dirti ... ti posto il mio che è quello di default della slack. Copialo, incollalo in un nuovo file e sostituiscilo dandogli i permessi adeguati (chmod 644)
<BR>
<BR>
<BR># /etc/profile: This file contains system-wide defaults used by
<BR># all Bourne (and related) shells.
<BR>
<BR># Set the values for some environment variables:
<BR>export MINICOM="-c on"
<BR>export MANPATH=/usr/local/man:/usr/man:/usr/X11R6/man
<BR>export HOSTNAME="`cat /etc/HOSTNAME`"
<BR>export LESSOPEN="|lesspipe.sh %s"
<BR>export LESS="-M"
<BR>#Queste righe le ho aggiunte per italianizzare
<BR>export LANG="it_IT@euro"
<BR>export CHARSET="iso8859-15"
<BR>
<BR># If the user doesn´t have a .inputrc, use the one in /etc.
<BR>if [ ! -r "$HOME/.inputrc" ]; then
<BR> export INPUTRC=/etc/inputrc
<BR>fi
<BR>
<BR># Set the default system $PATH:
<BR>PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games"
<BR>
<BR># For root users, ensure that /usr/local/sbin, /usr/sbin, and /sbin are in
<BR># the $PATH. Some means of connection don´t add these by default (sshd comes
<BR># to mind).
<BR>if [ "`id -u`" = "0" ]; then
<BR> echo $PATH | grep /usr/local/sbin 1> /dev/null 2> /dev/null
<BR> if [ ! $? = 0 ]; then
<BR> PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH
<BR> fi
<BR>fi
<BR>
<BR># I had problems using ´eval tset´ instead of ´TERM=´, but you might want to
<BR># try it anyway. I think with the right /etc/termcap it would work great.
<BR># eval `tset -sQ "$TERM"`
<BR>if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
<BR> TERM=linux
<BR>fi
<BR>
<BR># Set ksh93 visual editing mode:
<BR>if [ "$SHELL" = "/bin/ksh" ]; then
<BR> VISUAL=emacs
<BR># VISUAL=gmacs
<BR># VISUAL=vi
<BR>fi
<BR>
<BR># Set a default shell prompt:
<BR>#PS1=´`hostname`:`pwd`# ´
<BR>if [ "$SHELL" = "/bin/pdksh" ]; then
<BR> PS1=´! $ ´
<BR>elif [ "$SHELL" = "/bin/ksh" ]; then
<BR> PS1=´! ${PWD/#$HOME/~}$ ´
<BR>elif [ "$SHELL" = "/bin/zsh" ]; then
<BR> PS1=´%n@%m:%~%# ´
<BR>elif [ "$SHELL" = "/bin/ash" ]; then
<BR> PS1=´$ ´
<BR>else
<BR> PS1=´\u@\h:\w\$ ´
<BR>fi
<BR>PS2=´> ´
<BR>export PATH DISPLAY LESS TERM PS1 PS2
<BR>
<BR># Default umask. A umask of 022 prevents new files from being created group
<BR># and world writable.
<BR>umask 022
<BR>
<BR># Set up the LS_COLORS and LS_OPTIONS environment variables for color ls:
<BR>if [ "$SHELL" = "/bin/zsh" ]; then
<BR> eval `dircolors -z`
<BR>elif [ "$SHELL" = "/bin/ash" ]; then
<BR> eval `dircolors -s`
<BR>else
<BR> eval `dircolors -b`
<BR>fi
<BR>
<BR># Notify user of incoming mail. This can be overridden in the user´s
<BR># local startup file (~/.bash.login or whatever, depending on the shell)
<BR>if [ -x /usr/bin/biff ]; then
<BR> biff y
<BR>fi
<BR>
<BR># Append any additional sh scripts found in /etc/profile.d/:
<BR>for profile_script in /etc/profile.d/*.sh ; do
<BR> if [ -x $profile_script ]; then
<BR> . $profile_script
<BR> fi
<BR>done
<BR>unset profile_script
<BR>
<BR># For non-root users, add the current directory to the search path:
<BR>if [ ! "`id -u`" = "0" ]; then
<BR> PATH="$PATH:."
<BR>fi
<BR>
<BR><br>
startx
Inviato: ven 19 nov 2004, 15:52
da Dani_7
il problema è un altro..
<BR>il terminale è come se non funzionasse :S
<BR>cioè ho dato xorgconfig
<BR>e mi dice command not found O_O
<BR>non è il terminale normale infatti...il cursore è posto dopo
<BR>- bach-3.00# "cursore"
<BR>
<BR>come faccio?non riesco ad azionare nessun comando :S<br>
startx
Inviato: ven 19 nov 2004, 16:27
da infinito
slackware 11.0? forse per questo nn ti funziona, nn esiste, di conseguenza nn puo´ andare niente...<br>
startx
Inviato: ven 19 nov 2004, 16:48
da meritil
prova a lanciarlo con il path completo... dato che profile non ti funziona non hai il path degli eseguibili di X11
<BR>
<BR>/usr/X11R6/bin/xorgconfig
<BR>
<BR>Risolvi il problema con /etc/profile prima però ...elimina il tuo copia il mio e sostituiscilo, poi riloggati.
<BR>
<BR>ps: probabilmente dovrai usare i programmi senza omettere il path completo dato che questa funzionalità te la dava profile...
<BR>
<BR>tipo se vuoi usare rm devi scrivere /bin/rm<br>
startx
Inviato: ven 19 nov 2004, 17:31
da goodchild
secondo me devi avere fatto un macello con profile, hai provato a modificarlo?
<BR>che riga e´ quella che ti da´ errore?
<BR>
<BR>prova e reinstallare il pacchetto etc-5.1-noarch-9 (magari se hai appena installato e potrebbe essere che sia difettato prova a riscaricarlo e controllare il md5sum).<br>
startx
Inviato: ven 19 nov 2004, 18:20
da Dani_7
/usr/X11R6/bin/xorgconfig
<BR>
<BR>command not found
<BR>
<BR>uffà la riga dell´errore me lo dice lui...91 e 94...non c´è un modo per ripristinare sia x che il file profile magari da cd o da floppy??o devo reinstallare tutto??
<BR>comunque ho cancellato il file profile soltanto che come faccio a copiare quello che mi dite voi?:S io adesso scrivo da windows...:S
<BR>
<BR>Daniele
<BR>
<BR>
<BR>
<BR>
<BR><BR><BR>[ Questo Messaggio è stato Modificato da: Dani_7 il 19-11-2004 18:20 ]<br>