[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/X11/Xsession.d



On 2011-01-28, T o n g <mlist4suntong@yahoo.com> wrote:
>
> On Thu, 27 Jan 2011 23:35:31 -0500, Chris Jones wrote:
>
>>> Place this script in the /etc/X11/Xsession.d folder. This causes
>>> Synergy to start as root when the computer boots."
>>> 
>>> This just doesn't work for me. No synergyc in ps when X (re)starts.
>>> 
>>> Is there any way that I can troubleshoot this?
>> 
>> Maybe look in ~/.xsessions-errors.
>
> ~/.xsessions-errors is for a certain user, I am talking about starting an 
> app when X starts, even before a user logs in.
>
>> If that doesn't help, you could run your script manually from an XTerm
>> and see if you get any error messages..?
>
> Forgot to stress that the script works just fine.

The scripts in /etc/X11/Xsession.d/ are sourced by Xsession, not
executed. Try sourcing your script from another file and see if it still
works.

-- 
Liam O'Toole
Cork, Ireland



Reply to: