Frank you're great in script analyzing,

so it's not an issue with LTSP, but it is bug in xubuntu.desktop, they 
should have added DesktopNames=XFCE in it as the freedesktop 
specification mentions.

File a bug report in xubuntu and show them these similar bugs for 
lightdm/mate:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809803
https://bugs.launchpad.net/lightdm/+bug/1383321

Cheers,
Alkis Georgopoulos
LTSP developer
Professional LTSP support: alk...@gmail.com


On 30/05/2016 05:54 μμ, Frank Heuser wrote:
>
> Thanks for the hint. I had a look on
> /opt/ltsp/i386/usr/share/ldm/rc.d/X50-generate-env
>
> line 17:
> The command "basename readlink -qs /etc/alternatives/x-session-manager"
> results to "startxfce4"
>
> line 19:
> There are two files in /usr/share/xsessions and both are matching
> admini@LTS2:/usr/share/xsessions$ grep -R "Exec=startxfce4" *
> xfce.desktop:Exec=startxfce4
> xubuntu.desktop:Exec=startxfce4
>
> admini@LTS2:/usr/share/xsessions$ grep -lR "Exec=startxfce4" *
> xfce.desktop
> xubuntu.desktop
>
> The sed command takes only the first match:
> admini@LTS2:/usr/share/xsessions$ grep -lR "Exec=startxfce4" * | sed -n
> '/\(.*\)\.desktop/{s//\1/p;q}'
> xfce
>
> But it seems to be, that "sometimes" (why ever) the file
> xubuntu(.desktop) is found. Because, if I change the line
> Name=Xubuntu Session
> in xubuntu.desktop
> to
> Name=XFCE
>
> env gives "XDG_CURRENT_DESKTOP=XFCE"
>
> and the missing entries aren't missing any more.
>
> (Just to remember: which line inside the *.desktop-file is found, is
> defined by line 28 and 30)
>
> Greetings
> Frank
>

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to