Re: [ubuntu-uk] Strange GDM Problem

2008-11-27 Thread Chris Coulson
On Wed, 2008-11-26 at 07:42 +, Matthew Gadd wrote:
 I'm not sure which processes these PIDs belong to, I tried doing a 'sudo ps 
 -ef
 | grep {pid}' on them to see, but I didn't find any processes with PIDs 
 matching
 those in the logs.
 
 The problem I had is that when I turn on the computer, GDM restarts once (but
 only once) and then works fine, which is why I found it a bit strange as most
 problems I've had with GDM so far cause either infinite restarts or a lack of
 starting at all.
 
 It's worth noting that while it almost always restarts once before working, it
 doesn't do it absolutely every time. The reason I think that the client
 rejections are probably important is that they are the only difference I can
 find between the logs where GDM restarts and those where it does not.
 
 Thanks for the help,
 
 Matt
 
Yeah, it will be difficult to work out what those processes are because
they will have a short life. For the record though, I see the same
messages as you in my Xorg log every now and again but I don't
experience your issues, so they might be a red-herring. Still, it would
be nice to be able to figure out what clients are being denied access by
the X server.

Regards
Chris


signature.asc
Description: This is a digitally signed message part
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Strange GDM Problem

2008-11-25 Thread Chris Coulson
On Tue, 2008-11-25 at 23:12 +, Matthew Gadd wrote:
 Dunno if anyone got my previous post about a strange problem with GDM, or if
 it's just that no-one has any idea how to fix it. Anyway, I've tried a few
 things to see if they make a difference.
 
 I tried changing the theme of GDM (you never know) and disabling and 
 reenabling
 automatic login (I use it as there's only me on the laptop and I have disk
 encryption anyway, so it already needs a password to boot). I tried 
 reinstalling
 the nvidia drivers, as this was mentioned on the internet, which also had no
 effect.
 
 Does anybody have any idea what the 'clients' may be in the error I get 
 (snippet
 from a /var/log/gdm log) below?
 
 AUDIT: Tue Nov 25 22:10:29 2008: 6826 X: client 4 rejected from local host (
 uid=0 gid=0 pid=6862 )
 AUDIT: Tue Nov 25 22:10:30 2008: 6826 X: client 4 rejected from local host (
 uid=0 gid=0 pid=6862 )
 AUDIT: Tue Nov 25 22:10:35 2008: 6826 X: client 4 rejected from local host (
 uid=1000 gid=1000 pid=6871 )
 AUDIT: Tue Nov 25 22:10:35 2008: 6826 X: client 4 rejected from local host (
 uid=1000 gid=1000 pid=6872 )
 AUDIT: Tue Nov 25 22:10:35 2008: 6826 X: client 4 rejected from local host (
 uid=1000 gid=1000 pid=6873 )
 
 By the way, 1000 is the uid of my normal user, if that helps to explain it.
 
Matthew,

Sorry, I don't remember reading your original message so I'm not
familiar with the exact problem you're experiencing. Those messages are
generic messages that the X server prints when it stops a client from
connecting to it (for example, it might not be authorised to connect).
6826 is the PID of the Xorg process, and the last pid in each message
is the PID of the client that was rejected. Do you know what process
these PID's belong too?

Regards
Chris


signature.asc
Description: This is a digitally signed message part
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Strange GDM Problem

2008-11-25 Thread Matthew Gadd
 Sorry, I don't remember reading your original message so I'm not
 familiar with the exact problem you're experiencing. Those messages are
 generic messages that the X server prints when it stops a client from
 connecting to it (for example, it might not be authorised to connect).
 6826 is the PID of the Xorg process, and the last pid in each message
 is the PID of the client that was rejected. Do you know what process
 these PID's belong too?

I'm not sure which processes these PIDs belong to, I tried doing a 'sudo ps -ef
| grep {pid}' on them to see, but I didn't find any processes with PIDs matching
those in the logs.

The problem I had is that when I turn on the computer, GDM restarts once (but
only once) and then works fine, which is why I found it a bit strange as most
problems I've had with GDM so far cause either infinite restarts or a lack of
starting at all.

It's worth noting that while it almost always restarts once before working, it
doesn't do it absolutely every time. The reason I think that the client
rejections are probably important is that they are the only difference I can
find between the logs where GDM restarts and those where it does not.

Thanks for the help,

Matt

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/