Re: [Bug 370541] Re: Jaunty's GDM Autologin doesn't work anymore

2009-12-09 Thread Scramblejams
What's your GdmXserverTimeout now? And does doubling it resolve the
problem?

Steve

On Thu, 2009-12-10 at 06:34 +, .kkursor wrote:

 New results.
 Autologin works...mostly.
 If I shut down the computer using Power button (not long press, just press 
 and quick release), the Welcome to GNOME screen appers.
 Any other shutdown method (including Reset and accidental loss of power by 
 disconnecting power cord) - works.
 What else can I try to resolve this?


-- 
Jaunty's GDM Autologin doesn't work anymore
https://bugs.launchpad.net/bugs/370541
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


Re: [Bug 370541] Re: Jaunty's GDM Autologin doesn't work anymore

2009-12-09 Thread Scramblejams
No.

That value just tells gdm how long to wait for X to start up before
deciding that X has hung, to kill it and try starting it again. So my
guess is that if the machine is slow:

1. X takes longer to start than GdmXserverTimeout allows, because other
background processes started during boot are getting themselves
initialized and keeping the system busy.

2. gdm kills X and tries to start it again.

3. By this time, most of the background processes have finished
initializing, so X starts up quickly enough this time to avoid getting
killed by gdm.

4. I'm guess that for some reason, gdm doesn't honor the autologin after
having killed X once.

If I get a little time I'll take a look in the gdm source to see if
that's a correct explanation...

Steve

-- 
Jaunty's GDM Autologin doesn't work anymore
https://bugs.launchpad.net/bugs/370541
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


Re: [Bug 370541] Re: Jaunty's GDM Autologin doesn't work anymore

2009-12-01 Thread Scramblejams
Hi,

Can you try extending GdmXserverTimeout to see if that helps? Maybe try
setting it to 20 or 30?

Steve

On Tue, 2009-12-01 at 14:11 +, .kkursor wrote:

 This bug affects me too.
 
 sudo update-rc.d -f gdm remove
 sudo update-rc.d gdm defaults
 did not help.
 
 I have a specific issue. I have created Ubuntu-based distribution for my
 office. On most machines autologin works but on one it does not. All
 machines were unpacked from the same installation image. It is weird but
 there is no AutoLogin features in GDM parameters file /etc/gdm/gdm.conf
 (they are present, but disabled). And autologin is enabled in the GUI,
 on some machines it works and on one it does not.
 
 What files should I submit to help you?


-- 
Jaunty's GDM Autologin doesn't work anymore
https://bugs.launchpad.net/bugs/370541
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 370541] Re: Jaunty's GDM Autologin doesn't work anymore

2009-11-11 Thread Scramblejams
Trying Kazabubu's suggestion to extend GdmXserverTimeout cleared it up
for me. At least it's been fine for the last week plus, I've rebooted
many times.

Okay, here's my hypothesis of what's going on:

1) Note that Rami said boot was slow for him until he turned off AHCI,
and then when he disabled it boot sped up and the problem disappeared.
The AHCI-slowing-boot thing sounds like some weird BIOS/kernel
interaction, but note: auto login didn't work when boot was slow.

2) The system I'm experiencing this on has a very, very slow old hard
drive (5400 rpm 1/3 height 40 gigger from like 7 years ago), so boot is
always slow.

3) I'd noticed that when this problem happens, X would start coming up,
then it would go away, the system would go back to the console, X would
start up again and get to the gdm login screen. Like I would expect to
happen if the gdm script was timing out, killing X, and starting it
again. It probably didn't time out a second time because the system was
no longer as busy with processes starting up in the background.

So the next thing would be to look at the code and see if gdm still
honors the AutomaticLogin after having timed out once. If not, there's
the bug, and it's going to be more relevant as efforts to parallelize
the boot process continue.

Steve

-- 
Jaunty's GDM Autologin doesn't work anymore
https://bugs.launchpad.net/bugs/370541
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


Re: [Bug 370541] Re: Jaunty's GDM Autologin doesn't work anymore

2009-07-24 Thread Scramblejams
Maybe so.

When I emailed earlier that adding sleep 10 to my /etc/init.d/gdm
script fixed the problem, I celebrated a little too quickly. It worked
for a while, but doesn't work any more. An earlier reporter's assertion
that removing the preload package, as well as my temporary experience of
the sleep command fixing the problem, makes me think that it's somehow
related to service load order and maybe disk speed -- maybe the login
command is reporting that the system hasn't finished starting up yet.
Anyway, perhaps if you build a system with the same packages as mine
you'll be able to reproduce it. I've attached my list.

On Fri, 2009-07-24 at 12:30 +, Sebastien Bacher wrote:

 Could anybody describe how to trigger the issue on a new install or try
 on karmic?
 


