On Mon, 10 Sep 2012 15:24:18 -0400 Michael Hughes <[email protected]> said:

> Raster
> 
> Re: fun and games with GDM "TryExec"
> 
> I set up a script as you suggested and referenced it in "TryExec" with 
> an explicit path.  Enlightenment disappears from the menu and the script 
> does NOT appear to execute.
> 
> I noticed that "gnome.desktop" references "gnome-session" without a path 
> so I set up "TryExec=enlightenment-start" since "/usr/local/bin" is in 
> PATH.  Enlightenment appears on the menu but does not run.  The cursor 
> changes to an "X" and nothing else happens.  Requires Ctrl-Alt-Backspace 
> to get back to the log-in and this may cause a lock-up requiring a 
> hardware reset.
> 
> I moved my script to "/usr/local/bin" and referenced it in TryExec 
> without an explicit path. Enlightenment appears in the menu but does not 
> run as above.  The script does not appear to execute.
> 
> The script works when executed from a user terminal.
> 
> This particular build is obviously FUBAR but I wonder if some 
> experimental code sneaked into it.  The gnomes might be planning to make 
> a more comprehensive test for this in the future and it might be worth 
> keeping an eye out for a change.  Meantime, it might be a good idea to 
> remove "TryExec" from the file.  XFCE does not use it.

it sounds like gdm's tryexec handling doesn't handle full paths. it only
handles executables in $PATH which totally doesnt follow spec. there is very
little we can do about this. it's a bug in fedors. tryexec is a good thing to
have as it acts as a sanity check in case a .desktop file is still hanging
around even though the binaries have been removed. (can happen often in src
installs. someone copies enlightenment.desktop to /usr/share/xsessions even
though they installed e from src in /opt/e17 - they later rm -rf /opt/e17 but
the options is still there to log in with e and the user is baffled why it
doesnt work. so we fix your issue and create other issues. it's a bug that
needs fixing in fedora/gdm - until then remove the tryexec yourself for your
distro).

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to