Different issue, probably related to very similar root cause: same user, same host, logged in via two different methods, end up with different environment, and even different mount points:
Code: Select all
$ tty
/dev/pts/10
$ env | grep DBUS
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-naLw4szB85,guid=2b3e78d7e243192c38ac24b362652591
$ df -h | tail -n 4
df: /run/user/1000/doc: Operation not permitted
/dev/sdc1 15G 5.8G 9.1G 40% /mnt/MP3_camion
tmpfs 1.6G 16K 1.6G 1% /run/user/1000
GoogleDriveBenoitDemaine: 30G 19G 12G 63% /home/dhp/GoogleDriveBenoitDemaine
/dev/sda1 69G 14G 56G 20% /mnt/Ventoy
Code: Select all
$ tty
/dev/pts/11
$ env | grep DBUS
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
$ df -h | tail -n 4
/dev/sdc1 15G 5.8G 9.1G 40% /mnt/MP3_camion
/dev/sda1 69G 14G 56G 20% /mnt/Ventoy
/dev/sdb1 115G 90M 115G 1% /media/DHP_128G_-_sdb1
/dev/sdd1 58G 88M 58G 1% /media/DHP_pat_64G_-_sdd1
tty10 sees GoogleDrive but not /media, while tty11 sees /media but not GoogleDrive.
GoogleDrive is mounted using rclone at boot; /media were mounted on usb stick insertion hours after boot by some (root) scripts.
Of course, I want my user to have access to everything from all consoles; and I see a common point with the previous issue: the way I log in alters the ressources I al allowed to access.