Linux-magazine.it Forum
Maggio 21, 2013, 05:49:39 pm *
Benvenuto! Accedi o registrati.
Hai dimenticato l'e-mail di attivazione?
 
Pagine: [1]   Vai giù
  Stampa  
Autore Discussione: [RISOLTO] - Scegliere il desktop environment all'avvio  (Letto 1892 volte)
0 utenti e 1 Utente non registrato stanno visualizzando questa discussione.
Callejon
Hero Member
*****

Karma: +1/-5
Scollegato Scollegato

Messaggi: 576


Have lot a fun!

kallejon@hotmail.it
Mostra profilo
« inserita:: Settembre 03, 2010, 01:25:14 pm »

Ragazzi...
Secondo passo da affrontare: come posso scegliere all'avvio l'utilizzo di GNOME anzichè KDE? Sembra che esista un file attraverso il quale è possibile determinarne la selezione.

Citazione
bash-4.1# cat /etc/rc.d/rc.4
#! /bin/sh
#
# rc.4      This file is executed by init(Fico when the system is being
#      initialized for run level 4 (XDM)
#
# Version:   @(#)/etc/rc.d/rc.4   2.00   02/17/93
#
# Author:   Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
# At least 47% rewritten by:  Patrick J. Volkerding <volkerdi@slackware.com>
#

# Tell the viewers what's going to happen...
echo "Starting up X11 session manager..."

# Try to use GNOME's gdm session manager.  This comes first because if
# gdm is on the machine then the user probably installed it and wants
# to use it by default:
if [ -x /usr/bin/gdm ]; then
  exec /usr/bin/gdm -nodaemon
fi

# Someone thought that gdm looked prettier in /usr/sbin,
# so look there, too:
if [ -x /usr/sbin/gdm ]; then
  exec /usr/sbin/gdm -nodaemon
fi

# Not there?  OK, try to use KDE's kdm session manager:
#if [ -x /opt/kde/bin/kdm ]; then
#  exec /opt/kde/bin/kdm -nodaemon
#elif [ -x /usr/bin/kdm ]; then
#  exec /usr/bin/kdm -nodaemon
#fi

# If all you have is XDM, I guess it will have to do:
#if [ -x /usr/bin/xdm ]; then
#  exec /usr/bin/xdm -nodaemon
#elif [ -x /usr/X11R6/bin/xdm ]; then
#  exec /usr/X11R6/bin/xdm -nodaemon
#fi

# error
echo
echo "Hey, you don't have KDM, GDM, or XDM.  Can't use runlevel 4 without"
echo "one of those installed."
sleep 30

# All done.
bash-4.1#

Ho provato a mettere il cancelletto su KDE ma sembra che il SO ne ignori la forzatura. Premetto che ho installato il motore GNOME attraverso questo comando:

[quotelynx --source http://gnomeslackbuild.org/net-install | bash][/quote]

Cosa devo fare?

Ps. Inoltre ho notato che quando riavvio il pc attraverso il comando reboot, le impostazioni di background non vengono mantenute...
« Ultima modifica: Settembre 04, 2010, 01:20:11 am da Callejon_SuSE » Registrato

Pc 1: ASUS EeePC R101 - SO Debian 6.0 (Lato server)
PC 2: MacBook Pro da 13'
PC 3: Asus X73B Series - SO OpenSuSE 12.3 con GNOME 3.6
Utilizzo linux dal 15/10/2008

Blog personale: http://opencallejon.blogspot.it/

Membro Wikipedia dal 2009
robs
Hero Member
*****

Karma: +1/-1
Scollegato Scollegato

Messaggi: 735


Mostra profilo
« Risposta #1 inserita:: Settembre 03, 2010, 01:56:46 pm »

per quanto ne so io gnome non è incluso....
cmq vai nel file /etc/inittab
e modifica questa linea
Codice:
id:3:initdefault:

sostituendo 3 con 4
cosi si avvia l'interfaccia grafica,e il gestore dovrebbe essere kdm,ma ripeto,per quanto ne so non c' gnome,ma potrò dirlo con certezza tra non molto che sto aggiornando alla 13.1...ciao
ps:hai installato 13.1 o 13.0?
Registrato
michele.p
Administrator
Hero Member
*****

Karma: +54/-45
Scollegato Scollegato

Messaggi: 7285



Mostra profilo
« Risposta #2 inserita:: Settembre 03, 2010, 03:40:24 pm »

Gnome è "fuori" da Slackware dal 2005/2006. Chi lo vuole dovrà affidarsi a terze parti che potete trovare in rete. ;-)

Bye  Fico
Registrato

Callejon
Hero Member
*****

Karma: +1/-5
Scollegato Scollegato

Messaggi: 576


Have lot a fun!

kallejon@hotmail.it
Mostra profilo
« Risposta #3 inserita:: Settembre 03, 2010, 06:19:17 pm »

per quanto ne so io gnome non è incluso....
cmq vai nel file /etc/inittab
e modifica questa linea
Codice:
id:3:initdefault:

sostituendo 3 con 4
cosi si avvia l'interfaccia grafica,e il gestore dovrebbe essere kdm,ma ripeto,per quanto ne so non c' gnome,ma potrò dirlo con certezza tra non molto che sto aggiornando alla 13.1...ciao
ps:hai installato 13.1 o 13.0?


Ho installato la versione 13.1 e il desktop GNOME l'ho scaricato da rete. Ora provo a modificare il file /etc/inittab e vedo cosa succede...
Registrato

Pc 1: ASUS EeePC R101 - SO Debian 6.0 (Lato server)
PC 2: MacBook Pro da 13'
PC 3: Asus X73B Series - SO OpenSuSE 12.3 con GNOME 3.6
Utilizzo linux dal 15/10/2008

Blog personale: http://opencallejon.blogspot.it/

Membro Wikipedia dal 2009
Callejon
Hero Member
*****

Karma: +1/-5
Scollegato Scollegato

Messaggi: 576


Have lot a fun!

kallejon@hotmail.it
Mostra profilo
« Risposta #4 inserita:: Settembre 03, 2010, 06:30:12 pm »

Ok... ho modificato il file e adesso utilizzo GNOME... Un altro passo avanti...
Registrato

Pc 1: ASUS EeePC R101 - SO Debian 6.0 (Lato server)
PC 2: MacBook Pro da 13'
PC 3: Asus X73B Series - SO OpenSuSE 12.3 con GNOME 3.6
Utilizzo linux dal 15/10/2008

Blog personale: http://opencallejon.blogspot.it/

Membro Wikipedia dal 2009
robs
Hero Member
*****

Karma: +1/-1
Scollegato Scollegato

Messaggi: 735


Mostra profilo
« Risposta #5 inserita:: Settembre 04, 2010, 12:04:15 am »

per completezza,riporta il link da dove l'hai scaricato non si sa mai che serve a qualcun altro,e metti risolto al post...
ciao
Registrato
Callejon
Hero Member
*****

Karma: +1/-5
Scollegato Scollegato

Messaggi: 576


Have lot a fun!

kallejon@hotmail.it
Mostra profilo
« Risposta #6 inserita:: Settembre 04, 2010, 01:17:25 am »

I passi che ho seguito sono i seguenti:

Ho aperto il terminale e con diritti di amministratore ho digitato il seguente comando:

Citazione
nano /etc/inittab
e mi si è presentato questo contenuto:

Citazione
bash-4.1# cat /etc/inittab
#
# inittab   This file describes how the INIT process should set up
#      the system in a certain run-level.
#
# Version:   @(#)inittab      2.04   17/05/93   MvS
#                                       2.10    02/10/95        PV
#                                       3.00    02/06/1999      PV
#                                       4.00    04/10/2002      PV
#
# Author:   Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Modified by:   Patrick J. Volkerding, <volkerdi@slackware.com>
#

