• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Gnome File Browser has died

Felecha

Golden Member
Learned a lot in the last week.

Installed Fedora Core 4. Stumbled through upgrading to a new kernel, 2.6.14-1.1644_FC4. It's been just fine for days now.

Today I booted back into XP for the first time in a while, had to get to something there. When I returned to FC4, i got an error window - The Application "nautilus" has quit unexpectedly. I clicked "Restart the Application" but nothing happened. I found that my File Browser would not open a window. It put a button on the panel saying Starting but it soon disappeared.

I rebooted and this time the same error window but also the boot took lots longer, and when it was finished everything was really slow. In a terminal window, the command ps -ax was coming out one line at a time! This is with a new Athlon 64 X2 3800.

I thought of "reinstalling" nautilus. I believe that Nautilus is the Gnome application that does what Windows Explorer does in Windows? I had version 2.10. I poked around and found tar files for Nautilus 2.12 and tried to compile but it seemed not to create a makefile. Finally I found I could get it from yum. Yum is a new experience for me, by the way, and way cool.

Anyway I think I did it all ok with yum and it finished and still there is no File Browser that will come up.

Any ideas? The File Browser is something I've been using all the time.
 
Well...

In Windows Explorer is the entire shell. The menus, the taskbar, and most of your programs are made up either of explorer or dll files that explorer uses. It's kinda all integrated.

But for the 'Explorer' Explorer part it's the file manager.

With Linux and Gnome Nautilus is just another program. It's a file manager also, but if nautilus is broken then it's only realy going to effect Gnome and wouldn't cause problems like slow startups and such.

However things that can cause weird startups can cause nautilus to barf.

X Windows is a network protocol, not a GUI in itself like Window's GUI is. On it you have things like X servers (your display and input control program.. it does your monitor resolution and mouse cursor control. Note that this 'server' is always local on your machine (unless your using VNC)), and X clients (programs that run on your; X Server, firefox, gnome-panel, nautilus, window managers, etc).

So this makes it sensitive to things like timing and network issues.

for instance common things that can go wrong is like your hardware clock is messed up and each time you boot up it sets the clock to 1995 or something like that. That'll cause problems with network stuff (which in turn can cause slowdowns) and it'll cause X programs to mess up.

This is often the case when dual booting with Windows. Since you may configure your Windows system to local time zone, but your Linux box may be configured to universal time zone, then they'll confuse each other.

Another thing is network misconfiguration or hostname misconfiguration.

If you name your computer something like happycomp you should be go:
ping happycomp
and resolve your hostname to a ip address, usually loopback (something like: 127.0.0.1 ip address) and get successfull pings. If you change your hostname sometimes it doesn't finish the change all the way and you can end up with a hostname that can't be associated with a ip address and this will especially affect gnome desktop programs like nautilus.

Also if you loose your loopback address this will cause problems and if you can't resolve a hostname it will cause some programs to hang while your system does DNS queries (which will fail or time out) to find out it's own name's ip address.

If certain programs hang or do something bad then they can lead to poor system performance.

I've had this problem on systems before were the authentication and such freak out and go VERY slow due to networking misconfigurations.

Now I am not talking about if you have the right IP address for your network or the gateway is setup.. I am talking about stuff like is your loopback interface running fine and your able to ping your hostname.

If a kernel upgrade is done badly it can cause problems if it's improperly setup. For instance newer kernels use something called 'inotify' to allow programs to find out about file changes without needing the programs to constantly watch the filesystems themselves through polling. With Nautilus it can depend on a program called Gamin, which is a deamon to comminicate with the kernel via inotify to find out about changes and then that program tells nautilus.

If stuff messes up with that then it can ultimately cause nautilus to not start up.


Of course since you recently upgraded the kernel and rebooting for that is when the problems started then it's pretty likely that something you did with the kernel caused the mess up.

So I'd take a look at:
the date on the computer/os and make sure that is reasonably accurate.
make sure that you can ping the hostname
Boot up with the previous kernel and see if that solves any of your problems.

There are some stuff beyond what I described here, but check out 'top' to see if any programs are eating 100% cpu time and check dmesg to look for system errors. Also logs are in your /var/log/ directory that you can check, but also you have a hidden .xsessionerrors file in your home directory. The dot (.) before the name makes it hidden, you can see all the files by going "ls -a". That .xsessionerrors file

This is were errors are outputted from programs.

Also you can see what errors nautilus has by openning up a xterm and typing 'nautilus' and what goes on inside the xterm when nautilus refuses to start.
 
I can ping localhost and get 127.0.0.1. I named the machine "linux" and when I ping linux I get 192.168.1.103, which is the IP for it. So that's good?

the date and time are correct.

top shows X as using 5, 10, sometimes as high as 15% CPU. Nothing is using 100%

When I run "nautilus" in a terminal I get

nautilus: symbol lookup error: /usr/lib/libnautilus-private.so.2: undefined symbol: g_utf8_collate_key_for_filename

That looks promising but I find little on Google about it.
 
And I just booted into the first kernel I got, from the FC4 install - 2.6.11. Same thing, nautilus failed.

So it started failing with Nautilus 2.10, and yumming for Nautilus 2.12 did not fix it.
 
Hrm..

difficult. Maybe you should try fedora forums
http://www.fedoraforum.org/

Search thru that and maybe post there. This could be a known problem with a known fix.

Normally I like the hostname to be 'loopback' interface (ie a 127.0.0.x address), but as long as that IP address is static and all that then that is ok. (there are times when you don't want it to be loopback, but it's uncommon.) Maybe try setting it to loopback, but I am not sure about that approach.


Here is one thing to try:

Try setting up another user, log in as that new user and see if it works for that guy. It could be that some preferences for nautilus for your user have been corrupted or be bad in some way. If you setup a 2nd user and for that user with a fresh account has a nautilus that works correctly then you know the problem is just with your preferences in your home directory and not elsewere on the system.

Are you still experiancing other problems with slow boot-ups and such?
 
not slow now but another problem that happened a long time back that I posted here has come back a little bit. At times I get multiple letters as I type, like nauuuutilus just a little while ago
 
Verrrry inteeresting indeed. I'm logged in assss a different userrr now (see the multiple keyboard chhhhhaaaaracccctttteeeerss? that's still happening)

TTTtthe File Bbrowseeer is wwwwwwwoooorking ok.





WWWwweiiird stuff....
 
I get that nautalus error in fedora 3 once in a while but when i quit it and restart the app it always works for me not sure what causes it..fedora 4 sounds buggy though??
Have you given ubuntu a look see? I really like it.Running Breezy Badger.
 
Well, I had a real nice week with FC4 and hope not to start over . . .

Every time I restart Nautilus it pops the same error window, alas.

As for preferences in my home directory I have logged in as root from the beginning of the install of FC4. I know all the warnings against it but if I'm all by myself here (well, my wife does live here but this computer is me all alone) I figured there's no real danger and if I'm trying to learn it's valuable to be root all the time. So the preferences, if they are in my Home directory, are in /root. But what do I look for? I can oooooonly look in a terminal. I've found nothing that looks like a Nautilus preference file
 
just had a thought maybe if you get tired of messing with nautilus, might try using xfce desktop instead. i don't believe it uses nautilus. should be in your add/remove.
 
Originally posted by: Felecha
Verrrry inteeresting indeed. I'm logged in assss a different userrr now (see the multiple keyboard chhhhhaaaaracccctttteeeerss? that's still happening)

TTTtthe File Bbrowseeer is wwwwwwwoooorking ok.





WWWwweiiird stuff....

Yes.. this is getting very bizzare. :/


I am thinking that it's a problem with X windows for this keyboard thing.

Each time you press a key it sends 2 signals to the computer.. one for the keypress, and one for the release. Maybe it is not getting the 'release' or misinterpreting it?

Things I'd try first are the easiest stuff... then work to hardest.

You can confirm it's a problem with X by switching to the virtual console (the command line, to do that you go ctrl-alt-F1, then ctrl-alt-F7 (or sometimes F8 or other F buttons) to get back into X, although I think you know how to do that already) and see if the repeating button problem comes up there.

If it doesn't appear then it's a problem with X most likely.

If you have another keyboard I'd try that, especially if it wireless or something like that.

If ti's one of those USB ones that can use a PS/2 adapter I'd try that (or visa versa). (you may have to switch to the console and back to X to make it pick it up, or maybe log out and restart the graphical login stuff with ctrl-alt-backspace)

See if that makes it go away. If it's a problem with the keyboard then it would suck to spend so much time with the software.

You can find your keyboard preference configuration tool in the gnome menu, but I am not certain were exactly. Look for keyboard preferences in stuff like 'desktop' or preferences menu or something like that. Muck around with that and see if it makes a difference.

Otherwise this sort of thing can be caused by a misconfiguration for X. In your configuration file make sure that you have only one entry for keyboard controls, if you have 2 then it may think that you have 2 keyboards and is thinking that everytime you press your key then your pressing it twice. But it doesn't look like this is the problem.

I think that this a problem with Gnome and not nessicarially with X or with your system. Just a guess since it works ok now for one user, but wonky for your new guy.

Maybe try booting up with a knoppix CD and see if you have the same problems. If it's a problem in Fedora and not with Knoppix, then it's usually a Fedora buggy software issue.

So whereeee do I find nauttttilus preferrrrreeeences?

Nautilus and all applications store preferences in your home directory.

Linux security model is such that the only folders your generally allowed to access by default is your /home/username/ folder and the /tmp folder.

Preferences are stored in .filename and .directory names in your home directory. The period before the name makes them 'hidden', so normally your shell ignores displaying them when you do file stuff, but you can see them by going to your home directory and typing ls -a.

some more background:
Also ~/ is shortcut that equals your user's home directory so you don't have to type it out all the time and you can use it for scripts. On top of that your shell can use wildcards, one wild card is the question mark: ? Another is the asterix *.

? means this character can be substituted with any _single_ number or character.

Like if you have 2 files named cat, cap, and cad you can go:
ls -l ca?
and it will display all 3 files.

The other one is * and that means 'this can be anything, and any number of items'.
/end of background.


Now going thru all these . files are tedious and all that nautilus stuff is mixed up with a bunch of other gnome stuff. So the easy way to reset nautilus (and everything else) is to move or delete the preferences out of the way so that new ones can be generated automaticly.

You do this whenever you run into problems like this or when you do big big upgrades (since newer programs may not be backward compatable with old versions, and with this big upgrade I am talking about is like going from Fedora Core 2 to FC 4 or whatnot) or just want to 'clean house'.

ALWAYS though if you have email or want to save browser settings or whatnot then back those up so that you can have them and import them back into their programs. For firefox there is a bookmarks.html file you can find in the preferences and copy to safety.

To do that with gnome you have to log out, and wait for all the gnome-related background stuff to die or stop. This takes a couple minutes after logging out and they do things like record your last settings and such for the next time you start up. If you move the preferences before they are off then they may try to remake some of them.

So log out, switch to console, and wait a bit, then log into the console.
check to see if you have any gnome related stuff running.
you can do that easily by going:
ps aux | grep <your username>

If there is anything gnome-related still running go:
killall < program name >
or
kill < pid number >

Whichever is easiest, The PID number is the proccess identification number and it displayed on the second column when you do 'ps aux'.

If programs are stubborn you can do a 'serious kill' by going:
kill -9 < pid number >

If they don't die by that time, wait and try the kill -9 a couple times, then after that you can safely ignore them. Usually they just turn to zombies at that point and don't do anything.

This is also very good for stubborn programs that freeze or behave badly. Like with mplayer, it works fine, but when I shut it down it still has a instance running in the background sometimes that I have to kill manually. Irritating.

Also if you don't want to do all that crap, you can simply reboot the computer and not log in as that user, which is the easiest way by far.


After you reboot or have made sure that gnome is shut all the way off.

Then, the actual thing I've been building up to, you go:

cd ~/
mkdir old.stuff
mv .??* old.stuff/
(the .??* makes sure that you avoid the . and .. files that are special)

And that is it. All the preferences have been moved out of the way and your user account will generate everything over again fresh when you log in again. Everything will get cleared out.

Oh, and also before you log in go to /tmp and make sure that there are not any stale files around for your user. Go ahead and "rm -r /tmp/*" and "rm -r /tmp/.??*" if you want, just be carefull every time you use rm because there is no undelete... _ever_. If your not sure always copy the files to a safe place before you delete them so that you can recover them from this safe place (which you can clear out later if everything works out ok.) If your nervious about using rm then use 'rm -i' so that it asks you before deleting (I think that fedora does this by default with a alias). If you are sure of yourself then 'rm -f' is the oppisite.


If that doesn't solve it or some change you made you need to get back then you can do..
mv ~/old.stuff/.??* ~/

It's pretty simple, but it's kinda complicated at the same time.

At this point if mucking around with Fedora Core some more doesn't fix it, then I'd say just try something else. Ubuntu is fine.
 
I understand a good deal of what you are saying but what is logging into the console?

The only login I know is when I log out I get a screen from Fedora with a text box to login with
 
Well, this is curious indeed. I never noticed before now the options down below and I chose Settings and from there I found that the default has been "Default System Session".

Another option was Gnome. I thought I was in Gnome all this time. I chose that option and logged in and . . . everything is the way I've had it all week, except that Nautilus is not failing.

?????

But now it's way past my bedtime and I gotta go to work soon, so that's it for me for now.

Thanks all!

Felecha
 
??????

Equals my thoughts exaclty.

oh, well.

Maybe Fedora has some ghetto Gnome settings by default.

 
Originally posted by: Felecha
I don't know what to do with that - what is in add/remove?



add remove programs should be under system tools or preferences I forget.
you should see options there for using kde, gnome ,xfce among other things.

but it sounds like you got ot going ...good!
 
Well, what about this - I am using extra space on my second hard drive (80gb) for Fedora. 40gb is for Windows storage, and I created a partition of 40gb for linux. Now that I have the File Browser back in FC4 (although now my Thunderbird email has gone bad - everything in the window is blanked out - menus, itemized emails, folders . . . !!! . . . and the keyboard multi-stuff is still happening) I can see it says Free space 21gb.

I suppose I could go back and subdivide the partition and create one for . . . ubuntu now? Or would multi-booting be a mess?

I really did like FC4 a LOT,,,, it was so much ahead of my last time with linux at RedHat 9. But now I want to do stuff with it, not just poke around and learn about it. This kind of learning gets tired quick.
 
Well... reboot or log out and make sure all the gnome-settings-deamon stuff is shutdown then move your preferences files out of the way. (after backing up email and such).

Then switch to the command line console and move the preferences out of the way.

I went into more detail in my last post, but the important part is this:
cd ~/
mkdir backup
mv .??* backup/

The reason you move the preferences out of the way instead of just deleting them is that you risk loosing information in your programs. Like Evolution stores email in those . fies.

Then that will reset all the settings for you menus, programs, backgrounds, etc etc.for your user. They will be replaced by the program's defaults next time you use them.

See if that makes a difference.

Maybe if that doesn't work I'd just try to reinstall Fedora Core 4 at this point and be much more carefull next time you do a kernel upgrade. 🙂

what people do to make this easier is setup a seperate /home/ directory. So you'd give like 10 or 12 gigs of disk space for the Fedora install and then a seperate partition for /home for the rest of it, (don't forget to make a swap partition also).

So next time you need to do a major upgrade or change distros you can format the / partition, and save the /home partition... and move the preferences files out of the way, and then you can do things without having to worry about your user's files.
 
Back
Top