将一堆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
在网络上阅读了一些关于它的老文章之后,我们使用“ 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 /消息中什么也没有。
答案 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)重新启动计算机