Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[risolto] DISPLAYMANAGER e baselayout 1.12.6
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
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Fri Nov 03, 2006 10:33 am    Post subject: [risolto] DISPLAYMANAGER e baselayout 1.12.6 Reply with quote

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
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Fri Nov 03, 2006 10:38 am    Post subject: Reply with quote

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
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Fri Nov 03, 2006 11:05 am    Post subject: Reply with quote

infatti ora si setta da quel file
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Fri Nov 03, 2006 11:05 am    Post subject: Reply with quote

Come perdersi in un bicchier d'acqua! :oops:

effettivamente /etc/rc.conf non riporta + tale variabile perchè il luogo adatto dove metterla è /etc/conf.d/xdm

Ora tutto va!
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Fri Nov 03, 2006 11:09 am    Post subject: Reply with quote

[OT]
@.:deadhead:.
non è che sei un ingegnere? :lol:
[/OT]
_________________
LP


Last edited by lucapost on Fri Nov 03, 2006 2:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Fri Nov 03, 2006 11:11 am    Post subject: Reply with quote

lucapost wrote:
[OT]
@.:deadhead:.
non è che sei un ingeniere? :lol:
[/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
View user's profile Send private message
mrfree
Veteran
Veteran


Joined: 15 Mar 2003
Posts: 1303
Location: Europe.Italy.Sulmona

PostPosted: Fri Nov 03, 2006 11:58 am    Post subject: DISPLAYMANAGER e nuovo baselayout Reply with quote

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
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Fri Nov 03, 2006 12:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
thewally
l33t
l33t


Joined: 12 May 2005
Posts: 703
Location: Genova

PostPosted: Fri Nov 03, 2006 12:17 pm    Post subject: Re: DISPLAYMANAGER e nuovo baselayout Reply with quote

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 :wink: :
Code:
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.

_________________
Proudly Member of GeCHI
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Fri Nov 03, 2006 12:43 pm    Post subject: Reply with quote

Ho fatto il merge della discussione aperta da mrfree con questa. Notare che ho fatto anche un merge del titolo del thread :P
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
ercoppa
Guru
Guru


Joined: 10 Dec 2005
Posts: 371
Location: roma

PostPosted: Fri Nov 03, 2006 12:58 pm    Post subject: Reply with quote

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.

:P
Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Fri Nov 03, 2006 1:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2490
Location: イタリアのロディで

PostPosted: Fri Nov 03, 2006 2:04 pm    Post subject: Reply with quote

Sta volta me ne sono accorto! :lol: E' una specie di miracolo...

Sarà perchè non sono ingegnere?... :lol:

PS: gli ingegneri mi scusino.... volevo solo scherzare con comio e lucapost. :D
_________________
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
View user's profile Send private message
crisandbea
Veteran
Veteran


Joined: 03 Jul 2005
Posts: 1778
Location: BOSCO (SA) ... ma domiciliato a Bologna....

PostPosted: Fri Nov 03, 2006 2:07 pm    Post subject: Reply with quote

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.... 8)
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Fri Nov 03, 2006 2:24 pm    Post subject: Reply with quote

Kernel78 wrote:
Scusate ma sono l'unico ad aver l'abitudine di prestare attenzione all'output di etc-update ?

siamo in 3 :lol:
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Fri Nov 03, 2006 2:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Fri Nov 03, 2006 2:50 pm    Post subject: Reply with quote

bandreabis wrote:
Sarà perchè non sono ingegnere?

e allora... basta con queste facili battute... :D

sì, sì... scherzano, ma vorrei vedere dove sarebbero senza ingegneri :lol:
Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Fri Nov 03, 2006 3:30 pm    Post subject: Reply with quote

.: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 :wink:
_________________
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
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Fri Nov 03, 2006 4:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri Nov 03, 2006 4:41 pm    Post subject: Reply with quote

.: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
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Fri Nov 03, 2006 4:57 pm    Post subject: Reply with quote

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!!! :lol: :lol: :lol:
Signori, un minimo di elasticità mentale! 8)
_________________
LP
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Fri Nov 03, 2006 4:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Fri Nov 03, 2006 5:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
mrfree
Veteran
Veteran


Joined: 15 Mar 2003
Posts: 1303
Location: Europe.Italy.Sulmona

PostPosted: Fri Nov 03, 2006 6:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Fri Nov 03, 2006 7:43 pm    Post subject: Reply with quote

lavish wrote:
Ho fatto il merge della discussione aperta da mrfree con questa. Notare che ho fatto anche un merge del titolo del thread :P

notevole lol :D
_________________
"...There are two sort of lies, lies and benchmarks..."
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