升级为debian buster,用户无法在XFCE中安装USB存储设备

时间:2019-10-17 06:37:37

标签: debian usb

将一堆Debian机器从拉伸升级为破坏器。这些机器正在运行XFCE,并且是NIS域的一部分。 在其中一些设备上,用户在升级后无法正常工作的情况下,无法在升级后从XFCE挂载USB存储设备。

在桌面上显示USBdisk图标,但双击它->无法装载“ keyName”。未经授权执行操作

==> syslog <==
Oct 17 07:34:11 machine kernel: [  184.011692] usb 3-2: New USB device found, idVendor=0951, idProduct=1666, bcdDevice= 1.10
Oct 17 07:34:11 machine kernel: [  184.011696] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 17 07:34:11 machine kernel: [  184.011698] usb 3-2: Product: DataTraveler 3.0
Oct 17 07:34:11 machine kernel: [  184.011700] usb 3-2: Manufacturer: Kingston
Oct 17 07:34:11 machine kernel: [  184.011701] usb 3-2: SerialNumber: 408D5C1653D4E2A1B98AA273
Oct 17 07:34:11 machine mtp-probe: checking bus 3, device 2: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2"
Oct 17 07:34:11 machine mtp-probe: bus: 3, device: 2 was not an MTP device
Oct 17 07:34:11 machine kernel: [  184.039916] usb-storage 3-2:1.0: USB Mass Storage device detected
Oct 17 07:34:11 machine kernel: [  184.040232] scsi host10: usb-storage 3-2:1.0
Oct 17 07:34:11 machine kernel: [  184.040336] usbcore: registered new interface driver usb-storage
Oct 17 07:34:11 machine kernel: [  184.043119] usbcore: registered new interface driver uas
Oct 17 07:34:11 machine mtp-probe: checking bus 3, device 2: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2"
Oct 17 07:34:11 machine mtp-probe: bus: 3, device: 2 was not an MTP device
Oct 17 07:34:12 machine kernel: [  185.059788] scsi 10:0:0:0: Direct-Access     Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6
Oct 17 07:34:12 machine kernel: [  185.060205] sd 10:0:0:0: Attached scsi generic sg3 type 0
Oct 17 07:34:12 machine kernel: [  185.060459] sd 10:0:0:0: [sdc] 60604416 512-byte logical blocks: (31.0 GB/28.9 GiB)
Oct 17 07:34:12 machine kernel: [  185.060766] sd 10:0:0:0: [sdc] Write Protect is off
Oct 17 07:34:12 machine kernel: [  185.060768] sd 10:0:0:0: [sdc] Mode Sense: 45 00 00 00
Oct 17 07:34:12 machine kernel: [  185.061076] sd 10:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Oct 17 07:34:12 machine kernel: [  185.082929]  sdc: sdc1
Oct 17 07:34:12 machine kernel: [  185.084849] sd 10:0:0:0: [sdc] Attached SCSI removable disk
  • 计算机上没有udev或polkit规则。
  • 我比较了两台机器上使用dpkg -l的已安装软件包(一台可以正常运行,另一台不能正常运行),除了一些java dev软件包外,没有区别
  • 以root用户身份登录后,我可以毫无问题地挂接USB存储设备
  • 我使用rsync -anvc在2台计算机之间对/ etc /进行了文件比较,在那里没有发现任何大的东西
  • 试图进行apt安装-重新安装thunar,thunar-volman和相关的gvfs软件包
  • 主板的BIOS /固件升级

在网络上阅读了一些关于它的老文章之后,我们使用“ dbus-launch thunar”从终端启动thunar,但出现了此错误。

thunar-volman: Unsupported USB device type "usb". thunar-volman:
Unsupported USB device type "usb-storage". thunar-volman: Unknown
block device type "disk".

否则,syslog /消息中什么也没有。

1 个答案:

答案 0 :(得分:0)

对我有用。

1)在/etc/pam.d/common-session

中添加此行

会话可选pam_mkhomedir.so skel = / etc / skel umask = 077 就像写在此页上

https://www.server-world.info/en/note?os=Debian_10&p=nis&f=2

2)启动nscd服务

3)重新启动计算机