Problema dopo aggiornamento current del 20/03

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
Avatar utente
corrado
Linux 2.x
Linux 2.x
Messaggi: 218
Iscritto il: dom 13 feb 2005, 0:00
Nome Cognome: corrado
Slackware: current
Kernel: 2.6.29.6-smp
Desktop: kde-4
Località: isola del liri
Contatta:

Problema dopo aggiornamento current del 20/03

Messaggio da corrado »

Salve a tutti, ho aggiornato i pacchetti x11-* della mia current ma non mi parte piu' X da utente "semplice". Da root tutto ok.
L'errore che mi da' e' il seguente: "Cannot move log file /var/log/Xorg.o.log to /var/log/Xorg.o.log.old". Poi mi da un errno11 e un errno3 (mi sembra).
Qualcuno ha qualche idea?

Grazie e ciao
corrado

Avatar utente
glpiana
Linux 3.x
Linux 3.x
Messaggi: 636
Iscritto il: lun 12 gen 2004, 0:00
Contatta:

Re: Problema dopo aggiornamento current del 20/03

Messaggio da glpiana »

corrado ha scritto:Salve a tutti, ho aggiornato i pacchetti x11-* della mia current ma non mi parte piu' X da utente "semplice". Da root tutto ok.
L'errore che mi da' e' il seguente: "Cannot move log file /var/log/Xorg.o.log to /var/log/Xorg.o.log.old". Poi mi da un errno11 e un errno3 (mi sembra).
Qualcuno ha qualche idea?

Grazie e ciao
corrado
su google ho trovato questo, magari ti è utile arisolvere il problema:
irish rebel
01-22-2005, 07:03 PM
Guys I created ~.xinitrc file with the exec xfce4 command in it and when I try to log in and then startx I get the following

Fatal server error

cannot move old log file ["/var/log/xorg.o.log to /var/log/xorg.o.log.old


anyone have a clue I can log in as root and get my xfce no problem but when I try as myself ...... help please
felixdz
09-22-2005, 01:11 AM
Create the .xinitrc in your home directory:touch ~/.xinitrcthen insert the appropriate command to start the desktop you've chosen to use.

Ircsum.

Should this be done as a regular user? Or as root? I think I have the same problem?


When I startx as root fluxbox works. But as an ordinary user I get an X-Window with three xterms all with a "lovely" baby blue background.
felixdz
09-22-2005, 02:16 AM
That was the problem. Had a few minutes spare and went back and created the .xinitrc as a regular user. Then Fluxbox appeared!
penso che la parte essenziale sia l'ultima riga, cioè creare xinitrc da user. prova. non ti assicuro niente.

arizz
Linux 0.x
Linux 0.x
Messaggi: 2
Iscritto il: mar 21 mar 2006, 18:29

Messaggio da arizz »

E' un problema di permessi:
io ho risolto con "chmod 4755 /usr/X11R6/bin/Xorg"
ciao.

notsafe
Linux 2.x
Linux 2.x
Messaggi: 451
Iscritto il: mar 21 mar 2006, 11:00

Messaggio da notsafe »

ri-aggiorna.

Dal changelog di oggi:
Tue Mar 21 11:17:27 CST 2006
x/x11-6.9.0-i486-3.tgz: Fixed /usr/X11R6/bin/Xorg, which due to being not
setuid root could not be used by non-root users. Thanks to the many people
who reported this issue. I tracked it down to a new (or rather, back again)
behavior of "chown", which is removing the suid/sgid bits from any file that
it touches. I remember this same situation from the old days, and it's
why many of the older package builds use a package skeleton and then install
binaries using "cat" -- this prevents the changing of the permissions.
If I recall correctly, "strip" also used to do this. Looking in the kernel
source, I see some mention in fs/open.c about doing this as a safety feature.
IMO, it doesn't seem like the right thing to do, though. If I want chmod,
I'll use it, thank you. However, it looks like the feature was added years
ago, and I have no idea why it has just recently kicked in. I've gone back
and tested on a Slackware 10.2 box, and it's also showing the same effects
with "chown", so it seems to me that this sort of breakage should have
been happening when the x11*-6.9.0-i486-1.tgz packages were built, too,
but Xorg was properly setuid in that package set. I tried dropping back
to the previous coreutils, and this also didn't help. It's a mystery.
Anyway, my first thought was to simply move the "chmod 4711" on Xorg to
after the last "chown" in the build script, but decided that the best way
to handle this is to begin phasing out the use of the "bin" group on
binaries and binary directories. There was never any use to this ever, so
far as I can tell. I think someone working on the FHS just thought that
root:bin looked nicer, or something. ;-) Most distributions install
binaries as root:root now anyway, and the latest standards no longer
require root:bin. Since it doesn't matter, don't expect everything to
change all at once -- don't send bug reports concerning files or
directories that "should be" root:bin or root:root. We will move away
from root:bin to root:root as new packages are built.
I sure hope "strip" doesn't start acting up next...
x/x11-devel-6.9.0-i486-3.tgz: Rebuilt. Really, there was no need to rebuild
this or the below packages, but I like a consistent build number when it's
not too much trouble to have it.
x/x11-docs-6.9.0-noarch-3.tgz: Rebuilt.
x/x11-docs-html-6.9.0-noarch-3.tgz: Rebuilt.
x/x11-fonts-100dpi-6.9.0-noarch-3.tgz: Rebuilt.
x/x11-fonts-cyrillic-6.9.0-noarch-3.tgz: Rebuilt.
x/x11-fonts-misc-6.9.0-noarch-3.tgz: Rebuilt.
x/x11-fonts-scale-6.9.0-noarch-3.tgz: Rebuilt.
x/x11-xdmx-6.9.0-i486-3.tgz: Recompiled.
x/x11-xnest-6.9.0-i486-3.tgz: Recompiled.
x/x11-xvfb-6.9.0-i486-3.tgz: Recompiled.

Avatar utente
corrado
Linux 2.x
Linux 2.x
Messaggi: 218
Iscritto il: dom 13 feb 2005, 0:00
Nome Cognome: corrado
Slackware: current
Kernel: 2.6.29.6-smp
Desktop: kde-4
Località: isola del liri
Contatta:

Messaggio da corrado »

Grazie per gli aiuti.
Ho upgradato ancora e tutto è tornato ok.
Un'ultima curiosità: i premessi del file /var/log/Xorg.0.log quali sono? Credo di averci giocato troppo

Saluti
corrado

Avatar utente
Paoletta
Staff
Staff
Messaggi: 3975
Iscritto il: lun 25 apr 2005, 0:00
Slackware: 14.2 - 64 bit
Desktop: fluxbox
Località: Varese

Messaggio da Paoletta »

corrado ha scritto:Grazie per gli aiuti.
Ho upgradato ancora e tutto è tornato ok.
Un'ultima curiosità: i premessi del file /var/log/Xorg.0.log quali sono? Credo di averci giocato troppo

Saluti
corrado

Codice: Seleziona tutto

-rw-r--r--

Rispondi