Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

NOT Solved: Wheezy Xfce 4.8 - VERY SLOW First Thunar startup

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
ComputerBob
Posts: 1181
Joined: 2007-11-30 04:49
Location: The Mountains of the Sunshine State
Been thanked: 1 time

NOT Solved: Wheezy Xfce 4.8 - VERY SLOW First Thunar startup

#1 Post by ComputerBob »

I upgraded my main PC's Xfce 4.6 to Xfce 4.8 this morning.

Now, every time I start Thunar for the first time after a new boot, it takes about 30 seconds to appear, and then about 10 seconds later, a second instance of it appears.

After that, Thunar appears instantly every time I start it during that same session. But if I shut-down or restart my PC, Thunar again takes about 30 seconds to start up, and a second instance of it appears about 10 seconds later.

Google searches seem to indicate that people running other distros are also experiencing this problem.

On advice in a different forum, I deleted the ~/.config/Thunar folder and restarted my PC, but that didn't help -- it created a new Thunar folder, but the long delay and the double-Thunars are still there every time I run Thunar for the first time in a session.
Last edited by ComputerBob on 2013-08-26 04:30, edited 5 times in total.
ComputerBob - Making Geek-Speak Chic (TM)
ComputerBob.com - Nearly 6,000 Posts and 23 Million Views
My Massive Stroke
Help! (off-topic)
_________________
Your Life Matters

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: Wheezy Xfce 4.8 - VERY SLOW Thunar startup

#2 Post by vbrummond »

That is.. interesting. I will check this out on Sid and see if it happens here.
Always on Debian Testing

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: Wheezy Xfce 4.8 - VERY SLOW Thunar startup

#3 Post by vbrummond »

Very strange... I installed it in virtualbox from sid and it works fine. Might be an upgrade thing if you updated to it. It asked me "what file manager I wanted to use". I picked thunar, and it works fine.
Always on Debian Testing

User avatar
ComputerBob
Posts: 1181
Joined: 2007-11-30 04:49
Location: The Mountains of the Sunshine State
Been thanked: 1 time

Re: Wheezy Xfce 4.8 - VERY SLOW Thunar startup

#4 Post by ComputerBob »

ComputerBob - Making Geek-Speak Chic (TM)
ComputerBob.com - Nearly 6,000 Posts and 23 Million Views
My Massive Stroke
Help! (off-topic)
_________________
Your Life Matters

secipolla
Posts: 1127
Joined: 2010-06-21 14:20

Re: Wheezy Xfce 4.8 - VERY SLOW Thunar startup

#5 Post by secipolla »

It's certainly something in your configuration or something that you have installed.
For example, Thunar started to manage shared networks in its latest version. If you have that set up then it could influence.
You could also examine (just to be sure) the other related configs in your home folder like ~/.cache/Thunar or the Xfce ones in ~/.cache, ~/.config or ~/.local. Just try to figure what they are before deleting them.
Then it may be a bug...

User avatar
ComputerBob
Posts: 1181
Joined: 2007-11-30 04:49
Location: The Mountains of the Sunshine State
Been thanked: 1 time

Re: Wheezy Xfce 4.8 - VERY SLOW Thunar startup

#6 Post by ComputerBob »

In the thread to which I linked, the Xfce developer indicates that it is an unresolved bug that was reported on March 3, 2011.

But, so far, no one can tell me if it only affects those of us who upgraded from Xfce 4.6 to Xfce 4.8 -- so I don't know if it would be worth the time and trouble to blow away my two Wheezy Xfce PCs and reinstall/reconfigure Wheezy Xfce 4.8 on them from scratch.

Of course, that's not an option right now, since the Wheezy weekly iso builds are missing from the Debian download page again.
ComputerBob - Making Geek-Speak Chic (TM)
ComputerBob.com - Nearly 6,000 Posts and 23 Million Views
My Massive Stroke
Help! (off-topic)
_________________
Your Life Matters

secipolla
Posts: 1127
Joined: 2010-06-21 14:20

Re: Wheezy Xfce 4.8 - VERY SLOW Thunar startup

#7 Post by secipolla »

Don't reinstall only because of that. It doesn't make sense for me. The fact that you have upgraded only means you have old configs in your home folder so if you want to start from scratch then simply delete every Xfce related stuff in it (back up before as you may want to keep some things like your custom thunar actions - ~/.config/Thunar/uca.xml ).
If Thunar was messed system wide then the bug would probably be with the package that would have failed to clear old files, but that doesn't seem to be the case.
You could, for example, after a fresh boot, instead of starting thunar run 'gksu thunar' and see if it also takes 30 seconds to appear. If it doesn't then the failure is in some config in your home folder.

