I'm having trouble getting some GUI applications to display properly when I mount a nfs share on my Synology NAS as my home directory.
Can someone please provide a solution?
The Ubuntu version is 18.04LTS Desktop, and the NAS OS is DSM6.
I have remote access to the Ubuntu machine, and I access the desktop via xrdp.
We are using LXDE for the desktop environment. The following is written to the .xsession file
lxsession -s LXDE -e LXDE
When I connect to Ubuntu with a remote desktop connection, the desktop is displayed and the desktop icon for the Recycle Bin is shown. However, the taskbar (lxpanel) is all gray and no buttons are displayed.
When I open the Recycle Bin, pcmanfm starts up, and I can open settings and applications from there.
Most of the system settings open normally, and lxterm also works. However, some applications, such as gedit, get stuck with a blank window, or worse, nothing is displayed.
As far as I tried, gedit, firefox, and VSCode did not display properly. pcmanfm, gimp, chromium-browser, lxterm, eog, and various settings displayed properly.
I have tried various things and found out the following.
- The above problem does not occur when the NFS share published by the CentOS6 machine or the local disk of Ubuntu is set as the home directory.
- I use default values for NFS mount options, but the problem still occurs when I set intr or timeo.
- It does not matter if NFS async write is enabled/disabled on the NAS side.
- When I ssh-connected to Ubuntu from an external machine (I added -X -Y option) and started gedit, gedit did not show up properly as above.
- "lxpanel --profile LXDE" does not show the taskbar properly, but "lxpanel --profile default" does and I can open the menu. However, gedit does not work properly as described above.