Dashamir Hoxha - 2018-10-01

Hi,

I am using xrdp with Guacamole on a LinuxMint19 Xfce system:
https://gitlab.com/Virtual-LTSP/VirtualBox
Guacamole allows access through VNC as well as RDP clients,
and on the server I install xrdp and xorgxrdp:
https://gitlab.com/Virtual-LTSP/VirtualBox/blob/bionic/ltsp-server/scripts/guacamole.sh#L217

I notice this strange problem:
When I login first from VNC (through LightDM greeter) and then I login
through RDP, the XFCE desktop is configured properly (having the look and
style of LinuxMint)
However if I reboot and login first through RDP (not through LightDM
greeter),
the XFCE desktop gets its traditional look and style (which I think is old
and ugly)
and not the polished one from LinuxMint.

I wonder why this happens. I have tried to track the problem
but could not find any thing. Most probably the problem is that
the script '/etc/xrdp/startwm.sh' should do what LightDM does
when a user logs in, instead of calling '/etc/X11/Xsession',
but I have no idea about how to fix it.
Does anybody have any idea?

Thanks,
Dashamir