View previous topic :: View next topic |
Author |
Message |
.:deadhead:. Advocate
Joined: 25 Nov 2003 Posts: 2963 Location: Milano, Italy
|
Posted: Fri Nov 03, 2006 10:33 am Post subject: [risolto] DISPLAYMANAGER e baselayout 1.12.6 |
|
|
Ho aggiornato di recente a baselayout-1.12.6.
Questa nuova versione ha modificato tra l'altro la gestione di xdm...
Ed infatti in /etc/rc.conf è scomparsa la variabile DISPLAYMANAGER che nel mio caso era settata a kdm (sono utente kde)
Code: | # XSESSION is a new variable to control what window manager to start
# default with X if run with xdm, startx or xinit. The default behavior
# is to look in /etc/X11/Sessions/ and run the script in matching the
# value that XSESSION is set to. The support scripts are smart enough to
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
# so setting it to "enlightenment" can also work. This is basically used
# as a way for the system admin to configure a default system wide WM,
# allthough it will work if the user export XSESSION in his .bash_profile, etc.
#
# NOTE: 1) this behaviour is overridden when a ~/.xinitrc exists, and startx
# is called.
# 2) even if ~/.xsession exists, if XSESSION can be resolved, it will
# be executed rather than ~/.xsession, else KDM breaks ...
#
# Defaults depending on what you install currently include:
#
# Gnome - will start gnome-session
# kde-<version> - will start startkde (look in /etc/X11/Sessions/)
# Xsession - will start a terminal and a few other nice apps
XSESSION="kde-3.5"
|
In linea teorica una volta modificato XSESSION secondo il proprio sistema tutto dovrebbe andare...
Da bravo utente sotto /etc/X11/Sessions ho Code: |
1,0K -rwxr-xr-x 1 root root 41 22 ago 16:02 kde-3.5*
3,0K -rwxr-xr-x 1 root root 2,2K 3 nov 09:51 Xsession* |
non ho toccato nulla rispetto a prima dell'update.
Eppure... Prima partiva, adesso lo start del servizio xdm si blocca inquanto cerca il file /usr/bin/xdm che non esiste . L'unica soluzione che ho trovato al momento è stata emerge xdm ... Ma io rivoglio kdm!
Qualcuno ha avuto esperienze simili o ha una soluzione? _________________ Proudly member of the Gentoo Documentation Project: the Italian Conspiracy !
Last edited by .:deadhead:. on Fri Nov 03, 2006 11:06 am; edited 2 times in total |
|
Back to top |
|
|
lucapost Veteran
Joined: 24 Nov 2005 Posts: 1419 Location: <ud|me|ts> - Italy
|
Posted: Fri Nov 03, 2006 10:38 am Post subject: |
|
|
la butto li, premetto che non uso xdm (....startx!)
Non è che c'è un'opzione in /etc/conf.d/xdm dove settare kdm? _________________ LP |
|
Back to top |
|
|
ProT-0-TypE Veteran
Joined: 20 Dec 2003 Posts: 1624 Location: Cagliari
|
|
Back to top |
|
|
.:deadhead:. Advocate
Joined: 25 Nov 2003 Posts: 2963 Location: Milano, Italy
|
|
Back to top |
|
|
lucapost Veteran
Joined: 24 Nov 2005 Posts: 1419 Location: <ud|me|ts> - Italy
|
Posted: Fri Nov 03, 2006 11:09 am Post subject: |
|
|
[OT]
@.:deadhead:.
non è che sei un ingegnere?
[/OT] _________________ LP
Last edited by lucapost on Fri Nov 03, 2006 2:37 pm; edited 1 time in total |
|
Back to top |
|
|
comio Advocate
Joined: 03 Jul 2003 Posts: 2191 Location: Taranto
|
Posted: Fri Nov 03, 2006 11:11 am Post subject: |
|
|
lucapost wrote: | [OT]
@.:deadhead:.
non è che sei un ingeniere?
[/OT] | why? :S
spremo una arancia in favore degli ing e nella loro abilità nel trovare soluzioni a problemi che nessuno ha.
(faccio parte della categoria).
ciao _________________ RTFM!!!!
e
http://www.comio.it
|
|
Back to top |
|
|
mrfree Veteran
Joined: 15 Mar 2003 Posts: 1303 Location: Europe.Italy.Sulmona
|
Posted: Fri Nov 03, 2006 11:58 am Post subject: DISPLAYMANAGER e nuovo baselayout |
|
|
Volevo solo segnalare che nel nuovo baselayout (sys-apps/baselayout-1.12.6) la variabile DISPLAYMANAGER viene settata in /etc/conf.d/xdm invece che /etc/rc.conf (da dove è stata quindi rimossa) _________________ Please EU, pimp my country!
ICE: /etc/init.d/iptables panic |
|
Back to top |
|
|
Kernel78 Moderator
Joined: 24 Jun 2005 Posts: 3654
|
Posted: Fri Nov 03, 2006 12:15 pm Post subject: |
|
|
Quindi come ogni volta in cui viene segnalato di farlo bisogna usare etc-update (o analoghi) e come sempre bisogna farlo con attenzione ?
Cosa c'è di nuovo rispetto a tutte le altre modifiche ? _________________ Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con Code: | grep -vE '(^[[:space:]]*($|(#|!|;|//)))' |
|
|
Back to top |
|
|
thewally l33t
Joined: 12 May 2005 Posts: 703 Location: Genova
|
Posted: Fri Nov 03, 2006 12:17 pm Post subject: Re: DISPLAYMANAGER e nuovo baselayout |
|
|
mrfree wrote: | Volevo solo segnalare che nel nuovo baselayout (sys-apps/baselayout-1.12.6) la variabile DISPLAYMANAGER viene settata in /etc/conf.d/xdm invece che /etc/rc.conf (da dove è stata quindi rimossa) |
Si...
ma, soprattutto, occhio a questa riga :
Code: | # NOTE: If this is set in /etc/rc.conf, that setting will override this one. |
_________________ Proudly Member of GeCHI |
|
Back to top |
|
|
lavish Bodhisattva
Joined: 13 Sep 2004 Posts: 4296
|
Posted: Fri Nov 03, 2006 12:43 pm Post subject: |
|
|
Ho fatto il merge della discussione aperta da mrfree con questa. Notare che ho fatto anche un merge del titolo del thread _________________ minimalblue.com | secgroup.github.io/ |
|
Back to top |
|
|
ercoppa Guru
Joined: 10 Dec 2005 Posts: 371 Location: roma
|
Posted: Fri Nov 03, 2006 12:58 pm Post subject: |
|
|
Ecco perchè! Io nn trovavo più in rc.conf la riga DISPLAYMANAGER, così l'ho aggiunta io, ma mi ricordovo che di default c'èra. Va bene ora la metto nel file di conf di xdm, sicuramente così è più logico.
|
|
Back to top |
|
|
Kernel78 Moderator
Joined: 24 Jun 2005 Posts: 3654
|
Posted: Fri Nov 03, 2006 1:04 pm Post subject: |
|
|
Scusate ma sono l'unico ad aver l'abitudine di prestare attenzione all'output di etc-update ? _________________ Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con Code: | grep -vE '(^[[:space:]]*($|(#|!|;|//)))' |
|
|
Back to top |
|
|
bandreabis Advocate
Joined: 18 Feb 2005 Posts: 2490 Location: イタリアのロディで
|
Posted: Fri Nov 03, 2006 2:04 pm Post subject: |
|
|
Sta volta me ne sono accorto! E' una specie di miracolo...
Sarà perchè non sono ingegnere?...
PS: gli ingegneri mi scusino.... volevo solo scherzare con comio e lucapost. _________________ Il numero di post non fa di me un esperto! Anzi!
Last edited by bandreabis on Fri Nov 03, 2006 2:14 pm; edited 1 time in total |
|
Back to top |
|
|
crisandbea Veteran
Joined: 03 Jul 2005 Posts: 1778 Location: BOSCO (SA) ... ma domiciliato a Bologna....
|
Posted: Fri Nov 03, 2006 2:07 pm Post subject: |
|
|
Kernel78 wrote: | Scusate ma sono l'unico ad aver l'abitudine di prestare attenzione all'output di etc-update ? |
No, ogni tanto ci faccio caso anche io.... |
|
Back to top |
|
|
ProT-0-TypE Veteran
Joined: 20 Dec 2003 Posts: 1624 Location: Cagliari
|
Posted: Fri Nov 03, 2006 2:24 pm Post subject: |
|
|
Kernel78 wrote: | Scusate ma sono l'unico ad aver l'abitudine di prestare attenzione all'output di etc-update ? |
siamo in 3 _________________ [Vuoi guadagnare navigando?] |
|
Back to top |
|
|
.:deadhead:. Advocate
Joined: 25 Nov 2003 Posts: 2963 Location: Milano, Italy
|
Posted: Fri Nov 03, 2006 2:44 pm Post subject: |
|
|
il "problema" è che questa volta non c'era scritto da nessuna parte che il luogo corretto per tale variabile era sotto /etc/conf.d
Son molto attento a questo genere di mutamenti , specie nel file di conf... Forse 2 righe a fine update del baselayout non mi avrebbero fatto schifo, anche perchè di default è settato xdm, MA se xdm non c'è da errore. Io tutto sommato se non mi parte X non mi spavento, ma un utente meno smaliziato?
forse ci vorrebbe un mex SIA a fine dell'emerge del baselayout SIA tra i commenti al file d rc.conf _________________ Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! |
|
Back to top |
|
|
.:chrome:. Advocate
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Fri Nov 03, 2006 2:50 pm Post subject: |
|
|
bandreabis wrote: | Sarà perchè non sono ingegnere? |
e allora... basta con queste facili battute...
sì, sì... scherzano, ma vorrei vedere dove sarebbero senza ingegneri |
|
Back to top |
|
|
Kernel78 Moderator
Joined: 24 Jun 2005 Posts: 3654
|
Posted: Fri Nov 03, 2006 3:30 pm Post subject: |
|
|
.:deadhead:. wrote: | il "problema" è che questa volta non c'era scritto da nessuna parte che il luogo corretto per tale variabile era sotto /etc/conf.d
Son molto attento a questo genere di mutamenti , specie nel file di conf... Forse 2 righe a fine update del baselayout non mi avrebbero fatto schifo, anche perchè di default è settato xdm, MA se xdm non c'è da errore. Io tutto sommato se non mi parte X non mi spavento, ma un utente meno smaliziato?
forse ci vorrebbe un mex SIA a fine dell'emerge del baselayout SIA tra i commenti al file d rc.conf |
/etc/conf.d/xdm wrote: | # What display manager do you use ? [ xdm | gdm | kdm | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
DISPLAYMANAGER="xdm" |
Questo è quanto viene aggiunto a questo file, basta leggere ...
Due righe in più a fine update sarebbero state cmq ignorate da utenti "meno smaliziati" ...
Potrebbe essere l'occasione per tutti gli utenti meno smaliziati di divenire più consapevoli _________________ Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con Code: | grep -vE '(^[[:space:]]*($|(#|!|;|//)))' |
|
|
Back to top |
|
|
.:deadhead:. Advocate
Joined: 25 Nov 2003 Posts: 2963 Location: Milano, Italy
|
Posted: Fri Nov 03, 2006 4:03 pm Post subject: |
|
|
Ok , ma il problema è che fino ad ora il file rc.conf era destinato a contenerle, quindi SE mi elimini i riferimenti da lì, devi scrivermi che ora devo usare /etc/conf.d/xdm non è che me lo sogno. E cmq non è vero quanto è scritto in xdm.conf : se si lascia la variabile in rc.conf questa viene ignorata.
Non sto a citare alcuna doc inquanto son tutte da aggiornare ed ovviamente puntano al vecchio modo. _________________ Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! |
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Fri Nov 03, 2006 4:41 pm Post subject: |
|
|
.:deadhead:. wrote: | Ok , ma il problema è che fino ad ora il file rc.conf era destinato a contenerle, quindi SE mi elimini i riferimenti da lì, devi scrivermi che ora devo usare /etc/conf.d/xdm non è che me lo sogno. |
D'altro canto, se lasciassero in rc.conf tutte le variabili che hanno tolto a quest'ora sarebbe lungo come l'emerge.log (e tutti a lamentarsi per 'sto file lunghissimo)
Se lo lasciano solo per qualche mese.... chi non aggiorna per qualche mese avrebbe comunque il tuo problema e si lamenterebbe (perché non un mese in più?).
Insomma, qualcuno che si lamenta ci sarebbe sempre! _________________ Ciao da me! |
|
Back to top |
|
|
lucapost Veteran
Joined: 24 Nov 2005 Posts: 1419 Location: <ud|me|ts> - Italy
|
Posted: Fri Nov 03, 2006 4:57 pm Post subject: |
|
|
Nulla di personale contro di te deadhead. Non potrei, non ti conosco.
Ho fatto domande molto più stupide della tua. Comunque....
.:deadhead:. wrote: | Ok , ma il problema è che fino ad ora il file rc.conf era destinato a contenerle, quindi SE mi elimini i riferimenti da lì, devi scrivermi che ora devo usare /etc/conf.d/xdm non è che me lo sogno. |
Perdonatemi, ma questo è proprio un discorso da ingegnere!!!
Signori, un minimo di elasticità mentale! _________________ LP |
|
Back to top |
|
|
.:deadhead:. Advocate
Joined: 25 Nov 2003 Posts: 2963 Location: Milano, Italy
|
Posted: Fri Nov 03, 2006 4:59 pm Post subject: |
|
|
uhm... oggi è venerdì, ma non credi di spiegarmi male. A me sta benissimo che l'abbiano defenestrata da rc.conf ma bastava una cacchio di riga in rc.conf in cui c'è scritto: "hey johnny guarda che ora la var DISPLAYMANAGER la setti in /etc/conf.d/xdm" chiedo troppo? _________________ Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! |
|
Back to top |
|
|
Kernel78 Moderator
Joined: 24 Jun 2005 Posts: 3654
|
Posted: Fri Nov 03, 2006 5:05 pm Post subject: |
|
|
Si una riga di info o meglio di warning non avrebbe ucciso nessuno... _________________ Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con Code: | grep -vE '(^[[:space:]]*($|(#|!|;|//)))' |
|
|
Back to top |
|
|
mrfree Veteran
Joined: 15 Mar 2003 Posts: 1303 Location: Europe.Italy.Sulmona
|
Posted: Fri Nov 03, 2006 6:21 pm Post subject: |
|
|
Kernel78 wrote: | Si una riga di info o meglio di warning non avrebbe ucciso nessuno... |
Anzi... _________________ Please EU, pimp my country!
ICE: /etc/init.d/iptables panic |
|
Back to top |
|
|
X-Drum Advocate
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Fri Nov 03, 2006 7:43 pm Post subject: |
|
|
lavish wrote: | Ho fatto il merge della discussione aperta da mrfree con questa. Notare che ho fatto anche un merge del titolo del thread |
notevole lol _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
|
|