nemo fails and then can't be restarted without reboot

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
AE2100A
Level 2
Level 2
Posts: 81
Joined: Sat Dec 01, 2012 10:45 am

nemo fails and then can't be restarted without reboot

Post by AE2100A »

Nemo fails and then can't be restarted without reboot. I would like to be able to restart without reboot.

I have tried:

ps aux | grep nemo
getting the process id
issuing a "kill -9 <pid>



pstree -p <pid>
insuring that all process tree items are also killed.


mv ~/.config/nemo ~/.config/nemo_backup

sudo apt remove nemo
sudo apt install nemo


Installed nautilus
nautilus also will not run


None of the above has resolved the issue.

dolphin is also installed.
dolphin still runs.


Any ideas what can be done? Like I said, a reboot does fix the issue, so there must be something that can be killed that I am not killing.
User avatar
all41
Level 19
Level 19
Posts: 9529
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: nemo fails and then can't be restarted without reboot

Post by all41 »

To restart just nemo use ctrl+alt+esc
Everything in life was difficult before it became easy.
mikeflan
Level 17
Level 17
Posts: 7162
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: nemo fails and then can't be restarted without reboot

Post by mikeflan »

After Nemo fails type nemo in a terminal and post the output in your next post.
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: nemo fails and then can't be restarted without reboot

Post by Koentje »

I have the same problem. If nemo fails or hangs, nothing can be done to make it run again.
Even when i kill all instances in htop, nemo still won't run normally unless i reboot!
Image
mikeflan
Level 17
Level 17
Posts: 7162
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: nemo fails and then can't be restarted without reboot

Post by mikeflan »

If nemo fails or hangs, nothing can be done to make it run again.
Every 4 to 8 months or so I have nemo fail - where all nemo windows across all workspaces shuts down. When that happens I just restart Nemo fine.

Can either of you describe what happens when nemo fails for you?

Next time it happens to either of you, please post the output of nemo typed in a terminal.
Last edited by mikeflan on Fri Mar 29, 2024 7:21 pm, edited 1 time in total.
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: nemo fails and then can't be restarted without reboot

Post by Koentje »

Here also once every 2 months or so it happens.. if i won't forget i will post here. If the topic is still open? Doesn't it close after a month?
Image
mikeflan
Level 17
Level 17
Posts: 7162
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: nemo fails and then can't be restarted without reboot

Post by mikeflan »

Doesn't it close after a month?
I believe it is 6 months after it was opened.
AE2100A
Level 2
Level 2
Posts: 81
Joined: Sat Dec 01, 2012 10:45 am

Re: nemo fails and then can't be restarted without reboot

Post by AE2100A »

I am the one who started this thread. Here is some feedback since Nemo has now failed. I am now providing the responses requested:

Went to terminal and typed nemo: the terminal just hung with no response even after 5 minutes of waiting.

Went to terminal and typed "sudo nemo": ERROR SET META:15 Setting attribute metadata::nemo-icon-view-auto-layout not supported
"sudo nemo" did produce a nemo window with root privileages.

Went to terminal and typed nautilus (since it is also loaded): The program runs and opens a nautilus window but it only displays files and folders after an abnormal 20 or 30 second delay.

Also, dolphin is loaded and it operates normally.

ps aux is ran while nemo is hung:
xxxxx@xxxxx ~> ps aux | grep nemo
xxxxx 3266 0.0 0.2 1110584 66136 ? Sl Apr06 0:52 nemo-desktop
xxxxx 737571 0.0 0.1 627516 59216 pts/4 Dl+ 22:14 0:00 nemo
xxxxx 738798 0.0 0.0 9212 2432 pts/8 S+ 22:25 0:00 grep --color=auto nemo

pkill nemo does not return any errors. However, issuing nemo command results in same hanging.

ctrl-alt-esc was really bad because the whole computer locked up for more than 20 minutes before cinnamon dropped to fallback mode. Therefore, nothing could be done once ctrl-alt-esc was hit except to either wait or hard reboot.
AE2100A
Level 2
Level 2
Posts: 81
Joined: Sat Dec 01, 2012 10:45 am

Re: nemo fails and then can't be restarted without reboot

Post by AE2100A »

Also, only after fallback did I see that my commandline "nemo" that had been hung now reported back. Not sure if the errors are due to fallback or they were actual errors causing the hanging during normal cinnamon operation.

xxxxx@xxxxx ~> nemo

^[[1;7C^[[1;7D^[Nemo-Share-Message: 22:33:28.446: Called "net usershare info" but it failed: 'net usershare' returned error 255: info_fn: file /var/lib/samba/usershares/johnsonlibrary is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/hlbkp811026dhome is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/johnsonutility is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/padmock_dj is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/johnsonweb is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/johnsonlibrarysoftware is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/johnsonlibrarypictures is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/share is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/hlbkp811026d-virtwin10 is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/johnsonvmtest is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/hlbkp81harddrive4 is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/hlbkp81harddrive3 is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/johnsonlibraryvideo is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/johnsonlibraryaudio is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/harddrive5 is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/padmock is not a well formed usershare file.
info_fn: Error was Path is not a directory.

Nemo-Share-Message: 22:44:07.360: Called "net usershare info" but it failed: 'net usershare' returned error 255: info_fn: file /var/lib/samba/usershares/johnsonlibrary is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/hlbkp811026dhome is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/johnsonutility is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/padmock_dj is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/johnsonweb is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/johnsonlibrarysoftware is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/johnsonlibrarypictures is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/share is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/hlbkp811026d-virtwin10 is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/johnsonvmtest is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/hlbkp81harddrive4 is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/hlbkp81harddrive3 is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/johnsonlibraryvideo is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/johnsonlibraryaudio is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/harddrive5 is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/padmock is not a well formed usershare file.
info_fn: Error was Path is not a directory.

Nemo-Share-Message: 22:47:36.097: Called "net usershare info" but it failed: 'net usershare' returned error 255: info_fn: file /var/lib/samba/usershares/johnsonlibrary is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/hlbkp811026dhome is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/johnsonutility is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/padmock_dj is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/johnsonweb is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/johnsonlibrarysoftware is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/johnsonlibrarypictures is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/share is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/hlbkp811026d-virtwin10 is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/johnsonvmtest is not a well formed usershare file.
info_fn: Error was Path not allowed.
info_fn: file /var/lib/samba/usershares/hlbkp81harddrive4 is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/hlbkp81harddrive3 is not a well formed usershare file.
info_fn: Error was Path is not a directory.
info_fn: file /var/lib/samba/usershares/johnsonlibraryvideo is not a well formed usershare file.
info_fn: Error was Path not allowed.

The upside of cinnamon failing to fallback is that then the computer unfroze and after restarting cinnamon, nemo was working again without a reboot. Of course it only cost greater than an hour to get the computer to respond after freezing.
mikeflan
Level 17
Level 17
Posts: 7162
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: nemo fails and then can't be restarted without reboot

Post by mikeflan »

This is what I would do:
Shutdown all nemo. Search for it in ps and kill all nemo.
Maybe even do a restart.

Code: Select all

mv ~/.config/nemo ~/.config/nemo-old
mv ~/.local/share/nemo ~/.local/share/nemo-old
Restart nemo via terminal. Does it work?

If not, create another user. Does nemo work there?
Post Reply

Return to “Cinnamon”