Re: Script vs command line behaviour

2016-10-12 Thread Nicolas George
Le duodi 22 vendémiaire, an CCXXV, Mark Fletcher a écrit : > You bring up a good point, actually. I'm calling systemctl stop and > systemctl start to stop and start mysql -- and I'm doing that in a > script that is itself being called by a systemd unit (the one triggered

Re: Script vs command line behaviour

2016-10-12 Thread Mark Fletcher
gt; > # The systemctl stop for svnserve may not work as I haven't got > > > > around to # making a stop script for it. > > > > # So kill the process the old fashioned way > > > > ps -ef | grep svnserve | grep -v grep | awk '{print $2}' | x

Re: Script vs command line behaviour

2016-10-12 Thread Darac Marjal
ail is just started from this script (or supposed to > be!) and launched by hand from the command line when that fails. > > So at least systemd isn't complicating the issue. Maybe it is. Unlike SysV init and the other legacy tools, systemd keeps tracks of the processes it starts

Re: Script vs command line behaviour

2016-10-12 Thread Mark Fletcher
On Wed, Oct 12, 2016 at 04:29:01PM +0200, Nicolas George wrote: > Le primidi 21 vendémiaire, an CCXXV, Mark Fletcher a écrit : > > Fetchmail isn't set up as a service through systemd, although mysql and > > svnserve are. fetchmail is just started from this script (or suppo

Re: Script vs command line behaviour

2016-10-12 Thread Gene Heskett
; > around to # making a stop script for it. > > > # So kill the process the old fashioned way > > > ps -ef | grep svnserve | grep -v grep | awk '{print $2}' | xargs > > > kill -9 > > > > Please consider replacing this with some variant of: > &

Re: Script vs command line behaviour

2016-10-12 Thread Nicolas George
Le primidi 21 vendémiaire, an CCXXV, Mark Fletcher a écrit : > Fetchmail isn't set up as a service through systemd, although mysql and > svnserve are. fetchmail is just started from this script (or supposed to > be!) and launched by hand from the command line when that fails. &g

Re: Script vs command line behaviour

2016-10-12 Thread Mark Fletcher
here informative messages? How long did >they run before terminating, if they did terminate? > Fetchmail isn't set up as a service through systemd, although mysql and svnserve are. fetchmail is just started from this script (or supposed to be!) and launched by hand from the c

Re: Script vs command line behaviour

2016-10-12 Thread Mark Fletcher
On Wed, Oct 12, 2016 at 08:40:12AM -0400, Greg Wooledge wrote: > On Wed, Oct 12, 2016 at 09:34:22PM +0900, Mark Fletcher wrote: > > # The systemctl stop for svnserve may not work as I haven't got around to > > # making a stop script for it. > > # So kill the process th

Re: Script vs command line behaviour

2016-10-12 Thread Greg Wooledge
onfiguration to send those somewhere else. Or maybe it has its own default logging location outside of the syslog() infrastructure. 3) If the current logs are not detailed enough, look for fetchmail-specific options to increase logging verbosity. 4) Log what your backup script does. S

Re: Script vs command line behaviour

2016-10-12 Thread Frédéric Marchal
On Wednesday 12 October 2016 08:40:12 Greg Wooledge wrote: > And stop using -9 (SIGKILL). Forever. Pretend it never existed. That's a bit harsh. The tool exists for a good reason :-) "Unix was not designed to stop you from doing stupid things, because that would also stop you from doing clever

Re: Script vs command line behaviour

2016-10-12 Thread Greg Wooledge
On Wed, Oct 12, 2016 at 09:34:22PM +0900, Mark Fletcher wrote: > # The systemctl stop for svnserve may not work as I haven't got around to > # making a stop script for it. > # So kill the process the old fashioned way > ps -ef | grep svnserve | grep -v grep | awk '{prin

Script vs command line behaviour

2016-10-12 Thread Mark Fletcher
Greetings I am observing a strange behaviour and I am wondering what stupid thing I have done that is causing it. A shell command that is supposed to start fetchmail running every 15 minutes works fine run from the command line, but has no effect when run from inside a script. I am running

Re: My bash script is missing something - what?

2016-10-10 Thread Tony Baldwin
Forwarded Message Subject: Re: My bash script is missing something - what? To: Richard Owlett References: <57fb8f79.9010...@cloud85.net> From: Anthony Baldwin Message-ID: <3e26c189-eab5-d400-c3c7-5cc1d7321...@gmx.com> Date: Mon, 10 Oct 2016 13:06:59 -040

