Page 1 of 2
Multiple windows opened when usb key inserted
Posted: 4. Oct 2011, 05:49
by byteman
After a fresh installation of Salix 13.37 all is ok in my computer. But after some time two windows are opened on my desktop when I insert an usb key. After another some time the number of windows is duplicated, and so on. Now, when I insert an usb key, 16 windows are opened.
The problem is very annoying. Any idea for solution ? Thanks in advance.
Re: Multiple windows opened when usb key inserted
Posted: 4. Oct 2011, 06:10
by jayseye
Hi, byteman -
Which desktop edition of Salix are you using -- XFCE, KDE, LXDE, or Fluxbox?
Re: Multiple windows opened when usb key inserted
Posted: 4. Oct 2011, 07:51
by thenktor
Do tailf /var/log/messages and insert your USB stick. You'll see that it gets detected. Now watch the output further to see if it gets redetected after some time and therefore a new window is opened again.
Re: Multiple windows opened when usb key inserted
Posted: 4. Oct 2011, 10:28
by byteman
Salix Xfce 13.37
Re: Multiple windows opened when usb key inserted
Posted: 4. Oct 2011, 21:02
by jayseye
Thanks for the reply, byteman -
Since your question was unanswered at the time, I asked which desktop, assuming that that was relevant to the problem, (Also because I'm having a similar issue with GNOME under FreeBSD, but that's another story...)
Now that thenktor has weighed in, following his advice would be the most effective way to resolve the issue:
thenktor wrote:Do tailf /var/log/messages and insert your USB stick. You'll see that it gets detected. Now watch the output further to see if it gets redetected after some time and therefore a new window is opened again.
It was interesting to learn about
tailf vs. the traditional 'tail -f' technique.
Re: Multiple windows opened when usb key inserted
Posted: 4. Oct 2011, 21:04
by byteman
Hi, thenktor
thanks for your tip, this is the result after insertion of USB stick:
Oct 4 22:56:45 darkstar kernel: [19738.059011] usb 1-5: new high speed USB device using ehci_hcd and address 3
Oct 4 22:56:45 darkstar kernel: [19738.183318] usb 1-5: New USB device found, idVendor=13fe, idProduct=1f00
Oct 4 22:56:45 darkstar kernel: [19738.183321] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 4 22:56:45 darkstar kernel: [19738.183323] usb 1-5: Product: DataTraveler 2.0
Oct 4 22:56:45 darkstar kernel: [19738.183325] usb 1-5: Manufacturer: Kingston
Oct 4 22:56:45 darkstar kernel: [19738.183326] usb 1-5: SerialNumber: 5B820B0027CA
Oct 4 22:56:45 darkstar kernel: [19738.183738] scsi7 : usb-storage 1-5:1.0
Oct 4 22:56:46 darkstar kernel: [19739.184263] scsi 7:0:0:0: Direct-Access Kingston DataTraveler 2.0 PMAP PQ: 0 ANSI: 0 CCS
Oct 4 22:56:46 darkstar kernel: [19739.184479] sd 7:0:0:0: Attached scsi generic sg6 type 0
Oct 4 22:56:48 darkstar kernel: [19740.469193] sd 7:0:0:0: [sde] 3903488 512-byte logical blocks: (1.99 GB/1.86 GiB)
Oct 4 22:56:48 darkstar kernel: [19740.469686] sd 7:0:0:0: [sde] Write Protect is off
Oct 4 22:56:48 darkstar kernel: [19740.472462] sde: sde1
Oct 4 22:56:48 darkstar kernel: [19740.473689] sd 7:0:0:0: [sde] Attached SCSI removable disk
Oct 4 22:56:50 darkstar Thunar: Trash directory /media/KNGST2GB/.Trash-1000 exists, but didn't pass the security checks, can't use it
Oct 4 22:56:50 darkstar last message repeated 8 times
Oct 4 22:56:50 darkstar xfdesktop: Trash directory /media/KNGST2GB/.Trash-1000 exists, but didn't pass the security checks, can't use it
Oct 4 22:56:50 darkstar hald: mounted /dev/sde1 on behalf of uid 1000
Oct 4 22:56:50 darkstar Thunar: Trash directory /media/KNGST2GB/.Trash-1000 exists, but didn't pass the security checks, can't use it
Oct 4 22:56:50 darkstar last message repeated 8 times
Oct 4 22:56:50 darkstar xfdesktop: Trash directory /media/KNGST2GB/.Trash-1000 exists, but didn't pass the security checks, can't use it
Re: Multiple windows opened when usb key inserted
Posted: 5. Oct 2011, 12:44
by thenktor
byteman wrote:
Oct 4 22:56:48 darkstar kernel: [19740.472462] sde: sde1
Oct 4 22:56:48 darkstar kernel: [19740.473689] sd 7:0:0:0: [sde] Attached SCSI removable disk
Your device has been detected here. The question is: does such a message appear again when a new window opens up?
EDIT: And does this happen with other USB keys, too?
Re: Multiple windows opened when usb key inserted
Posted: 5. Oct 2011, 20:08
by byteman
Hello thenktor,
after your answer I did several tests with usb sticks. Well, the message following the insertion of the USB key is not replicated when opening multiple windows. But if I insert another usb stick a new similar message appears, only one time while another set of multiple windows is opened.
Thank you in advance for your help
Re: Multiple windows opened when usb key inserted
Posted: 6. Oct 2011, 15:23
by thenktor
OK, so my first assumption was wrong. Kernel and hardware work fine. Please check if there are more thunar processes running than needed: ps ax | grep thunar
Re: Multiple windows opened when usb key inserted
Posted: 7. Oct 2011, 02:09
by byteman
I checked (ps aux |grep thunar) for more thunar processes running than needed. No thunar process is running before usb stick insertion, and the same happens after.
I noticed that the same effect (multiple windows) happens even when I insert a CD into the player.