Anywhere I can read more about /etc/X11/Xsession.d?
I want to use it to start an app when X starts, synergyc to be exact,
following the steps from
http://tacticalcoder.com/blog/2009/05/using-synergy-software-kvm-with-osx-
and-linux/
"The ubuntu community documentation has instructions on setting up the
client to automatically start. They can be found here. In a nutshell you
make a script. . . Name this script 12synergy and make it executable.
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?
Thanks
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/ihteuo$ri1$1...@dough.gmane.org
Maybe look in ~/.xsessions-errors.
If that doesn't help, you could run your script manually from an XTerm
and see if you get any error messages..?
cj
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
>> 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.
Thanks all the same for your help,
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/ihtjlh$3jp$1...@dough.gmane.org
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
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/slrnik57l1.4ac...@dipsy.tubbynet
>> 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.
Thanks for the reply.
Yes, it still works. What else can I troubleshoot this?
Thanks
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/ihun94$p0t$1...@dough.gmane.org
>>> 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.
>
> Thanks for the reply.
> Yes, it still works. What else can I troubleshoot this?
Just realized that it's more a gdm issue than a /etc/X11/Xsession.d/
issue, because further troubleshooting reveals that none of the files
under /etc/X11/Xsession.d/ are executed when gdm starts X.
Is it so? Can somebody confirm this?
What should I do to start an app when X starts, which is started by gdm,
even before a user logs in?
thanks
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/ihuo8s$p0t$2...@dough.gmane.org
I don't use ubuntu. In debian, for years now, anything I want to have
start up in X I put in .xinitrc like this....
synergys --config ~/.synergy.conf --restart &
iceweasel &
icedove &
conky &
Note: I start x with startx, and use fluxbox WM.
HTH
WT
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
-Rob
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/2011012817...@aurora.owens.net
> Note: I start x with startx, and use fluxbox WM.
Me too.
> In debian, for years now, anything I want to have start up in X I put in
> .xinitrc like this....
>
> synergys --config ~/.synergy.conf --restart &
> . . .
what if you want the synergy to control another machine? I.e., how do you
setup the client side?
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/ihuvs8$p0t$3...@dough.gmane.org
I used it to control a PIC Programmer on a XP laptop. I had the laptop
start synergy on turn on.
I never used it linux to linux but would do it the same way. IIRC I
googled synergy and picked up examples from there.
Wayne
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
> Anywhere I can read more about /etc/X11/Xsession.d?
>
> I want to use it to start an app when X starts, synergyc to be exact,
(...)
There is a doc on how to do this, but not sure if that will help:
http://synergy2.sourceforge.net/autostart.html
Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
>> I want to use it to start an app when X starts, synergyc to be exact,
> (...)
>
> There is a doc on how to do this, but not sure if that will help:
>
> http://synergy2.sourceforge.net/autostart.html
Thanks Camaleón.
Been there, read that.
However, the offical how-to need us to hack into offical display
manager's start up files. I thought this was bad, because when the
display manager is updated, all your hacking is lost.
So I asked myself, "is there any better places, universal to all 3
display managers and doesn't need to hack into exiting official code"?
First thing I thought of is the .desktop files that freedesktop.org has
specified as the standard method of how the applications should be
started when you start a X session. . .
Read more of my adventure if you are interested, at
http://sfxpt.wordpress.com/2011/01/30/start-synergy-automatically-when-x-
starts/
cheers
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/ii4q1s$ap8$1...@dough.gmane.org