User avatar
ComputerBob
Posts: 1181
Joined: 2007-11-30 04:49
Location: The Mountains of the Sunshine State
Been thanked: 1 time

Re: Wheezy Xfce 4.8 - VERY SLOW Thunar startup

#8 Post by ComputerBob »

secipolla wrote:You could, for example, after a fresh boot, instead of starting thunar run 'gksu thunar' and see if it also takes 30 seconds to appear. If it doesn't then the failure is in some config in your home folder.
Good idea!

Yesterday, I ran thunar from a terminal as a normal user, and got the same problems (with no feedback or error message), but I didn't think to run thunar in a root terminal, to determine if the problem is in my home folder.

I'll try that when I get home from work. ;)

BTW, the new Thunar doesn't include any of my previous custom actions, so I suspect that they were deleted during the Xfce upgrade. If so, I'll try copying them from my secondary PC (that's still running Xfce 4.6).

UPDATE: In the link that I posted above, the Xfce core developer says that his system suffers from this problem, too, and it doesn't depend on how you install Xfce. That makes me feel better! I told him about your suggestion, in case he has time to try it before I have time to do it.
ComputerBob - Making Geek-Speak Chic (TM)
ComputerBob.com - Nearly 6,000 Posts and 23 Million Views
My Massive Stroke
Help! (off-topic)
_________________
Your Life Matters

User avatar
ComputerBob
Posts: 1181
Joined: 2007-11-30 04:49
Location: The Mountains of the Sunshine State
Been thanked: 1 time

Re: Wheezy Xfce 4.8 - VERY SLOW Thunar startup

#9 Post by ComputerBob »

I went home for lunch and did the following:

1. Rebooted my PC.
2. Opened a terminal.
3. Entered "su" to get root permissions.
4. Entered "thunar" to start Thunar.
5. Thunar started immediately.
6. Closed Thunar.
7. Closed the terminal.
8. Started Thunar as normal user.
9. 30-second delay before Thunar appeared, with a second Thunar appearing several seconds later.

I think that confirms that whatever is causing the problem is in my user profile!
ComputerBob - Making Geek-Speak Chic (TM)
ComputerBob.com - Nearly 6,000 Posts and 23 Million Views
My Massive Stroke
Help! (off-topic)
_________________
Your Life Matters

wmittz
Posts: 59
Joined: 2010-06-03 16:18

Re: Wheezy Xfce 4.8 - VERY SLOW Thunar startup

#10 Post by wmittz »

Mine does the same thing. After a fresh reboot no matter if I use the desktop icon or I use the app menu it still takes about 30 seconds. After that it is normal.
Running Sid, amd64. Did a fresh install of Squeeze about a month and a half ago with XFCE 4.6. and then upgraded.

MoaTib
Posts: 74
Joined: 2011-02-27 02:38

Re: Wheezy Xfce 4.8 - VERY SLOW Thunar startup

#11 Post by MoaTib »

I upgraded from 4.6 to 4.8 (in fact, 4.4 to 4.6 to 4.8 ) and it works fine here.

Edit:
https://bugzilla.xfce.org/show_bug.cgi?id=7373
http://foo-projects.org/pipermail/xfce/ ... 28628.html
apt-get install braindump -t unstable

Stupid changes are not synonymous of useful progress.

User avatar
ComputerBob
Posts: 1181
Joined: 2007-11-30 04:49
Location: The Mountains of the Sunshine State
Been thanked: 1 time

Re: Wheezy Xfce 4.8 - VERY SLOW Thunar startup

#12 Post by ComputerBob »

MoaTib wrote:I upgraded from 4.6 to 4.8 (in fact, 4.4 to 4.6 to 4.8 ) and it works fine here.

Edit:
https://bugzilla.xfce.org/show_bug.cgi?id=7373
http://foo-projects.org/pipermail/xfce/ ... 28628.html
Yup, all of that information is already in the Xfce forum thread to which I linked above. The problem only affects some users (including the Xfce Core Developer) and it isn't affected by whether you install from scratch or upgrade from Xfce 4.6 to 4.8.

But the fact that it affects the Xfce Core Developer on his PC tells me that someone who knows what they're doing is going to be working on figuring out what's causing the problem. ;)
ComputerBob - Making Geek-Speak Chic (TM)
ComputerBob.com - Nearly 6,000 Posts and 23 Million Views
My Massive Stroke
Help! (off-topic)
_________________
Your Life Matters

guoxh
Posts: 1
Joined: 2011-05-18 02:02

Re: Wheezy Xfce 4.8 - VERY SLOW First Thunar startup

#13 Post by guoxh »

Same problem here, on a fresh installation.

User avatar
ComputerBob
Posts: 1181
Joined: 2007-11-30 04:49
Location: The Mountains of the Sunshine State
Been thanked: 1 time

Re: Wheezy Xfce 4.8 - VERY SLOW First Thunar startup

#14 Post by ComputerBob »

According to the Xfce Core Developer, the problem has been fixed:

http://forum.xfce.org/viewtopic.php?id=5959

UPDATE: Despite what the developer claimed, the problem has NOT been fixed for anyone who uses Wheezy and network shares. See that xfce.org thread for details.
Last edited by ComputerBob on 2013-08-23 22:14, edited 3 times in total.
ComputerBob - Making Geek-Speak Chic (TM)
ComputerBob.com - Nearly 6,000 Posts and 23 Million Views
My Massive Stroke
Help! (off-topic)
_________________
Your Life Matters

visnotjl
Posts: 2
Joined: 2013-08-23 16:17

Re: SOLVED: Wheezy Xfce 4.8 - VERY SLOW First Thunar startup

#15 Post by visnotjl »

It seems to be a problem depending on the right sequence of parameters in /etc/nsswitch.conf.
After setting the line: [hosts: files wins dns] thunar starts in a hurry and the "network" link works out of the box.
Last edited by visnotjl on 2013-08-25 13:43, edited 1 time in total.

User avatar
ComputerBob
Posts: 1181
Joined: 2007-11-30 04:49
Location: The Mountains of the Sunshine State
Been thanked: 1 time

Re: SOLVED: Wheezy Xfce 4.8 - VERY SLOW First Thunar startup

#16 Post by ComputerBob »

visnotjl wrote:It seems to be a problem depending on the right sequence of parameters in /etc/xsswitch.conf.
After setting the line: [hosts: files wins dns] thunar starts in a hurry and the "network" link works out of the box.
As I replied to your similar posting about the problem in my thread at the XFCE forums:
Thanks for posting that information - I really do appreciate it.

However, I try to never make undocumented and unsupported changes to my system without understanding exactly why I'm doing it, and without understanding the possible unintended consequences that those changes might have on OTHER system functionality, security, etc.

Can you provide that information, and do you know of anyone else who's using your solution?
ComputerBob - Making Geek-Speak Chic (TM)
ComputerBob.com - Nearly 6,000 Posts and 23 Million Views
My Massive Stroke
Help! (off-topic)
_________________
Your Life Matters

visnotjl
Posts: 2
Joined: 2013-08-23 16:17

Re: SOLVED: Wheezy Xfce 4.8 - VERY SLOW First Thunar startup

#17 Post by visnotjl »

I must not post when I am in a hurry!
I made a typo in this thread too!
The configuration file to alter is "/etc/nsswitch.conf". Putting "wins" just after "files" and before every other parameter, in the "hosts" line, does not disable anything. The system works as expected (be careful not to delete the "dns" parameter otherwise browsers will not have network names translated).+

User avatar
ComputerBob
Posts: 1181
Joined: 2007-11-30 04:49
Location: The Mountains of the Sunshine State
Been thanked: 1 time

Re: SOLVED: Wheezy Xfce 4.8 - VERY SLOW First Thunar startup

#18 Post by ComputerBob »

Although it may appear to work well for you, it looks to me like the change and addition that you have done to your systems are undocumented and unsupported.

So even though you seem very confident about what you've done, I wouldn't want to follow your instructions unless the Thunar/XFCE dev(s) "gave their blessing" to what you've suggested.

But I thank you and wish you well -- and I sincerely hope that the proper devs will study your suggestion and tell us for sure if it's going to be a real, documented/supported "solution" to the Thunar problem.
ComputerBob - Making Geek-Speak Chic (TM)
ComputerBob.com - Nearly 6,000 Posts and 23 Million Views
My Massive Stroke
Help! (off-topic)
_________________
Your Life Matters

herbie643
Posts: 66
Joined: 2010-09-18 15:59

Re: NOT Solved: Wheezy Xfce 4.8 - VERY SLOW First Thunar sta

#19 Post by herbie643 »

The one thing I would love to know is this, "How the heck did you figure out that nsswitch.conf was the issue?"
I did it on mine and it works.
Now I trundle on trying to figure out how to get rid of the Grey screen when I log on. Sorry for the segue, couldn't resist.

Post Reply