Re: kdm/xorg7 Xsession issue?

2006-05-05 Thread Matej Cepl
Tim Ruehsen wrote:
> But now it filled with errors (kmail_clamav.sh errors, FAM connection
> problems, DCOP errors etc...). Is it of any interest for anyone - or is it
> normal?

Yes, it is created with every start of X-session (roughly speaking, when you
log in through kdm) and it is full of unimportant stuff. However, when the
problem happens, it is usefull to take a look there, because there are
often quite interesting information -- like that you don't
have /etc/X11/Xsessions. Basically, /var/log/Xorg.*.log is interesting
until the kdm starts, and ~/.xsession-errors since then. The difference is
that starting of X itself is done under root's ownership (and thus logging
goes to the system-wide place -- /var/log), whereas sessions are run under
user's ownership and thus all logs go into $HOME/ .

Does it make sense?

Matej

-- 
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
http://www.ceplovi.cz/matej/blog/, Jabber: [EMAIL PROTECTED]
23 Marion St. #3, (617) 876-1259, ICQ 132822213
 
A man once asked Mozart how to write a symphony. Mozart told him 
to study at the conservatory for six or eight years, then 
apprentice with a composer for four or five more years, then 
begin writing a few sonatas, pieces for string quartets, piano 
concertos, etc. and in another four or five years he would be 
ready to try a full symphony. The man said, "But Mozart, didn't 
you write a symphony at age eight?" Mozart replied, "Yes, but 
I didn't have to ask how."
   -- ripped from another sig


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: kdm/xorg7 Xsession issue?

2006-05-05 Thread Tim Ruehsen
Am Freitag, 5. Mai 2006 13:49 schrieb Jean-Damien Durand:
> The absence of Xsession was logged in ~$USER/.xsession-errors - for me
> at least.

I checked it, but it's date was something of 2003 - I just removed it.
But now it filled with errors (kmail_clamav.sh errors, FAM connection 
problems, DCOP errors etc...). Is it of any interest for anyone - or is it 
normal?

Tim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: kdm/xorg7 Xsession issue?

2006-05-05 Thread cobaco (aka Bart Cornelis)
On Friday 05 May 2006 10:31, Tim Ruehsen wrote:
> Hi,
>
> today, logins to kdm failed... after typing in user/pw and hitting login,
> the login screen reappeared (for all users). No hints in /var/log. After
> doing all of the well known work-arounds I found the problem:
>
> /etc/kd3/kdm/Xsession sources /etc/X11/Xsession in it's last line.
> This failed cause I removed /etc/X11/Xsession a long time ago. I did this
> because I somewhere found a hint/message to do so, because
> /etc/X11/Xsession has been replaced by /etc/kde3/kdm/Xsession.
>
> So something changed with xorg7 regarding Xsession? Or did I really
> mistook something which convinced me to remove /etc/X11/Xsession?
> Should I put this into the wiki?

You indeed mistook something, and shouldn't remove /etc/X11/Xsession.
The last 2 lines of /etc/kde3/kdm/Xsession (on my system) read

  # invoke global X session script
  . /etc/X11/Xsession

-> it looks like kdm want some extra stuff done in Xsession, but reuses the
   global Xsession stuff
-> even if kdm didn't include the above 2 lines you shouldn't
   remove /etc/X11/Xession, as that file would still be used when you start
   X through another means then kdm (e.g. by running startx from the command
   line)
-- 
Cheers, cobaco (aka Bart Cornelis)
  