# These are the default runlevels in Slackware:
#   0 = halt
#   1 = single user mode
#   2 = unused (but configured the same as runlevel 3)
#   3 = multiuser mode (default Slackware runlevel)
#   4 = X11 with KDM/GDM/XDM (session managers)
#   5 = unused (but configured the same as runlevel 3)
#   6 = reboot

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

# System initialization (runs when system boots).
si:S:sysinit:/etc/rc.d/rc.S

# Script to run when going single user (runlevel 1).
su:1S:wait:/etc/rc.d/rc.K

# Script to run when going multi user.
rc:2345:wait:/etc/rc.d/rc.M

# What to do at the "Three Finger Salute".
ca::ctrlaltdel:/sbin/shutdown -t5 -r now

# Runlevel 0 halts the system.
l0:0:wait:/etc/rc.d/rc.0

# Runlevel 6 reboots the system.
l6:6:wait:/etc/rc.d/rc.6

# What to do when power fails.
pf::powerfail:/sbin/genpowerfail start

# If power is back, cancel the running shutdown.
pg::powerokwait:/sbin/genpowerfail stop

# These are the standard console login getties in multiuser mode:
c1:1235:respawn:/sbin/agetty 38400 tty1 linux
c2:1235:respawn:/sbin/agetty 38400 tty2 linux
c3:1235:respawn:/sbin/agetty 38400 tty3 linux
c4:1235:respawn:/sbin/agetty 38400 tty4 linux
c5:1235:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux

# Local serial lines:
#s1:12345:respawn:/sbin/agetty -L ttyS0 9600 vt100
#s2:12345:respawn:/sbin/agetty -L ttyS1 9600 vt100

# Dialup lines:
#d1:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS0 vt100
#d2:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS1 vt100

# Runlevel 4 used to be for an X window only system, until we discovered
# that it throws init into a loop that keeps your load avg at least 1 all
# the time. Thus, there is now one getty opened on tty6. Hopefully no one
# will notice. ;^)
# It might not be bad to have one text console anyway, in case something
# happens to X.
x1:4:respawn:/etc/rc.d/rc.4

# End of /etc/inittab
bash-4.1#

Ho modificato la stringa:

Citazione
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
Originariamente il valore del runrevel era 3. L'ho modificata in 4 dimodochè al prossimo riavvio passasse direttamente al gestore grafico senza fermarsi al prompt.

Il secondo step è stato modificare il file /etc/rc.d/rc.4
Dove nel contenuto:
Citazione
#! /bin/sh
#
# rc.4      This file is executed by init(Fico when the system is being
#      initialized for run level 4 (XDM)
#
# Version:   @(#)/etc/rc.d/rc.4   2.00   02/17/93
#
# Author:   Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
# At least 47% rewritten by:  Patrick J. Volkerding <volkerdi@slackware.com>
#

# Tell the viewers what's going to happen...
echo "Starting up X11 session manager..."

# Try to use GNOME's gdm session manager.  This comes first because if
# gdm is on the machine then the user probably installed it and wants
# to use it by default:
if [ -x /usr/bin/gdm ]; then
  exec /usr/bin/gdm -nodaemon
fi

# Someone thought that gdm looked prettier in /usr/sbin,
# so look there, too:
if [ -x /usr/sbin/gdm ]; then
  exec /usr/sbin/gdm -nodaemon
fi

# Not there?  OK, try to use KDE's kdm session manager:
#if [ -x /opt/kde/bin/kdm ]; then
#  exec /opt/kde/bin/kdm -nodaemon
#elif [ -x /usr/bin/kdm ]; then
#  exec /usr/bin/kdm -nodaemon
#fi

# If all you have is XDM, I guess it will have to do:
#if [ -x /usr/bin/xdm ]; then
#  exec /usr/bin/xdm -nodaemon
#elif [ -x /usr/X11R6/bin/xdm ]; then
#  exec /usr/X11R6/bin/xdm -nodaemon
#fi

# error
echo
echo "Hey, you don't have KDM, GDM, or XDM.  Can't use runlevel 4 without"
echo "one of those installed."
sleep 30

# All done.
bash-4.1#

Ho inserito un cancelletto, alle voci che non appartenessero a GNOME. Infatti come si può notare, solo le prime stringhe sono rimaste libere:

Citazione
# Try to use GNOME's gdm session manager.  This comes first because if
# gdm is on the machine then the user probably installed it and wants
# to use it by default:
if [ -x /usr/bin/gdm ]; then
  exec /usr/bin/gdm -nodaemon
fi]

Ho infine salvato tutto e riavviato, ed il gioco è fatto.  Occhiolino

Ho trovato una documentazione inerente a questa casistica al seguente indirizzo:

http://book.slackware.it/x-window-system-xdm.html

Callejon...

« Ultima modifica: Settembre 04, 2010, 01:21:16 am da Callejon_SuSE » Registrato

Pc 1: ASUS EeePC R101 - SO Debian 6.0 (Lato server)
PC 2: MacBook Pro da 13'
PC 3: Asus X73B Series - SO OpenSuSE 12.3 con GNOME 3.6
Utilizzo linux dal 15/10/2008

Blog personale: http://opencallejon.blogspot.it/

Membro Wikipedia dal 2009
michele.p
Administrator
Hero Member
*****

Karma: +54/-45
Scollegato Scollegato

Messaggi: 7285



Mostra profilo
« Risposta #7 inserita:: Settembre 04, 2010, 10:35:46 pm »

Visto che ci sei  Felice ...riporta anche dove hai scaricato la versione di Gnome pacchettizzata considerando che è stata "eliminata" dal dvd di installazione.

Bye  Fico
Registrato

Callejon
Hero Member
*****

Karma: +1/-5
Scollegato Scollegato

Messaggi: 576


Have lot a fun!

kallejon@hotmail.it
Mostra profilo
« Risposta #8 inserita:: Settembre 05, 2010, 03:10:08 pm »

Visto che ci sei  Felice ...riporta anche dove hai scaricato la versione di Gnome pacchettizzata considerando che è stata "eliminata" dal dvd di installazione.

Bye  Fico

Certamente...
il link dove ho scaricato e installato in automatico GNOME Slackbuild è al seguente indirizzo:
http://gnomeslackbuild.org/download/

Scorrendo la pagina si arriva alla sezione Quick and Easy Install
Si invita ad aprire il terminale e digitare:

Ci impiega circa dieci minuti (rapportato al mio pc che è un Centrino Duo da 1.6GHz)...

Callejon  Ghigno Ghigno Ghigno
« Ultima modifica: Settembre 05, 2010, 03:13:40 pm da Callejon_SuSE » Registrato

Pc 1: ASUS EeePC R101 - SO Debian 6.0 (Lato server)
PC 2: MacBook Pro da 13'
PC 3: Asus X73B Series - SO OpenSuSE 12.3 con GNOME 3.6
Utilizzo linux dal 15/10/2008

Blog personale: http://opencallejon.blogspot.it/

Membro Wikipedia dal 2009
robs
Hero Member
*****

Karma: +1/-1
Scollegato Scollegato

Messaggi: 735


Mostra profilo
« Risposta #9 inserita:: Settembre 06, 2010, 12:36:31 am »

...e aggiungo che sarebbe opportuno uscire dal server grafico,e passare al terzo runlevel,quindi prima di digitare il seguente comando
Codice:
lynx --source http://gnomeslackbuild.org/net-install | bash

sarebbe opportuno dare
Codice:
telinit 3

da utente root...come suggerito in una guida che ho letto di recente...ma ovviamente non trovo il link...

ciao
Registrato
Pagine: [1]   Vai su
  Stampa  
 
Vai a: