Hi, I've been running lubuntu 16.04 with lxde for quite some time on a bunch of desktops and been very happy with it. Yesterday we finally moved the desktops to centralized homes/accounts and users began noticing a weird behavior: logins would take up to 10 seconds during which the screen would be completely black.
Eventually I put a strace on lxsession and confirmed that regardless of the account being local or remote, lxsession makes some crazy number of copy/renames of desktop.conf. I tried to look at the code, but couldn't figure out where that was happening or why. On a local home that's not really noticeable, but on NFS that amounts to almost 10 secs. Here's a strace output sample tracking file syscalls: 07:05:20.000893 access("/home/administrator/.config/lxsession/Lubuntu/desktop.conf", F_OK) = 0 07:05:20.000993 open("/home/administrator/.config/lxsession/Lubuntu/desktop.conf", O_RDONLY) = 8 07:05:20.001355 open("/home/administrator/.config/lxsession/Lubuntu/desktop.conf.NSJ1NY", O_RDWR|O_CREAT|O_EXCL, 0666) = 8 07:05:20.001494 lstat("/home/administrator/.config/lxsession/Lubuntu/desktop.conf", {st_mode=S_IFREG|0664, st_size=2302, ...}) = 0 07:05:20.002867 rename("/home/administrator/.config/lxsession/Lubuntu/desktop.conf.NSJ1NY", "/home/administrator/.config/lxsession/Lubuntu/desktop.conf") = 0 07:05:20.003075 open("/home/administrator/.config/lxsession/Lubuntu/desktop.conf.JVK1NY", O_RDWR|O_CREAT|O_EXCL, 0666) = 8 07:05:20.003191 lstat("/home/administrator/.config/lxsession/Lubuntu/desktop.conf", {st_mode=S_IFREG|0664, st_size=2302, ...}) = 0 07:05:20.003997 rename("/home/administrator/.config/lxsession/Lubuntu/desktop.conf.JVK1NY", "/home/administrator/.config/lxsession/Lubuntu/desktop.conf") = 0 grep desktop.conf lxsession.trace.6624 | wc -l 260 Yes, 260. That's how crazy it is. The pattern is always the same, there's an lstat for .config/lxsession/Lubuntu/desktop.conf followed by a rename to finish with an open. I can't imagine this being the desired behavior and would appreciate some help resolving it. I've tried to remove and prepopulate the file myself and it makes no difference, it goes through that dance regardless. any thoughts? thank you in advance, Spike
------------------------------------------------------------------------------
_______________________________________________ Lxde-list mailing list Lxde-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxde-list