By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 2165

Summary: Slow login
Product: TDE Reporter: Andrew Young <bugs.trinitydesktop.org>
Component: tdebaseAssignee: Timothy Pearson <kb9vqf>
Status: NEW ---    
Severity: minor CC: bugs.trinitydesktop.org, bugwatch, kb9vqf, pix3l
Priority: P5    
Version: R14.0.x [Trinity]   
Hardware: Other   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Attachments: possibly buggy .xsession-errors
temp.xsession-errors works well

Description Andrew Young 2014-10-16 10:05:32 CDT
It is very slow to login to Trinity. This may be related to bug #2164 http://bugs.pearsoncomputing.net/show_bug.cgi?id=2164

This system was (I think) LXDE Ubuntu 13.04 with Trinity 3.5.13.2, upgraded to Ubuntu 14.04 and Trinity 3.5.14.

After the login, a splash screen appears and several icons appear/flash and tell me something useful is happening. Starting the desktop flashes for 60 seconds. Eventually the splash screen disappears and a blank desktop is available without any shortcuts/files etc. After about 2 minutes the desktop image is replaced with the correct image and my shortcuts appear.

When I logout, a popup appears with something about "DCOP not available".
Comment 1 Timothy Pearson 2014-10-16 10:22:39 CDT
Are you using the nightly builds, Slavek's preliminary repository, or building from source?

Thanks!
Comment 2 Andrew Young 2014-10-16 11:31:23 CDT
I'm using the nightly builds from pearsoncomputing.net

# Trinity repositories

deb http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-nightly-build-dependencies/ubuntu trusty main
deb-src http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-nightly-build-dependencies/ubuntu trusty main
deb http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-nightly-builds/ubuntu trusty main
deb-src http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-nightly-builds/ubuntu trusty main


I have only ever used repos from pearsoncomputing.net, I have never used Slavek's repos or build from source.
Comment 3 Timothy Pearson 2014-10-16 11:55:03 CDT
OK, thanks.  I needed to verify as several users have switched over to Slavek's repository.

In this case the slowdown is probably temporary until the nightly build archive is properly rebuilt.  A massive amount of changes were made over the past month, and the build farm was unable to keep up, leading to inconsistent binary packages with odd bugs.  These bugs are normally unique to the binary packages and will resolve once the rebuild is complete.

If this issues does NOT resolve within several weeks then it may very well be a bug within the TDE source.  If this is the case please let us know so that we can debug further.

Thanks!
Comment 4 Andrew Young 2014-10-17 04:02:59 CDT
I created a new user "temp" and logged out / in and restarted etc. Temp could log in without any delays. The strange message when closing down does not appear.

When using my regular account and closing down, the pop up says "TDElauncher could not be reached via DCOP".

This suggests to me that it is a local problem.

Attached are 2 .xsession-errors  hopefully they will cast some light...
Comment 5 Andrew Young 2014-10-17 04:03:57 CDT
Created attachment 2331 [details]
possibly buggy .xsession-errors
Comment 6 Andrew Young 2014-10-17 04:05:54 CDT
Created attachment 2332 [details]
temp.xsession-errors works well
Comment 7 Andrew Young 2014-10-27 15:11:35 CDT
I eventually found the slow login problem. I use a slide show that changes the picture every 10 minutes. I had selected several dirs with my pictures, in total there were about 54,000 photos.

I guess part of the login process caches/ checks all the pictures.

After removing the slide show, logins are now almost instant.

Does the login need to recache or check the images every login?
Comment 8 Timothy Pearson 2014-10-27 16:16:25 CDT
(In reply to Andrew Young from comment #7)
> I eventually found the slow login problem. I use a slide show that changes
> the picture every 10 minutes. I had selected several dirs with my pictures,
> in total there were about 54,000 photos.
> 
> I guess part of the login process caches/ checks all the pictures.
> 
> After removing the slide show, logins are now almost instant.
> 
> Does the login need to recache or check the images every login?

I don't see why it would; I think you hit a corner case. :-)

Should be simple enough to fix if some kind of caching is the problem.  Alternatively the slowdown could due to mime type checking attempting to determine what is an image and what is not; in the latter case the fix would be more complex as a worker thread and/or file type cache would likely need to be added.
Comment 9 Davide 2015-02-02 13:34:35 CST
I upgraded TDE from 13 to 14, and experiencing a more slow startup of TDM and the showing of login form.
This was quite instant with TDE 13 on my debian wheezy.