Re: My bash script is missing something - what?

2016-10-10 Thread gricketson
On 2016-10-10 10:57, Greg Wooledge wrote: > On Mon, Oct 10, 2016 at 11:51:37AM -0400, songbird wrote: >> Richard Owlett wrote: >> > I have a trivial bash script named test.sh which has been marked >> > as executable. > >> also remember that test itself is a

Re: PROGRESS - was [Re: My bash script is missing something - what?]

2016-10-10 Thread Greg Wooledge
On Mon, Oct 10, 2016 at 05:19:34PM +0100, Peter Hillier-Brook wrote: > Ignoring your youth, you need to precede your script with a valid path > such as './' :-) He did.

Re: PROGRESS - was [Re: My bash script is missing something - what?]

2016-10-10 Thread Peter Hillier-Brook
programming course preceded Mr. Torvalds' birth, old tools > and I share some underlying assumptions. Besides one of my projects > requires dash ;/ Ignoring your youth, you need to precede your script with a valid path such as './' :-)

Re: My bash script is missing something - what?

2016-10-10 Thread Greg Wooledge
On Mon, Oct 10, 2016 at 11:51:37AM -0400, songbird wrote: > Richard Owlett wrote: > > I have a trivial bash script named test.sh which has been marked > > as executable. > also remember that test itself is a builtin > or binary on some systems. It's required by POSI

Re: My bash script is missing something - what?

2016-10-10 Thread songbird
Richard Owlett wrote: > I have a trivial bash script named test.sh which has been marked > as executable. > Its contents are: > > #!/bin/bash > cat /etc/debian_version > mount | grep 'on / ' > > In a terminal I type: > > test.sh > > The respon

Re: PROGRESS - was [Re: My bash script is missing something - what?]

2016-10-10 Thread Richard Owlett
On 10/10/2016 10:04 AM, Nicolas George wrote: Le nonidi 19 vendémiaire, an CCXXV, Richard Owlett a écrit : 1. What Debian oriented Bash Tutorial should I be reading? My first tutorial advice: do not do bash. I advise to do either or both of: learn standard sh for portable scripts and for more

Re: PROGRESS - was [Re: My bash script is missing something - what?]

2016-10-10 Thread Richard Owlett
On 10/10/2016 10:01 AM, Greg Wooledge wrote: On Mon, Oct 10, 2016 at 09:58:44AM -0500, Richard Owlett wrote: 1. What Debian oriented Bash Tutorial should I be reading? http://mywiki.wooledge.org/BashGuide is decent. Now bookmarked. Neglected to do so last time I was looking. However, I mi

Re: PROGRESS - was [Re: My bash script is missing something - what?]

2016-10-10 Thread Nicolas George
Le nonidi 19 vendémiaire, an CCXXV, Richard Owlett a écrit : > 1. What Debian oriented Bash Tutorial should I be reading? My first tutorial advice: do not do bash. I advise to do either or both of: learn standard sh for portable scripts and for more advanced scripting learn a modern shell less enc

Re: PROGRESS - was [Re: My bash script is missing something - what?]

2016-10-10 Thread Greg Wooledge
On Mon, Oct 10, 2016 at 09:58:44AM -0500, Richard Owlett wrote: > 1. What Debian oriented Bash Tutorial should I be reading? http://mywiki.wooledge.org/BashGuide is decent. However, I might be slightly biased.

PROGRESS - was [Re: My bash script is missing something - what?]

2016-10-10 Thread Richard Owlett
this script with a Microsoft Windows program, perhaps? The shebang line (#!/bin/bash) probably ends with a carriage return + line feed, instead of just a line feed. You were on the right track. My editor was gedit under Squeeze. *HOWEVER*, as my original was saved to a flash drive that I also

Re: My bash script is missing something - what?

2016-10-10 Thread Greg Wooledge
On Mon, Oct 10, 2016 at 04:10:22PM +0200, Nicolas George wrote: > Le nonidi 19 vendémiaire, an CCXXV, Greg Wooledge a écrit : > > > That just fails differently by responding: > > > > > > : No such file or directory > > > > Carriage return. Did you

Re: My bash script is missing something - what?

2016-10-10 Thread Nicolas George
Le nonidi 19 vendémiaire, an CCXXV, Greg Wooledge a écrit : > > That just fails differently by responding: > > > > : No such file or directory > > Carriage return. Did you edit this script with a Microsoft Windows > program, perhaps? The shebang line (#!/bin/b

Re: My bash script is missing something - what?

2016-10-10 Thread Thomas Schmitt
P/Bash-Beginners-Guide/html/sect_02_01.html It states "If you did not put the scripts directory in your PATH, and . (the current directory) is not in the PATH either, you can activate the script like this: ./script_name.sh " So on the first hand it was about the environm

Re: My bash script is missing something - what?

2016-10-10 Thread Greg Wooledge
On Mon, Oct 10, 2016 at 08:10:33AM -0500, Richard Owlett wrote: > On 10/10/2016 8:00 AM, Robert Parker wrote: > >you need to do: > >./test.sh > >instead. > > > > That just fails differently by responding: > > : No such file or directory Carriage r

Re: My bash script is missing something - what?

2016-10-10 Thread Robert Parker
1. You have to be in the directory where the script resides. 2. Then: chmod +x test.sh 3. Then: ./test.sh On Mon, Oct 10, 2016 at 8:10 PM, Richard Owlett wrote: > On 10/10/2016 8:00 AM, Robert Parker wrote: > >> you need to do: >> ./test.sh >> instead. >> >&

Re: My bash script is missing something - what?

2016-10-10 Thread Lars Noodén
On 10/10/2016 04:10 PM, Richard Owlett wrote: > On 10/10/2016 8:00 AM, Robert Parker wrote: >> you need to do: >> ./test.sh >> instead. >> > > That just fails differently by responding: > > : No such file or directory Where ever the script is, it does h

Re: My bash script is missing something - what?

2016-10-10 Thread Richard Owlett
/Bash-Beginners-Guide/html/sect_02_01.html as my reference. On Mon, Oct 10, 2016 at 7:54 PM, Richard Owlett mailto:rowl...@cloud85.net>> wrote: I have a trivial bash script named test.sh which has been marked as executable. Its contents are: #!/bin/bash cat /etc/deb

Re: My bash script is missing something - what?

2016-10-10 Thread Robert Parker
you need to do: ./test.sh instead. On Mon, Oct 10, 2016 at 7:54 PM, Richard Owlett wrote: > I have a trivial bash script named test.sh which has been marked as > executable. > Its contents are: > > #!/bin/bash > cat /etc/debian_version > mount | grep 'on /

My bash script is missing something - what?

2016-10-10 Thread Richard Owlett
I have a trivial bash script named test.sh which has been marked as executable. Its contents are: #!/bin/bash cat /etc/debian_version mount | grep 'on / ' In a terminal I type: test.sh The response is: bash: test.sh: command not found I'm using Squeeze with Gnome2 as DE. What's wrong? TIA

Installing mariadb fails in post-install script

2016-10-08 Thread Markus Grunwald
server: mysqld. dpkg: error processing package mariadb-server-10.0 (--configure): subprocess installed post-installation script returned error exit status 7 dpkg: dependency problems prevent configuration of mariadb-server: mariadb-server depends on mariadb-server-10.0 (>= 10.0.27-0+deb8u1); howe

Re: Typing Cyrillic script with a UK keyboard in an en-gb setting

2016-10-03 Thread davidson
On Sun, 25 Sep 2016, Brian wrote: On Sat 24 Sep 2016 at 15:07:10 +, david...@freevolt.org wrote: On Sat, 24 Sep 2016, Lisi Reisz wrote: My husband has just asked to do this. His system is vanilla from this point of view. (Mine is in a mess, with a messed-up scim and no foreign fonts "w

Re: Network manager script

2016-09-27 Thread Stephen Allen
On Tue, Sep 27, 2016 at 10:11:38PM +, vincenzo daniele wrote: > I have a problem in my pc with debian. I can't off debian Why freeze with > network manager script dispatcher service Did this just happen after an update recently? I noticed via 'apt-listbugs' that

Network manager script

2016-09-27 Thread vincenzo daniele
I have a problem in my pc with debian. I can't off debian Why freeze with network manager script dispatcher service Inviato da iPhone

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-27 Thread Brian
On Tue 27 Sep 2016 at 12:05:37 -0400, Greg Wooledge wrote: > On Tue, Sep 27, 2016 at 04:52:34PM +0100, Brian wrote: > > You need a ~/.xsession file when you need a ~/.xsession file. Isn't it > > one purpose of the wiki to explain how it fits into the traditional X > > configuration and why one mig

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-27 Thread Greg Wooledge
On Tue, Sep 27, 2016 at 04:52:34PM +0100, Brian wrote: > You need a ~/.xsession file when you need a ~/.xsession file. Isn't it > one purpose of the wiki to explain how it fits into the traditional X > configuration and why one might be useful. Instead, we appear to have > ~/.xsessionrc promoted as

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-27 Thread Brian
On Tue 27 Sep 2016 at 10:29:44 -0400, Greg Wooledge wrote: > On Tue, Sep 27, 2016 at 03:15:54PM +0100, Brian wrote: > > Ok, let's go along with ~/.xsessionrc being the simplest way for a user > > to configure his X session. I'll follow the advice on the wiki and have > > > > PATH=~/bin:$PATH >

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-27 Thread Greg Wooledge
On Tue, Sep 27, 2016 at 03:15:54PM +0100, Brian wrote: > Ok, let's go along with ~/.xsessionrc being the simplest way for a user > to configure his X session. I'll follow the advice on the wiki and have > > PATH=~/bin:$PATH > xterm & > iceweasel & > exec fvwm No, this is not what I advise

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-27 Thread Brian
On Mon 26 Sep 2016 at 17:44:17 -0400, Greg Wooledge wrote: > On Mon, Sep 26, 2016 at 10:19:27PM +0100, Brian wrote: > > But now we have > > > > > User configuration may be done in a few different ways. The simplest > > > way is to create a ~/.xsessionrc file,. > > > > The pedantic side of

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-27 Thread Greg Wooledge
On Mon, Sep 26, 2016 at 05:58:59PM -0400, Neal P. Murphy wrote: > A semantic observation (probably unrelated to the aforementioned editing): > "... dot in ..." might be more clearly stated as "... source ( or '.') in > ..." because the action is to source

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-27 Thread Greg Wooledge
On Mon, Sep 26, 2016 at 10:46:07PM -0700, Seeker wrote: > It's possible that something changed with gdm3 after I stopped using it, > or that it's been long enough I just don't remember, but I don't > remember any of these in recent years using the .xsession file if you > use a session other than

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-26 Thread Seeker
On 9/26/2016 2:44 PM, Greg Wooledge wrote: On Mon, Sep 26, 2016 at 10:19:27PM +0100, Brian wrote: But now we have > User configuration may be done in a few different ways. The simplest > way is to create a ~/.xsessionrc file,. The pedantic side of me asks - why is it the simplest way? An

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-26 Thread Neal P. Murphy
.." might be more clearly stated as "... source ( or '.') in ..." because the action is to source the script into the current shell (thus retaining the defined vars), as opposed to executing the script in another shell or in a subshell (thus the var definitions are lost when the shell or subshell exits).

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-26 Thread Greg Wooledge
sing excerpt from a ~/.xsession file, a remnant of those experimental days. Make of this what you will. ===== # If we're running under gdm, then we do *not* want gnome-session to be # spawned when this script exits. I lear

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-26 Thread Brian
On Sun 25 Sep 2016 at 18:55:03 +0100, Brian wrote: > The existence of ~/.xessionrc appears to cause more problems than it > purportedly solves. And it still won't lie down and die. It is determined to take over the traditional role of ~/.xsession and prove its worth. However, kudos for the editin

Re: Typing Cyrillic script with a UK keyboard in an en-gb setting

2016-09-26 Thread deloptes
Lisi Reisz wrote: > My husband has just asked to do this. His system is vanilla from this > point > of view. (Mine is in a mess, with a messed-up scim and no foreign > fonts "working", but that is another story.) > > Advice please on the best way to achieve this for him. I.e., what do > those

Re: Typing Cyrillic script with a UK keyboard in an en-gb setting

2016-09-25 Thread ken
On 09/24/2016 10:10 AM, Lisi Reisz wrote: My husband has just asked to do this. His system is vanilla from this point of view. (Mine is in a mess, with a messed-up scim and no foreign fonts "working", but that is another story.) Advice please on the best way to achieve this for him. I.e., wha

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-25 Thread Brian
On Sat 24 Sep 2016 at 20:38:50 +0100, Brian wrote: > On Fri 23 Sep 2016 at 17:36:11 +0100, Brian wrote: > > I don't think I shall be pointing a user to this wiki page in its > present state. ~/.xessionrc as the primary file for configuring startup of X is not only not necessary but has a disadva

Re: Typing Cyrillic script with a UK keyboard in an en-gb setting

2016-09-25 Thread Brian
On Sat 24 Sep 2016 at 15:07:10 +, david...@freevolt.org wrote: > On Sat, 24 Sep 2016, Lisi Reisz wrote: > > >My husband has just asked to do this. His system is vanilla from this point > >of view. (Mine is in a mess, with a messed-up scim and no foreign > >fonts "working", but that is anoth

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-24 Thread Brian
On Fri 23 Sep 2016 at 17:36:11 +0100, Brian wrote: > ~/.xsessionrc was introduced in 2007 in response to a perceived problem. > If the choice of DE (or WM) and terminal is left in the care of the > system's x-session-manager, x-window-manager and x-terminal-emulator > nothing need be put in ~/.xse

Re: Typing Cyrillic script with a UK keyboard in an en-gb setting

2016-09-24 Thread Christian Seiler
On 09/24/2016 05:07 PM, david...@freevolt.org wrote: > On Sat, 24 Sep 2016, Lisi Reisz wrote: > >> My husband has just asked to do this. His system is vanilla from this point >> of view. (Mine is in a mess, with a messed-up scim and no foreign >> fonts "working", but that is another story.) >> >

Re: Typing Cyrillic script with a UK keyboard in an en-gb setting

2016-09-24 Thread Christian Seiler
On 09/24/2016 04:10 PM, Lisi Reisz wrote: > My husband has just asked to do this. His system is vanilla from this point > of view. (Mine is in a mess, with a messed-up scim and no foreign > fonts "working", but that is another story.) > > Advice please on the best way to achieve this for him

Re: Typing Cyrillic script with a UK keyboard in an en-gb setting

2016-09-24 Thread davidson
On Sat, 24 Sep 2016, Lisi Reisz wrote: My husband has just asked to do this. His system is vanilla from this point of view. (Mine is in a mess, with a messed-up scim and no foreign fonts "working", but that is another story.) Advice please on the best way to achieve this for him. I.e., what

Typing Cyrillic script with a UK keyboard in an en-gb setting

2016-09-24 Thread Lisi Reisz
My husband has just asked to do this. His system is vanilla from this point of view. (Mine is in a mess, with a messed-up scim and no foreign fonts "working", but that is another story.) Advice please on the best way to achieve this for him. I.e., what do those of you doing this or similar

Re: Resolved: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-23 Thread Seeker
ou might expect xprofile/.xprofile to get sourced or not sourced. To the very best of my knowledge ~/.xprofile has never been a feature of Debian's X configuration files in /etc/X11. However, it is acted on by gdm3 in *its* Xsession script. What does dpkg -S /full/path/to/60xprofile give you

Re: Resolved: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-23 Thread Brian
y display manager, lxqt for my desktop, with > >openbox for the window manager most of the time. > > > >Will have to look at lxde and kde to see if it is a desktop thing or > >something else. > > > >Later, Seeker > > > > > > > In spite of

Re: Resolved: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-23 Thread Seeker
On 9/22/2016 6:18 PM, Seeker wrote: On 9/22/2016 10:45 AM, Brian wrote: On Thu 22 Sep 2016 at 12:10:35 -0400, Greg Wooledge wrote: On Thu, Sep 22, 2016 at 09:00:11AM -0700, Seeker wrote: A little late, but personally I would have tried using '~/.xprofile' first. I believe the information abo

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-23 Thread Brian
On Thu 22 Sep 2016 at 16:19:26 -0400, Greg Wooledge wrote: > I've edited https://wiki.debian.org/LightDM and written > https://wiki.debian.org/Xsession from scratch. I hope this helps other > people who were as lost and confused as I was. > > If you're still wondering what kind of documentation

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-23 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Sep 23, 2016 at 11:31:20AM +0200, to...@tuxteam.de wrote: [...] > > It makes a big difference for remote applications, since they will see the > > .Xresources from the server but the .Xdefaults from the client. Forgot to say that typically

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-23 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Sep 23, 2016 at 08:57:18AM +, Curt wrote: [...] > Nicolas Georges gave some interesting information once when I said that > .Xdefaults was "deprecated" concerning what is read by what where and > why (went over my head, of course). > > H

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-23 Thread Curt
On 2016-09-22, Dominic Knight wrote: > On Thu, 2016-09-22 at 16:19 -0400, Greg Wooledge wrote: >> I've edited https://wiki.debian.org/LightDM and written >> https://wiki.debian.org/Xsession from scratch.  I hope this helps >> other >> people who were as lost and confused as I was. >> >> If you're

Re: Resolved: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Seeker
On 9/22/2016 10:45 AM, Brian wrote: On Thu 22 Sep 2016 at 12:10:35 -0400, Greg Wooledge wrote: On Thu, Sep 22, 2016 at 09:00:11AM -0700, Seeker wrote: A little late, but personally I would have tried using '~/.xprofile' first. I believe the information about this from the Arch Wiki applies eq

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Dominic Knight
On Thu, 2016-09-22 at 16:19 -0400, Greg Wooledge wrote: > I've edited https://wiki.debian.org/LightDM and written > https://wiki.debian.org/Xsession from scratch.  I hope this helps > other > people who were as lost and confused as I was. > > If you're still wondering what kind of documentation I

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Greg Wooledge
I've edited https://wiki.debian.org/LightDM and written https://wiki.debian.org/Xsession from scratch. I hope this helps other people who were as lost and confused as I was. If you're still wondering what kind of documentation I was looking for, you may use https://wiki.debian.org/Xsession as the

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Brian
On Thu 22 Sep 2016 at 09:11:53 -0400, Greg Wooledge wrote: > On Wed, Sep 21, 2016 at 09:19:11PM -0500, David Wright wrote: > > But I don't understand the concept of "user configuration" for a DM. > > Wouldn't that be like a user configuring /etc/issue, the login prompt > > or /etc/motd ? > > By u

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Brian
On Thu 22 Sep 2016 at 09:11:53 -0400, Greg Wooledge wrote: > On Wed, Sep 21, 2016 at 09:19:11PM -0500, David Wright wrote: > > > I'm not a DE or DM user, so I'm know very little about them. > > Yes, THIS is the problem! You, and I, and everyone else on the guru side > are just completely stumpe

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Tixy
On Thu, 2016-09-22 at 10:56 -0400, Greg Wooledge wrote: > On Thu, Sep 22, 2016 at 03:15:40PM +0100, Tixy wrote: > > I edit ~/.xsessionrc to have a single line: > > > > . /home/tixy/.profile > > [...] how did you learn about it? Reading the debian-user list for many years :-) -- Tixy

Re: Resolved: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Brian
On Thu 22 Sep 2016 at 12:10:35 -0400, Greg Wooledge wrote: > On Thu, Sep 22, 2016 at 09:00:11AM -0700, Seeker wrote: > > A little late, but personally I would have tried using '~/.xprofile' > > first. > > > > I believe the information about this from the Arch Wiki applies equally > > to Debian. >

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Brian
/.profile > > > >Which program reads ~/.xsessionrc and how did you learn about it? > >Which man page describes it? Does its existence merely "add on" to some > >system-wide default script, or does it fully replace a system-wide script? > > Apparently, thi

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Seeker
On 9/21/2016 12:07 PM, Anthony Baldwin wrote: On 09/21/2016 11:05 AM, Greg Wooledge wrote: On Wed, Sep 21, 2016 at 10:49:13AM -0400, Tony Baldwin wrote: it seems that I am using lightdm. I know of absolutely no documentation for configuring lightdm as a user. I suspect that the software *has

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Ric Moore
On 09/22/2016 09:59 AM, Greg Wooledge wrote: On Thu, Sep 22, 2016 at 02:50:30PM +0100, Brian wrote: To read the manual apt-get download lightdm works every time. Hmm, well. $ cd /tmp $ apt-get download lightdm $ ls, man dpkg, ... $ dpkg -x lightdm_1.10.3-3_amd64.deb ldm $ gzip -dc ldm/usr

Re: Resolved: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Greg Wooledge
On Thu, Sep 22, 2016 at 09:00:11AM -0700, Seeker wrote: > A little late, but personally I would have tried using '~/.xprofile' > first. > > I believe the information about this from the Arch Wiki applies equally > to Debian. > > https://wiki.archlinux.org/index.php/xprofile wooledg@wooledg:~$ gr

Re: Resolved: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Seeker
On 9/22/2016 8:25 AM, Tony Baldwin wrote: On 09/22/2016 10:15 AM, Tixy wrote: On Thu, 2016-09-22 at 09:11 -0400, Greg Wooledge wrote: On Wed, Sep 21, 2016 at 09:19:11PM -0500, David Wright wrote: But I don't understand the concept of "user configuration" for a DM. Wouldn't that be like a user

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Brian
and how did you learn about it? Don't know about Tixy but the knowledge came to me in a dream. > Which man page describes it? Xsession(5). > Does its existence merely "add on" to some > system-wide default script, or does it fu

Resolved: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Tony Baldwin
On 09/22/2016 10:15 AM, Tixy wrote: On Thu, 2016-09-22 at 09:11 -0400, Greg Wooledge wrote: On Wed, Sep 21, 2016 at 09:19:11PM -0500, David Wright wrote: But I don't understand the concept of "user configuration" for a DM. Wouldn't that be like a user configuring /etc/issue, the login prompt

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Darac Marjal
its existence merely "add on" to some system-wide default script, or does it fully replace a system-wide script? Apparently, this is the "New Method" as detailed in the Debian Reference Manual: https://www.debian.org/doc/manuals/debian-reference/ch07.en.html#_customizing_the_

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Greg Wooledge
system-wide default script, or does it fully replace a system-wide script? > Which makes X sessions include the same profile as standard login > shells. Bash's initialization is a bit more complex than that. It will look for three different files (.bash_profile or .bash_login or .profile

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Brian
On Thu 22 Sep 2016 at 09:59:07 -0400, Greg Wooledge wrote: > On Thu, Sep 22, 2016 at 02:50:30PM +0100, Brian wrote: > > To read the manual > > > > apt-get download lightdm > > > > works every time. > > Hmm, well. Worked, didn't it? A two second operation. > $ cd /tmp > $ apt-get download li

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Tixy
On Thu, 2016-09-22 at 09:11 -0400, Greg Wooledge wrote: > On Wed, Sep 21, 2016 at 09:19:11PM -0500, David Wright wrote: > > But I don't understand the concept of "user configuration" for a DM. > > Wouldn't that be like a user configuring /etc/issue, the login > prompt > > or /etc/motd ? > > By use

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Greg Wooledge
On Thu, Sep 22, 2016 at 02:50:30PM +0100, Brian wrote: > To read the manual > > apt-get download lightdm > > works every time. Hmm, well. $ cd /tmp $ apt-get download lightdm $ ls, man dpkg, ... $ dpkg -x lightdm_1.10.3-3_amd64.deb ldm $ gzip -dc ldm/usr/share/man/man1/lightdm.1.gz | nroff -m

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Brian
On Thu 22 Sep 2016 at 09:11:53 -0400, Greg Wooledge wrote: > Don't believe me? I know none of us has lightdm installed, so here is > a man page, allegedly from Debian wheezy: > > http://www.unix.com/man-page/debian/1/lightdm/ > > It takes several tries for me even to find *that*, probably becau

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Sep 22, 2016 at 09:11:53AM -0400, Greg Wooledge wrote: [...] > Don't believe me? I know none of us has lightdm installed, so here is > a man page, allegedly from Debian wheezy: > > http://www.unix.com/man-page/debian/1/lightdm/ > > It take

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Greg Wooledge
hoping that some day, *someone else* will come along with a magic starting point from which answers can be determined. It hasn't happened yet. > I'm not a DE or DM user, so I'm know very little about them. Yes, THIS is the problem! You, and I, and everyone else on the guru s

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-21 Thread David Wright
On Wed 21 Sep 2016 at 15:07:09 (-0400), Anthony Baldwin wrote: > On 09/21/2016 11:05 AM, Greg Wooledge wrote: > >On Wed, Sep 21, 2016 at 10:49:13AM -0400, Tony Baldwin wrote: > >>it seems that I am using lightdm. > > > >I know of absolutely no documentation for configuring lightdm as a > >user. I

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-21 Thread Anthony Baldwin
On 09/21/2016 11:05 AM, Greg Wooledge wrote: On Wed, Sep 21, 2016 at 10:49:13AM -0400, Tony Baldwin wrote: it seems that I am using lightdm. I know of absolutely no documentation for configuring lightdm as a user. I suspect that the software *has* no user configuration at all, because every s

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-21 Thread Greg Wooledge
On Wed, Sep 21, 2016 at 10:49:13AM -0400, Tony Baldwin wrote: > it seems that I am using lightdm. I know of absolutely no documentation for configuring lightdm as a user. I suspect that the software *has* no user configuration at all, because every search I've ever done has come up with nothing.

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-21 Thread Tony Baldwin
his is why my subject included a call-out to openbox users (not that I don't appreciate others trying to help). But the script IS in ~/bin/ $ which bid /home/tony/bin/bid and that dir IS in my $PATH: $ echo $PATH /home/tony/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games Now

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-21 Thread Greg Wooledge
and some others I get this: > Failed to execute child process (no such file or directory) And you believe it's because of a PATH mismatch. OK. I don't have experience with whichever desktop or window manager this is. > But the script IS in ~/bin/ > $ which bid > /home/tony/

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-21 Thread Darac Marjal
, and some others I get this: Failed to execute child process (no such file or directory) But the script IS in ~/bin/ $ which bid /home/tony/bin/bid and that dir IS in my $PATH: $ echo $PATH /home/tony/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games and it IS executable: $ ls -la bin/ |

Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-21 Thread Tony Baldwin
ocess (no such file or directory) But the script IS in ~/bin/ $ which bid /home/tony/bin/bid and that dir IS in my $PATH: $ echo $PATH /home/tony/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games and it IS executable: $ ls -la bin/ | grep bid -rwxr-xr-x 1 tony tony 142 Oct 4 2012

Re: Crontab doesn't complete a script

2016-09-19 Thread Clive Menzies
Hi Thomas The absolute path was the answer. Your explanation has added to my limited knowledge :-) Thanks Clive On 19/09/16 23:04, Thomas Schmitt wrote: Hi, Clive Menzies wrote: rsync_opts="-av --exclude-from=exclude_list --delete --delete-excluded" exclude_list=/root/uhuru_b

Re: Crontab doesn't complete a script

2016-09-19 Thread Thomas Schmitt
Hi, Clive Menzies wrote: > rsync_opts="-av --exclude-from=exclude_list --delete --delete-excluded" > exclude_list=/root/uhuru_backup/exclude_list > rsync: failed to open exclude file exclude_list: No such file or directory (2) The decisive difference between dialog and cron could be t

Re: Crontab doesn't complete a script - SOLVED

2016-09-19 Thread Clive Menzies
On 19/09/16 22:10, Clive Menzies wrote: It didn't find the exclude_list I created. I modified the script to point to it but clearly the syntax is not right # Good rsync options for uhuru_backups. rsync_opts="-av --exclude-from=exclude_list --delete --delete-excluded"

Re: Crontab doesn't complete a script

2016-09-19 Thread Clive Menzies
On 19/09/16 12:31, Thomas Schmitt wrote: The classic remedy would be to set the missing variables inside the cronjob script. /root/uhuru_backup/uhuru.daily.sh Consider to put some "echo" commands into the script and direct them to a log file: log_file=/tmp/uhuru_da

Re: Crontab doesn't complete a script

2016-09-19 Thread Thomas Schmitt
Hi, > The daily backup script works fine when run manually as sudo but doesn't > complete when run as a root cronjob. The classic reason for this is difference in environment variables. I.e. the cron job could die from a non set variable. The classic remedy would be to set the missin

Crontab doesn't complete a script - was Re: Longstanding rsync script no longer excludes

2016-09-19 Thread Clive Menzies
ctory name. $rsync $rsync_opts $password Uhuru::rsync \ /root/uhuru_backup/uhuru/home/ > /var/rsync/uhuru.$NOW.log The daily backup script works fine when run manually as sudo but doesn't complete when run as a root cronjob. I know the script starts because it creates a log. When successf

Re: Longstanding rsync script no longer excludes - SOLVED

2016-09-17 Thread Clive Menzies
On 17/09/16 13:32, Mike Bird wrote $rsync $rsync_opts $password FileServer::rsync \ /home/backup/home/ > /var/rsync/FileServer.$NOW.log I don't see where the $excludes you built is actually used. On 17/09/16 13:44, Clive Menzies wrote: The script wasn't changed an

Re: Longstanding rsync script no longer excludes

2016-09-17 Thread Eduardo M KALINOWSKI
On 17-09-2016 07:42, Clive Menzies wrote: > > Hi > > One of the issues we've encountered following a recent Jessie upgrade, > (around 5th September) is an rsync script seems to have changed behaviour. > > We've been using rsync for a daily automated incremental bac

<    2   3   4   5   6   7   8   9   10   11   >