1. Encrypted mail preferred (GPG KeyID: 0x86624ABB)
2. Plain-text mail recommended since I move html and double
format mails to a low priority folder (they're mainly spam)


pgpjtRfaGALog.pgp
Description: PGP signature


Re: kdm/xorg7 Xsession issue?

2006-05-05 Thread Jean-Damien Durand
Dear Curt,
The absence of Xsession was logged in ~$USER/.xsession-errors - for me
at least.
Bugs.debian.org/x11-common got a reference to that as well as a workaround.
Cheers, JD / top posting since you top posted

On Friday, 5 May 2006 13:39, Curt Howland wrote:
> It happened to me last night. There are several references in
> Debian-User about "sometimes unstable really is unstable", but nothing
> about a fix.
> 
> I'm using Win2K, but at least Firefox, to read the lists until someone
> says it's fixed.
> 
> I did notice in Xorg.log something new about "session security", but
> as you say no other errors.
> 
> On 5/5/06, Tim Ruehsen <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > today, logins to kdm failed... after typing in user/pw and hitting login, 
> > the
> > login screen reappeared (for all users). No hints in /var/log. After doing
> > all of the well known work-arounds I found the problem:
> >
> > /etc/kd3/kdm/Xsession sources /etc/X11/Xsession in it's last line.
> > This failed cause I removed /etc/X11/Xsession a long time ago. I did this
> > because I somewhere found a hint/message to do so, because /etc/X11/Xsession
> > has been replaced by /etc/kde3/kdm/Xsession.
> >
> > So something changed with xorg7 regarding Xsession? Or did I really mistook
> > something which convinced me to remove /etc/X11/Xsession?
> > Should I put this into the wiki?
> >
> > Please tell me your opinion.
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: kdm/xorg7 Xsession issue?

2006-05-05 Thread Curt Howland

It happened to me last night. There are several references in
Debian-User about "sometimes unstable really is unstable", but nothing
about a fix.

I'm using Win2K, but at least Firefox, to read the lists until someone
says it's fixed.

I did notice in Xorg.log something new about "session security", but
as you say no other errors.

On 5/5/06, Tim Ruehsen <[EMAIL PROTECTED]> wrote:

Hi,

today, logins to kdm failed... after typing in user/pw and hitting login, the
login screen reappeared (for all users). No hints in /var/log. After doing
all of the well known work-arounds I found the problem:

/etc/kd3/kdm/Xsession sources /etc/X11/Xsession in it's last line.
This failed cause I removed /etc/X11/Xsession a long time ago. I did this
because I somewhere found a hint/message to do so, because /etc/X11/Xsession
has been replaced by /etc/kde3/kdm/Xsession.

So something changed with xorg7 regarding Xsession? Or did I really mistook
something which convinced me to remove /etc/X11/Xsession?
Should I put this into the wiki?

Please tell me your opinion.




Re: kdm/xorg7 Xsession issue?

2006-05-05 Thread David Martínez Moreno
El viernes, 5 de mayo de 2006 10:49, Robert Gomułka escribió:
> Dnia pi±tek, 5 maja 2006 10:31, Tim Ruehsen napisa³:
> I have noticed exactly the same thing.
> It was caused by newly introduced xfree86-common package, which removed
> Xsession file.
> The quickiest solution is to rename /etc/X11/Xsession.xfree86
> to /etc/X11/Xsession.
> More info can be found on google.

Or install the new x11-common package from incoming until it enters 
archive 
tonight.

http://incoming.debian.org/x11-common_7.0.17_i386.deb

Best regards,


Ender.
-- 
- What's your number?
- Two-Delta!
-- Ed and Jordan Two Delta (The Island).
--
Desarrollador de Debian
Debian developer


pgpucEgf7cksn.pgp
Description: PGP signature


Re: kdm/xorg7 Xsession issue?

2006-05-05 Thread Robert Gomułka
Dnia piątek, 5 maja 2006 10:31, Tim Ruehsen napisał:
> Hi,
>
> today, logins to kdm failed... after typing in user/pw and hitting login,
> the login screen reappeared (for all users). No hints in /var/log. After
> doing all of the well known work-arounds I found the problem:
>
> /etc/kd3/kdm/Xsession sources /etc/X11/Xsession in it's last line.
> This failed cause I removed /etc/X11/Xsession a long time ago. I did this
> because I somewhere found a hint/message to do so, because
> /etc/X11/Xsession has been replaced by /etc/kde3/kdm/Xsession.
>
> So something changed with xorg7 regarding Xsession? Or did I really mistook
> something which convinced me to remove /etc/X11/Xsession?
> Should I put this into the wiki?
>
> Please tell me your opinion.
>
> Tim
I have noticed exactly the same thing.
It was caused by newly introduced xfree86-common package, which removed 
Xsession file.
The quickiest solution is to rename /etc/X11/Xsession.xfree86 
to /etc/X11/Xsession.
More info can be found on google.

Regards,
Robert


W polskim Internecie są setki milionów stron. My przekazujemy Tobie tylko 
najlepsze z nich!
http://katalog.panoramainternetu.pl/



kdm/xorg7 Xsession issue?

2006-05-05 Thread Tim Ruehsen
Hi,

today, logins to kdm failed... after typing in user/pw and hitting login, the 
login screen reappeared (for all users). No hints in /var/log. After doing 
all of the well known work-arounds I found the problem:

/etc/kd3/kdm/Xsession sources /etc/X11/Xsession in it's last line.
This failed cause I removed /etc/X11/Xsession a long time ago. I did this 
because I somewhere found a hint/message to do so, because /etc/X11/Xsession 
has been replaced by /etc/kde3/kdm/Xsession.

So something changed with xorg7 regarding Xsession? Or did I really mistook 
something which convinced me to remove /etc/X11/Xsession?
Should I put this into the wiki?

Please tell me your opinion.

Tim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]