linuxmint / nemo

File browser for Cinnamon
GNU General Public License v2.0
1.21k stars 300 forks source link

Nemo file manager crashes and system unresponsive when phone is connected in USB Debugging Mode #3394

Open adrummer354 opened 6 months ago

adrummer354 commented 6 months ago

When I have my USB phone connected and in USB Debugging Mode, nemo will often become unresponsive and cause my system to crash. It will hang and prevent any file manager activity in the system. When shutting down the system the system shows "Nemo Unresponsive" messages.

This has occurred with the same USB phone device across multiple systems and after reinstalling the OS. System info:

https://termbin.com/l27o

Using Linux Mint 21.3 Ubuntu Edition

System: Kernel: 6.5.0-35-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy

I have tried multiple kernels, reinstalling the OS. Other users on reddit reporting this issue is present with phones connected in this mode but it wont occur for them if the phone device gets ejected. I can confirm this is happening for me too. This is my error when I try to launch nemo from command prompt when it is not responding:

https://imgur.com/q38qAWT

When my phone screen slept and my screen went dark. No response from nemo. Ejecting or unplugging my device allowed nemo to respond immediately.

https://old.reddit.com/r/linuxmint/comments/1cblxaj/file_manager_not_opening_crashing_or_not/?ref=share&ref_source=link

Not-Sure-Whats-Going-On commented 6 months ago

I can confirm this problem on updated Mint 20.3, Cinnamon 6.0.4 and 6.5.0-28-generic kernel with a Pixel6 phone when connecting via USB-C.

EDIT: In my case, Developer Mode / USB Debugging was NOT enabled. Phone screen sleeps -> nemo freezes.

olisnr commented 4 months ago

i have the same problem. but its only with nemo nautilus works perfekt. may be the nemo people could make a diff to nautilus?