I updated to LXDE 0.99.2 (pcmanfm 1.3.2) today, which broke my LXDE for my main non-root user (the account I usually use). I have always started LXDE with startx, where ~/.xinitrc specifies
Code: Select all
exec startlxde
pcmanfm now attempts to mount all devices defined in /etc/fstab, including the ones with option noauto, when I start LXDE (with startlxde). This includes cifs devices that are not even reachable. But more importantly, it attempts to read passwords (which ís absurd and not possible in this setting) and for this blocks all input devices.
Expected/Desired outcome
I just want it to stop trying to mount anything. There is no reason in hell why LXDE or pcmanfm should interfere with my volumes.
I want to accomplish this directly in the config files. Hopefully, I can then be sure that it never happens again.
Attempts at solving this
Here is where things start to get very weird.
I tried:
- Another user. Works fine.
- A new user. Works fine.
- Removing the files relating to LXDE and pcmanfm in ~/.config and ~/.cache. Changes nothing, does not work for my main user.
- Additionally setting in /etc/xdg/pcmanfm/default/pcmanfm.conf. Changes nothing, does not work for my main user.
Code: Select all
mount_on_startup=0 mount_removable=0 autorun=0
- Hiding all config files for all applications for my main user, hoping that LXDE and pcmanfm will start with system defaults again. Changes nothing, does not work for my main user.
- Copying the (automatically generated and working) config of the newly created user to my main user (and chmoding to set ownership correctly). Changes nothing, does not work for my main user.
- Renaming the hostname (I thought my main user having the same name as the host name may be the reason). Changes nothing, does not work for my main user.
- Starting openbox instead and running startlxde from a terminal in openbox. This time I get the password prompts and LXDE works again.
- Restarting (Windows magic, should not be necessary on Linux); Indeed, changes nothing, does not work for my main user.
In the end, I'm not sure I care if any how pcmanfm can mark out my main user. I just want it to stop messing up my LXDE startup with attempting to mount volumes that are not there (or any volumes at all for that matter).
What it looks like:
/etc/xdg/pcmanfm/default/pcmanfm.conf
Code: Select all
[config]
bm_open_method=0
[volume]
mount_on_startup=0
mount_removable=0
autorun=0
[desktop]
wallpaper_mode=0
desktop_bg=#000000
desktop_fg=#ffffff
desktop_shadow=#000000
show_wm_menu=0
[ui]
win_width=640
win_height=480
splitter_pos=150
side_pane_mode=1
view_mode=0
show_hidden=0
sort_type=0
sort_by=2
max_tab_chars=32
ps aux
Code: Select all
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
...
<username> 2738 0.0 0.0 3996 2440 tty1 S+ 01:32 0:00 xinit /home/<username>/.xinitrc -- /etc/X11/xinit/xserverrc :1 vt1 -keeptty -auth /tmp/serverauth.soH6kf9rqK
<username> 2739 0.2 0.4 356244 73712 tty1 Sl 01:32 0:00 /usr/lib/Xorg -nolisten tcp :1 vt1 -keeptty -auth /tmp/serverauth.soH6kf9rqK
root 2741 0.0 0.0 2476 1304 tty1 S 01:32 0:00 xf86-video-intel-backlight-helper intel_backlight
<username> 2744 0.0 0.1 330792 21560 tty1 Tl 01:32 0:00 /usr/bin/lxsession -s LXDE -e LXDE
<username> 2758 0.8 0.1 299992 26376 tty1 S 01:32 0:01 openbox --config-file /home/<username>/.config/openbox/lxde-rc.xml
<username> 2760 0.0 0.1 258728 19224 tty1 Tl 01:32 0:00 lxpolkit
<username> 2761 0.9 0.2 767912 48112 tty1 Tl 01:32 0:01 lxpanel --profile LXDE
<username> 2763 1.0 0.3 653940 58324 tty1 Tl 01:32 0:01 pcmanfm --desktop --profile LXDE
<username> 2764 0.0 0.0 4468 3332 tty1 T 01:32 0:00 xscreensaver -no-splash
<username> 2768 0.0 0.1 255760 17936 tty1 Tl 01:32 0:00 lxclipboard
<username> 2777 0.0 0.0 8220 1216 ? Ss 01:32 0:00 /usr/bin/ssh-agent -s
<username> 2779 0.0 0.0 316332 14716 tty1 Tl 01:32 0:00 /usr/lib/geoclue-2.0/demos/agent
<username> 2835 0.0 0.0 229540 11844 ? Sl 01:32 0:00 /usr/lib/menu-cache/menu-cached /run/user/1000/menu-cached-:1
root 3088 0.0 0.0 0 0 ? I 01:32 0:00 [kworker/u16:5-events_unbound]
root 3104 0.0 0.0 0 0 ? I 01:32 0:00 [kworker/0:3-events]
root 3123 0.0 0.0 13012 2772 tty1 T 01:32 0:00 mount /mnt/cifs
root 3124 0.0 0.0 0 0 ? I 01:32 0:00 [kworker/3:2-events]
root 3126 0.0 0.0 2548 1508 tty1 T 01:32 0:00 /usr/bin/mount.cifs //<IP>/<SHARE> /mnt/cifs -o rw,users,noexec,nosuid,nodev
<username> 3127 0.0 0.0 2548 1292 tty1 T 01:32 0:00 /usr/bin/mount.cifs //<IP>/<SHARE> /mnt/cifs -o rw,users,noexec,nosuid,nodev
root 3137 0.0 0.0 0 0 ? I 01:34 0:00 [kworker/2:2]
...
/etc/fstab
Code: Select all
...
//<IP>/<SHARE> /mnt/smb cifs noauto,users 0 0
...
~/.cache/lxsession/LXDE/run.log
Code: Select all
** Message: 02:01:51.191: environement.vala:58: Exporting primary_variable
** Message: 02:01:51.191: environement.vala:59: desktop_environnement XDG_CURRENT_DESKTOP
** Message: 02:01:51.191: environement.vala:150: confir_dirs is null, export : /etc/xdg
** Message: 02:01:51.191: environement.vala:184: Exporting XDG_CONFIG_DIRS
** Message: 02:01:51.191: environement.vala:191: data_dirs is null, export : /usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg
** Message: 02:01:51.191: environement.vala:225: Exporting XDG_DATA_DIRS
** Message: 02:01:51.191: utils.vala:68: User config used : /home/<username>/.config/lxsession/LXDE/desktop.conf
** Message: 02:01:51.191: utils.vala:89: Final file used : /home/<username>/.config/lxsession/LXDE/desktop.conf
** Message: 02:01:51.192: settings.vala:540: Key file does not have key ?iGtk/ColorScheme? in group ?GTK?
** Message: 02:01:51.192: settings.vala:540: Key file does not have key ?windows_manager/command? in group ?Session?
** Message: 02:01:51.192: settings.vala:540: Key file does not have key ?panel/command? in group ?Session?
** Message: 02:01:51.192: settings.vala:540: Key file does not have key ?dock/command? in group ?Session?
** Message: 02:01:51.192: settings.vala:540: Key file does not have key ?file_manager/command? in group ?Session?
** Message: 02:01:51.192: settings.vala:540: Key file does not have key ?desktop_manager/command? in group ?Session?
** Message: 02:01:51.192: settings.vala:540: Key file does not have key ?launcher_manager/command? in group ?Session?
** Message: 02:01:51.192: settings.vala:540: Key file does not have key ?composite_manager/command? in group ?Session?
** Message: 02:01:51.192: settings.vala:540: Key file does not have key ?im1/command? in group ?Session?
** Message: 02:01:51.192: settings.vala:540: Key file does not have key ?im2/command? in group ?Session?
** Message: 02:01:51.192: settings.vala:540: Key file does not have key ?widget1/command? in group ?Session?
** Message: 02:01:51.192: settings.vala:540: Key file does not have key ?notification/command? in group ?Session?
** Message: 02:01:51.192: settings.vala:540: Key file does not have key ?keybindings/command? in group ?Session?
** Message: 02:01:51.192: settings.vala:540: Key file does not have key ?im_manager/command? in group ?Session?
** Message: 02:01:51.192: settings.vala:540: Key file does not have key ?screensaver/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?power_manager/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?audio_manager/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?workspace_manager/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?screenshot_manager/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?message_manager/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?upgrade_manager/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?updates_manager/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?updates_manager/timeout? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?crash_manager/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?crash_manager/dev_mode? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?crash_manager/timeout? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?upstart_user_session? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?proxy_manager/http? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?a11y/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?xrandr/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?network_gui/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?webbrowser/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?email/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?pdf_reader/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?video_player/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?audio_player/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?image_display/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?text_editor/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?archive/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?charmap/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?calculator/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?spreadsheet/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?bittorent/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?document/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?webcam/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?burn/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?notes/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?disk_utility/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?tasks/command? in group ?Session?
** Message: 02:01:51.193: settings.vala:540: Key file does not have group ?Keymap?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?laptop_mode? in group ?State?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?gnome? in group ?Dbus?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?type? in group ?Environment?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?ubuntu_menuproxy? in group ?Environment?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?toolkit_integration? in group ?Environment?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?gtk/overlay_scrollbar_disable? in group ?Environment?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?qt/force_theme? in group ?Environment?
** Message: 02:01:51.193: settings.vala:540: Key file does not have key ?qt/platform? in group ?Environment?
** Message: 02:01:51.193: settings.vala:462: Monitoring: /home/<username>/.config/lxsession/LXDE/desktop.conf
** Message: 02:01:51.193: settings.vala:466: Desktop file is already in config home, do nothing
** Message: 02:01:51.193: settings.vala:373: Settings default for Session, windows_manager, command : openbox
** Message: 02:01:51.193: settings.vala:373: Settings default for Session, windows_manager, session : LXDE
** Message: 02:01:51.193: settings.vala:373: Settings default for Session, launcher_manager, command : lxpanelctl
** Message: 02:01:51.193: environement.vala:79: Exporting variable
** Message: 02:01:51.193: environement.vala:80: desktop_environnement XDG_CURRENT_DESKTOP
** Message: 02:01:51.193: environement.vala:177: custom_config :
** Message: 02:01:51.193: environement.vala:178: config_dirs :/etc/xdg
** Message: 02:01:51.193: environement.vala:179: confir_dirs not null, export : /etc/xdg
** Message: 02:01:51.193: environement.vala:184: Exporting XDG_CONFIG_DIRS
** Message: 02:01:51.193: environement.vala:218: custom_data :
** Message: 02:01:51.193: environement.vala:219: data_dirs :/usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg
** Message: 02:01:51.193: environement.vala:220: data_dirs not null, export : /usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg
** Message: 02:01:51.193: environement.vala:225: Exporting XDG_DATA_DIRS
** Message: 02:01:51.193: utils.vala:68: User config used : /home/<username>/.config/lxsession/LXDE/desktop.conf
** Message: 02:01:51.193: utils.vala:89: Final file used : /home/<username>/.config/lxsession/LXDE/desktop.conf
** Message: 02:01:51.193: environement.vala:254: No entry in [Environment_variable]. Key file does not have group ?Environment_variable?
** Message: 02:01:51.194: utils.vala:79: Config system location : /etc/xdg/lxsession/LXDE
** Message: 02:01:51.195: utils.vala:85: System system path location : /etc/xdg/lxsession/LXDE/conffiles.conf
** Message: 02:01:51.195: utils.vala:89: Final file used : /etc/xdg/lxsession/LXDE/conffiles.conf
** Message: 02:01:51.195: options.vala:164: Activate xsettings_manager build-in
** Message: 02:01:51.195: utils.vala:68: User config used : /home/<username>/.config/lxsession/LXDE/desktop.conf
** Message: 02:01:51.195: utils.vala:89: Final file used : /home/<username>/.config/lxsession/LXDE/desktop.conf
xprop: no such property "_NET_NUMBER_OF_DESKTOPS"
xprop: no such property "_NET_DESKTOP_NAMES"
** Message: 02:01:51.203: app.vala:721: polkit separate
** Message: 02:01:51.203: app.vala:721: polkit separate
** Message: 02:01:51.205: app.vala:76: Launching lxpolkit
** Message: 02:01:51.205: utils.vala:68: User config used : /home/<username>/.config/lxsession/LXDE/autostart
** Message: 02:01:51.206: utils.vala:89: Final file used : /home/<username>/.config/lxsession/LXDE/autostart
** Message: 02:01:51.206: autostart.vala:42: Autostart path : /home/<username>/.config/lxsession/LXDE/autostart
** Message: 02:01:51.209: app.vala:76: Launching lxpanel
** Message: 02:01:51.212: app.vala:76: Launching pcmanfm
** Message: 02:01:51.215: app.vala:76: Launching xscreensaver
** Message: 02:01:51.217: options.vala:110: Create Option Clipboard
** Message: 02:01:51.217: options.vala:44: Options - Launch command lxclipboard
** Message: 02:01:51.223: main.vala:443: Check keymap_mode (null)
** Message: 02:01:51.229: app.vala:76: Launching /usr/bin/ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeNvssa/agent.784; export SSH_AUTH_SOCK;
SSH_AGENT_PID=793; export SSH_AGENT_PID;
echo Agent pid 793;
** Message: 02:01:51.258: app.vala:130: /usr/bin/ssh-agent exit with this type of exit: 0
** (pcmanfm:778): WARNING **: 02:01:51.324: The directory '~/Templates' doesn't exist, ignoring it
** (lxpanel:776): WARNING **: 02:01:51.326: The directory '~/Templates' doesn't exist, ignoring it
xscreensaver-systemd: 02:01:51: inhibit sleep failed: Maximum number of inhibitors (0) reached, refusing further inhibitors.
xscreensaver: 02:01:51: pid 801: xscreensaver-systemd exited unexpectedly with status 1
(lxpanel:776): GLib-GIO-CRITICAL **: 02:01:51.446: GFileInfo created without standard::edit-name
(lxpanel:776): GLib-GIO-CRITICAL **: 02:01:51.446: file ../glib/gio/gfileinfo.c: line 1743 (g_file_info_get_edit_name): should not be reached
(lxpanel:776): GLib-GIO-CRITICAL **: 02:01:51.446: GFileInfo created without standard::size
(Repeated several hundred times)
Openbox-Message: Unable to find a valid menu file "/usr/share/lxde/openbox/menu.xml"
invoking IsSupported() failed for remote volume monitor with dbus name org.gtk.vfs.UDisks2VolumeMonitor:: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer: startup job failed. (g-dbus-error-quark, 3)
(pcmanfm:778): GLib-GIO-CRITICAL **: 02:01:52.459: GFileInfo created without standard::edit-name
(pcmanfm:778): GLib-GIO-CRITICAL **: 02:01:52.459: file ../glib/gio/gfileinfo.c: line 1743 (g_file_info_get_edit_name): should not be reached
(pcmanfm:778): GLib-GIO-CRITICAL **: 02:01:52.459: GFileInfo created without standard::size
(Repeated some more)
Obt-Message: Failed to open an Input Method
Note that none of this is out of the ordinary. I have all these messages also for other users and I believe I had them before the update.