Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Secondo problema da neofita - Installazione server X
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
walterino
n00b
n00b


Joined: 02 Jun 2011
Posts: 15
Location: Giussano ITALIA

PostPosted: Mon Jun 20, 2011 8:48 pm    Post subject: Secondo problema da neofita - Installazione server X Reply with quote

Salve a tutti,
dopo aver ricevuto i grandiosi aiuti dei più esperti (che ancora voglio ringraziare) e dopo aver preso la giusta "mazziata" per non aver utilizzato il forum nella maniera più consona, eccomi nuovamente a richiedere l'intervento di chi ne sa più di me per risolvere una serie di problemi legati all'installazione e configurazione dell'interfaccia grafica.

Premetto che sono arrivato ad avere un sistema funzionante con Gentoo seguendo la guida al http://www.gentoo.org/doc/it/handbook/handbook-x86.xml?style=printable&full=1 e i consigli che mi sono stati dati nel mio precendente messaggio sul forum.

In questo momento sto cercando disperatamente di intallare il server X. Per fare ciò ho cercato di seguire pedissequamente la guida http://www.gentoo.org/doc/it/xorg-config.xml, arrivando senza grossi problemi al punto 2.9:
Quote:

Codice 2.9: Reinizializzare le variabili d'ambiente

# env-update
# source /etc/profile

A questo punto iniziano una serie di complicazioni.
Ho provato a lanciare il comando
Quote:
startx
Di seguito parte di ciò che mi compare a video (vi elenco la parte finale):
Quote:

(EE) Failed to load module "nouveau" (module does not exist, 0)
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) No drivers available.

Fatal server error:
no screens found
...
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Vi informo che al momento il file /etc/make.conf risulta compilato in questo modo:
Quote:

INPUT_DEVICE="evdev synaptics"
VIDEO_CARDS="nouveau"
CFLAGS="-02 -march=i686 -pipe"
CXXFLAGS="$[CFFLAGS]"
CHOST="i686-pc-linux-gnu"


Inoltre, quello che capisco è che in questa fase dell'installazione non risulta presente il file
Quote:
/etc/X11/xorg.conf
.
Anche utilizzando il comando
Quote:
X -configure
, non mi viene generato il file xorg.conf. Queste alcune delle righe di mi compaiono a video dopo aver lanciato tale comando:
Quote:

Current version of pixman: 0.20.2

Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknow.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 20 xxxxxx
Missing output drivers. Configuration failed.


Chi sa darmi qualche dritta per aiutarmi a risolvere? E' così compleso installare il server X su gentoo? :-)
Grazie
Back to top
View user's profile Send private message
k01
Arch/Herd Tester
Arch/Herd Tester


Joined: 13 Feb 2008
Posts: 617
Location: Milano

PostPosted: Mon Jun 20, 2011 9:15 pm    Post subject: Reply with quote

prova a dare emerge -1 xorg-drivers e poi i vari comandi che stai provando, startx e X -configure
Back to top
View user's profile Send private message
walterino
n00b
n00b


Joined: 02 Jun 2011
Posts: 15
Location: Giussano ITALIA

PostPosted: Mon Jun 20, 2011 9:21 pm    Post subject: Reply with quote

Ho provato ora con emerge -1 xorg-drivers.
Poi con i comandi startx e X -configure, ma ottengo gli stessi errori sopraelencati.
Back to top
View user's profile Send private message
k01
Arch/Herd Tester
Arch/Herd Tester


Joined: 13 Feb 2008
Posts: 617
Location: Milano

PostPosted: Mon Jun 20, 2011 11:01 pm    Post subject: Reply with quote

ma che scheda video hai?
Back to top
View user's profile Send private message
mastrosaffi
n00b
n00b


Joined: 13 Jan 2011
Posts: 17
Location: Codroipo

PostPosted: Tue Jun 21, 2011 5:54 am    Post subject: Reply with quote

Installa il tool lspci cosi vediamo che scheda video possiedi ;)

1) Emerge pciutils;
2) Fai partire il comando lspci e posta l'output;

Ci sentiamo ciao!
Back to top
View user's profile Send private message
ago
Developer
Developer