** Attachment added: installed-software.log
   http://launchpadlibrarian.net/29495852/installed-software.log

-- 
Jaunty's GDM Autologin doesn't work anymore
https://bugs.launchpad.net/bugs/370541
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


Re: [Bug 370541] Re: Jaunty's GDM Autologin doesn't work anymore

2009-07-24 Thread Scramblejams
By the way, GDM was starting on my system with a default sequence number
of 20. I just did:

sudo update-rc.d -f gdm remove
sudo update-rc.d gdm defaults 99

And now the autologin seems to be working... I'll let ya know in a few
days or so if that's still the case.

Steve

On Fri, 2009-07-24 at 12:30 +, Sebastien Bacher wrote:

 Could anybody describe how to trigger the issue on a new install or try
 on karmic?


-- 
Jaunty's GDM Autologin doesn't work anymore
https://bugs.launchpad.net/bugs/370541
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


Re: [Bug 370541] Re: Jaunty's GDM Autologin doesn't work anymore

2009-06-28 Thread Scramblejams
Preload isn't installed on my system, and I'm also having the
problem. :-(

On Sun, 2009-06-28 at 08:27 +, P-Baumgart wrote:

 hell yeah!! I discovered what couses the problem: preload! remove it
 from your system, and autologin will work again! the preload package in
 ubuntu repository is completely outdated (2 years old!), and if you want
 to use it, you have to compile it from source:
 http://sourceforge.net/projects/preload/
 
 
 hope it works for you too!


-- 
Jaunty's GDM Autologin doesn't work anymore
https://bugs.launchpad.net/bugs/370541
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


Re: [Bug 370541] Re: Jaunty's GDM Autologin doesn't work anymore

2009-06-28 Thread Scramblejams
But in the spirit of Philipp's changes, I added sleep 10; to the start
section of /etc/init.d/gdm, and that's gotten it working correctly for
three boots in a row. That's progress for me. NoOp, can you give that a
try?

Steve

On Sun, 2009-06-28 at 14:12 +, NoOp wrote:

 On 06/28/2009 01:27 AM, P-Baumgart wrote:
  I discovered what couses the problem: preload! 
 
 Nope - no preload installed here.
 
 $ apt-cache policy preload
 preload:
   Installed: (none)
   Candidate: 0.4-5
   Version table:
  0.4-5 0
 500 http://archive.ubuntu.com jaunty/universe Packages


-- 
Jaunty's GDM Autologin doesn't work anymore
https://bugs.launchpad.net/bugs/370541
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


Re: [Bug 370541] Re: Jaunty's GDM Autologin doesn't work anymore

2009-06-28 Thread Scramblejams
Starting at line 47:

case $1 in
  start)
sleep 10;
if grep -wqs text /proc/cmdline; then

I just added the sleep 10; line, everything else in that snippet is
original.

Steve

On Mon, 2009-06-29 at 01:17 +, NoOp wrote:

 Sure - willing to give it a shot. Specifically where did you put it in
 the file? Can you give me a few lines from the file so that I don't put
 it in the wrong section?


-- 
Jaunty's GDM Autologin doesn't work anymore
https://bugs.launchpad.net/bugs/370541
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 370541] Re: Jaunty's GDM Autologin doesn't work anymore

2009-05-09 Thread Scramblejams
No hints in any of those files, and I haven't touched anything in pam
ever...

-- 
Jaunty's GDM Autologin doesn't work anymore
https://bugs.launchpad.net/bugs/370541
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 370541] Re: Jaunty's GDM Autologin doesn't work anymore

2009-05-08 Thread Scramblejams
Where do you suggest I look? It's true that back in Ibex I did use
Ibex's control panel to set up autologin, but given the contents of
/etc/gdm/gdm.conf (listed above), I'm not sure where the problem could
be other than gdm.

-- 
Jaunty's GDM Autologin doesn't work anymore
https://bugs.launchpad.net/bugs/370541
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 370541] Re: Jaunty's GDM Autologin doesn't work anymore

2009-05-07 Thread Scramblejams
Please change this back to an open bug. I had autologin working just
fine under Ibex, then after I upgraded to Jaunty it stopped working,
with no changes on my part.

Additional information: After I boot the machine up, when it arrives at
the login screen, if I ssh in and do /etc/init.d/gdm stop;
/etc/init.d/gdm start, then gdm stops, starts, and logs in
automatically like it's supposed to.

Top of my /etc/gdm/gdm.conf:

# Automatic login, if true the first attached screen will automatically logged
# in as user as set with AutomaticLogin key.
AutomaticLoginEnable=true
AutomaticLogin=steve

-- 
Jaunty's GDM Autologin doesn't work anymore
https://bugs.launchpad.net/bugs/370541
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs