Pagina 1 di 1
Prompt di login [ALT+F8] con Jaunty
Inviato: martedì 19 maggio 2009, 13:14
da Amsicora
Salve a tutti,
uso Ubuntu 9.04 Jaunty Jackalope e sto seguendo la guida "Speed up your Ubuntu" :
http://aldeby.org/blog/index.php/speed- ... -boot.html
Ho un problema al punto:
This will grind the disk for a while then it will return you to a command prompt. The profiler is now in the background watching all actions. Now, without logging out, go to your destop login prompt (ALT+F8 ) and log in normally.
giacchè con Jaunty son state disabilitate le vecchie scorciatoie (shortcuts) da tastiera.
Con compiz ho già abilitato "Compatibilità con Gnome".
Quale è la nuova scorciatoia per ottenere un prompt di login grafico, anche da terminale (tty1) ?
Grazie a tutti!!
Re: Prompt di login [ALT+F8] con Jaunty
Inviato: martedì 19 maggio 2009, 13:24
da steff
Non so cosa hanno disabilitato, ma ctrl+alt+F1 ... fino F6 sono terminali mentre il server X gira su ctrl+alt+F7
stai attento alle guide che a volte invece di velocizzare spaccano

Re: Prompt di login [ALT+F8] con Jaunty
Inviato: martedì 19 maggio 2009, 13:31
da Amsicora
Hanno disabilitato, uno su tutti, il caro vecchio [CTRL+ALT+BACKSPACE] per terminare la sessione grafica... :-X
Re: Prompt di login [ALT+F8] con Jaunty
Inviato: martedì 19 maggio 2009, 13:41
da steff
Pure su arch, e io l'ho rimesso

xorg.conf
Codice: Seleziona tutto
Section "Serverflags"
Option "DontZap" "off"
EndSection
Re: Prompt di login [ALT+F8] con Jaunty
Inviato: martedì 19 maggio 2009, 14:35
da il_muflone
Amsicora ha scritto:
Hanno disabilitato, uno su tutti, il caro vecchio [CTRL+ALT+BACKSPACE] per terminare la sessione grafica... :-X
l'hanno sostituito con ALT+Stamp+K
Re: Prompt di login [ALT+F8] con Jaunty
Inviato: martedì 19 maggio 2009, 14:42
da Amsicora
Grazie il_muflone

sai x caso come hanno sostituito [ALT+F8] ?
Re: Prompt di login [ALT+F8] con Jaunty
Inviato: martedì 19 maggio 2009, 14:45
da il_muflone
la vt8 che io sappia veniva utilizzata dal server di X utilizzando i driver ati
con gli nvidia X starà sulla vt7
prova a spiegare direttamente che problemi hai, al di là di quella guida
Re: Prompt di login [ALT+F8] con Jaunty
Inviato: mercoledì 20 maggio 2009, 0:31
da Amsicora
Ciao il_muflone!
seguendo la guida sopra citata, volevo velocizzare l'avvio della sessione grafica di Gnome:
Configure readahead to preload files needed in your dektop environment while waiting for the username and password prompt. The more RAM you have the more you can preload. 512 is really the minimum.In /etc/readahead you can find the lists of preloaded files for the boot sequence (we have customized this in the previous step). Now we are going to create a profile of our desktop.
At the login prompt, now change vts with CTRL+ALT+F1, login and write down
sudo readahead-watch -o /etc/readahead/gnome /
This will grind the disk for a while then it will return you to a command prompt. The profiler is now in the background watching all actions. Now, without logging out, go to your destop login prompt (ALT+F8 ) and log in normally. After you are fully logged in, press CTRL+ALT+F1 to go back to your terminal, and stop the profiler with
sudo killall readahead-watch
We would have to prune the resulting list a bit as Jdong suggests: In a terminal, run:
cat /etc/readahead/gnome | xargs -i ls -lk {} | sort -rn -k +5 | less
This will display all the files readahead wants to cache, sorted by largest file first. The 5th column (before date) is the size of the file in KB. Make sure there’s nothing too large. If it’s bigger than 10,000KB or so, it’s probably not worth preloading. You can remove unwanted files from the preload list by opening /etc/readahead/gnome in your favorite editor, and deleting its line.
Il problema, appunto, è che non riesco a avviare il prompt di login da terminale tty1.
Re: Prompt di login [ALT+F8] con Jaunty
Inviato: mercoledì 20 maggio 2009, 1:06
da il_muflone
X normalmente e` sulla vt7
altrimenti esegui sudo /etc/init.d/gdm restart
che al riavvio di gdm dovrebbe rimetterti gdm in primo piano
Re: Prompt di login [ALT+F8] con Jaunty
Inviato: mercoledì 20 maggio 2009, 15:29
da Amsicora
Ho provato come mi hai consigliato, ma con questo esito:
Codice: Seleziona tutto
antonello@beowulf:~$ /etc/init.d/gdm restart
* Stopping GNOME Display Manager... [ OK ]
* Starting GNOME Display Manager... [fail]
antonello@beowulf:~$
Penso che dipenda dal fatto che una sessione grafica è già in esecuzione (infatti mi sposto sulla tty1 dopo esser entrato su gnome all'avvio).
Sto pensando, allora, di fare quanto sopra dopo aver fatto il boot direttamente in modalità testuale, senza entrare in gnome.
La domanda ora è: che comando devo dare a grub affinchè si avvii in modalità testuale?
Grazie!
Re: Prompt di login [ALT+F8] con Jaunty
Inviato: mercoledì 20 maggio 2009, 19:54
da il_muflone
puoi aggiungere single alla riga kernel
ma non ha molto senso che tu non possa stoppare gdm

Re: Prompt di login [ALT+F8] con Jaunty
Inviato: giovedì 21 maggio 2009, 1:02
da Amsicora
Ho effettuato l'avvio in recovery mode e mi son loggato come root da console.
Dando il comando di readahead-watch, e successivamente
gnome parte, ma mi segnala un crash di HAL... :-\