Joined: 01 Mar 2008
Posts: 1527
Location: Milan, Italy

PostPosted: Tue Jun 21, 2011 8:25 am    Post subject: Re: Secondo problema da neofita - Installazione server X Reply with quote

Startx non ti darà mai nessun risultato perché al momento non hai twm e roba varia.

walterino wrote:
Code:
INPUT_DEVICE="evdev synaptics"
VIDEO_CARDS="nouveau"
CFLAGS="-02 -march=i686 -pipe"
CXXFLAGS="$[CFFLAGS]"
CHOST="i686-pc-linux-gnu"


io ti consiglierei:
Code:
INPUT_DEVICES="keyboard mouse evdev synaptics"
VIDEO_CARDS="nouveau"
CFLAGS="march=native -O2"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"


Poi lancia
Code:
emerge -DuNav world
e ti verranno installati gli altri driver per X
Back to top
View user's profile Send private message
walterino
n00b
n00b


Joined: 02 Jun 2011
Posts: 15
Location: Giussano ITALIA

PostPosted: Tue Jun 21, 2011 8:34 pm    Post subject: Reply with quote

rispondo prima a mastrosaffi:
ho eseguito emerge e poi lspci. Questo è l'output:
Quote:

PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
ISA bridge: Intel Corporation 82801JIR
IDE interface: Intel Corporation 82801JI
SMBusIntel Corporation 82801JI
...
VGA compatible controller: nVidia Corporation Device 0de0 (rev a1)
Audio device: nVidia Corporation Device 0bea (rev a1)
...


poi rispondo ad ago:

Ho fatto esattamente anche quanto dettomi da ago, ma facendo
Quote:

startx

ancora nulla.

Una domanda: ma perchè le cose che mi state dicendo non le ho trovate anche sulla guida che ho utilizzato? Non dovrebbe essere semplice (seguendo attentemente la guida) installare i vari pacchetti?


Last edited by walterino on Thu Jun 23, 2011 6:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
walterino
n00b
n00b


Joined: 02 Jun 2011
Posts: 15
Location: Giussano ITALIA

PostPosted: Tue Jun 21, 2011 8:37 pm    Post subject: Reply with quote



Last edited by walterino on Thu Jun 23, 2011 7:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
ago
Developer
Developer


Joined: 01 Mar 2008
Posts: 1527
Location: Milan, Italy

PostPosted: Tue Jun 21, 2011 10:03 pm    Post subject: Reply with quote

è opportuno non postare 2 messaggi di fila, leggi le linee guida ;)

Ad ogni modo io ti ho dato un suggerimento generale. Ad ogni modo hai marcato il supporto a nouveau nel kernel? ( sempre che la tua scheda sia supportata )
Back to top
View user's profile Send private message
walterino
n00b
n00b


Joined: 02 Jun 2011
Posts: 15
Location: Giussano ITALIA

PostPosted: Thu Jun 23, 2011 7:05 pm    Post subject: Reply with quote

ok grazie.
cercherò di postare un messaggio alla volta. Sono stato tratto in inganno dal fatto che mi sono state date due indicazioni.

cmq, ho fatto quello che mi è stato detto. Il kernel è stato marcato con * al supporto "nouveau". come vedete credo di aver seguito le indicazioni, ma non capisco come mai il server x non funge...

qualche aiuto?
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4787
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Fri Jun 24, 2011 1:34 am    Post subject: Reply with quote

walterino wrote:
cmq, ho fatto quello che mi è stato detto. Il kernel è stato marcato con * al supporto "nouveau"

prova a ricompilare il supporto a nouvea come modulo.
dovrebbe risultare più facile fare una diagnosi del problema.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
clamnce
n00b
n00b


Joined: 26 Jun 2011
Posts: 2

PostPosted: Sun Jun 26, 2011 2:20 pm    Post subject: Reply with quote

Un saluto a tutti visto che è il mio primo messaggio. :D
Mi intrometto perché proprio ieri ero alle prese con l'installazione di gentoo e dopo una prima fase piuttosto liscia l'avvio di xorg mi ha fatto impazzire incappando in messaggi come quelli riportati in questo post. Spero di avere così un chiarimento sulla procedura che ho seguito e magari scrivendo direttamente qui vedere se può essere utile per risolvere questo thread.
il messaggio
Quote:
(EE) Failed to load module "nouveau" (module does not exist, 0)

l'ho riscontrato solo quando per fare delle prove disinstallavo xf86-video-nouveau ma la parte che dice
Quote:
Fatal server error:
no screens found

me la sono portata dietro per un po' fino a che ho pensato di mettere tra i servizi in avvio udev con
Code:
rc-update add udev default

a quel punto le cose hanno cominciato a funzionare. Mi chiedevo se è corretto quel che ho fatto e se nel caso potesse aiutare walterino...
io ho optato per quella soluzione andando a logica e con quel po' di rudimenti che ho, ma si sa che la logica del neofita non è a prova di bomba quindi ditemi pure che è una castroneria. Il fatto è che con le vicissitudini hal, udev e affini credo che chi non è esperto rischia di fare un bel casino.
grazie comunque a tutti per le interessanti discussione che si trovano in questo forum
Back to top
View user's profile Send private message
ago
Developer
Developer


Joined: 01 Mar 2008
Posts: 1527
Location: Milan, Italy

PostPosted: Sun Jun 26, 2011 3:34 pm    Post subject: Reply with quote

clamnce wrote:
Code:
rc-update add udev default

Code:
amd64box ~ # rc-update show | grep "udev "
                 udev |                                        sysinit
Back to top
View user's profile Send private message
clamnce
n00b
n00b


Joined: 26 Jun 2011
Posts: 2

PostPosted: Sun Jun 26, 2011 4:28 pm    Post subject: Reply with quote

Quote:
Codice:
amd64box ~ # rc-update show | grep "udev "
udev | sysinit


ok, vado a cambiare... :D
grazie!
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Wed Mar 21, 2012 2:13 pm    Post subject: Reply with quote

Ciao,

stesso problema anche qui:

startx mi da il seguente output:
Code:
xauth:  file /home/fbcyborg/.serverauth.11088 does not exist

xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error


Se lancio xinit, KDE parte. Altrimenti niente.
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
bi-andrea
Apprentice
Apprentice


Joined: 09 Mar 2010
Posts: 171
Location: cesenatico

PostPosted: Wed Mar 21, 2012 10:07 pm    Post subject: Reply with quote

:?: sembra strano, perchè dovrebbe lanciare la grafica con entrambi i comandi, ma da quello che ho capito non si usa xdm o qualsiasi logger grafico, giusto?
_________________
Quando arrivi a Linux è un trauma, abituati a Windows, quando arrivi a Gentoo è uno spavento col brivido , però quando lo capisci sei uscito dall'università "GNU/Linux" ;)
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Wed Mar 21, 2012 10:21 pm    Post subject: Reply with quote

bi-andrea wrote:
ma da quello che ho capito non si usa xdm o qualsiasi logger grafico, giusto?

Scusami forse non ho capito la tua domanda o dubbio.

Comunque sì è strano perché ho almeno altri 2 ambienti dove startx funziona perfettamente, sia da root che da utente.
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Thu Mar 22, 2012 2:39 pm    Post subject: Reply with quote

controlla che in /etc/X11 sia tutto aggiornato e che non hai problemi in home sui file di avvio.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Thu Mar 22, 2012 3:54 pm    Post subject: Reply with quote

In realtà dentro /etc/X11 ho gli stessi identici file e directory che ho in un altro chroot dove non ho questo problema.
Per quel che riguarda i file di avvio, non saprei. L'unico significativo può essere ~/.xinitrc e al suo interno c'è "exec startkde".
Ora sto ultimando un aggiornamento, poi ricontrollo. Grazie.
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Thu Mar 22, 2012 4:14 pm    Post subject: Reply with quote

Ho risolto!

Ho fatto un bel emerge -e @world, dato un dispatch-conf e aggiornato tutto.
Grazie!
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Thu Mar 22, 2012 7:44 pm    Post subject: Reply with quote

la segreteria telefonica wrote:
djinnZ è giunto alla sofferta determinazione d'abbandonare questa landa di lacrime ...
:mrgreen:
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum