Re: Tool to crypt a password

2017-02-06 Thread Greg Wooledge
On Mon, Feb 06, 2017 at 05:28:39PM +0100, Nicolas George wrote: > Does anybody know a packaged program that provides a simple but good > interface to the libc's crypt() function? I wrote this many years ago. It's primitive, but may suit: http://wooledge.org/~greg/crypt/ > [...] a packaged

Re: Best way to set maximum number of open descriptors for a process

2017-02-08 Thread Greg Wooledge
On Wed, Feb 08, 2017 at 09:26:14AM -0300, Daniel Bareiro wrote: > The process starts as a service, so it does not require a shell: > I had thought that I could add something to the script that starts the > process, but I'm not sure if it's the best idea from the point of view > of maintainability

Re: Debian/Stretch: how to boot in text mode

2017-02-01 Thread Greg Wooledge
On Wed, Feb 01, 2017 at 09:21:16PM +0100, Ennio-Sr wrote: > After upgrading to Stretch I'm unable to find a way to boot with no GUI. > I tried setting 'GRUB-GFXPAYLOAD_LINUX="text" in /etc/default/grub, > moving to 'K01gdm3' all 'S??gdm3' instances in /etc/rc?.d, but nothing > happens. > Any help,

Re: hostname drops off between remote sessions

2017-01-23 Thread Greg Wooledge
On Sun, Jan 22, 2017 at 12:48:19PM -0500, Tony Baldwin wrote: > I rent a VPS from Contabo, in Germany (as if the location were > relevant), which is still running wheezy. > Lately, when I access it (generally via ssh) the hostname appears to be > changed to (none). Edit (or create) the file

Re: An Embarrassing Progblem

2017-01-23 Thread Greg Wooledge
On Mon, Jan 23, 2017 at 02:43:12PM -0500, S. P. Molnar wrote: > I added PS1="\u@\h >" to the end of .bashrc and sourced the file - it > worked, in that terminal. However, if I open a new terminal (I'm using > xfce4-terminal) the prompt is back to the corrupted one! Normally when you open a

Re: Installing a package downloaded from snapshot - was [Re: Mate error message under Debian 8.6.0]

2017-01-27 Thread Greg Wooledge
On Fri, Jan 27, 2017 at 02:50:40PM -0600, Richard Owlett wrote: > Abysmal failure. I have had enough of this bullshit. Richard, you are a toxic person. You give the human race a bad name. Every HONEST effort to help you has been met with insults. You suck the time and energy from those who had

Re: Using source packages to bring some programs up to latest version

2017-02-21 Thread Greg Wooledge
On Mon, Feb 20, 2017 at 10:52:37PM +, Jonathan Dowland wrote: > The best way to achieve this is to use backports, if one exists for the > packages you are interested in. > > Failing that, it's possible that the version of the package in testing or > unstable can be installed on your stable

Re: Whats the alternative to .xinitrc

2017-02-20 Thread Greg Wooledge
On Mon, Feb 20, 2017 at 01:32:37PM +0100, Vincent Lefevre wrote: > I don't see any contradiction to what I've said. Note that I haven't > mentioned .xsessionrc at all, only .xinitrc, which is a different > thing. OK, short version: forget .xinitrc ever existed. Use ~/.xsession unless that

Re: Whats the alternative to .xinitrc

2017-02-20 Thread Greg Wooledge
On Mon, Feb 20, 2017 at 04:02:50PM +0100, Vincent Lefevre wrote: > More precisely, if I understand correctly, > > 1. The DM can request some window manager (for instance, the user has >the choice between several ones, and he may also choose the default >session file, or whatever has been

Re: Whats the alternative to .xinitrc

2017-02-20 Thread Greg Wooledge
On Mon, Feb 20, 2017 at 01:13:09PM +, Rob Brewer wrote: > Thank you for your explanations, I must admit that I didn't expect it to be > so involved. I seem to remember mapping out the X startup processes a number > of years ago but I was running RedHat then, so I suppose it has changed a >

Re: Last spam: Let me know Munich Mayor's email address, please..

2017-02-17 Thread Greg Wooledge
On Fri, Feb 17, 2017 at 10:25:41AM -0500, Gene Heskett wrote: > That may be true, but I am driven to quote Benjamin Franklin here, > with "Democracy is a very bad form of government, but all the others are > so much worse." You're thinking of Winston Churchill: "Indeed, it has been said that

Re: Stretch stable and jessie testing - repositories listed

2017-02-09 Thread Greg Wooledge
On Thu, Feb 09, 2017 at 08:46:14PM +, Brian wrote: > Mind you, stable is Jessie and Jessie > is stable. It's only testing/whatever you have to be careful about. "jessie" and "stable" are synonymous for the moment, but that will not continue indefinitely into the future. When stretch

Re: An Odd File Name

2017-02-13 Thread Greg Wooledge
On Mon, Feb 13, 2017 at 11:06:24AM -0600, Martin McCormick wrote: > I downloaded a file from a site using lynx and the file > name is "InstallingGRFromSource#Using-the-build-gnuradio-script.gz" > Actually, the double quotes are here for clarity but the name is > as it appears including the #

Re: Stretch stable and jessie testing - repositories listed

2017-02-09 Thread Greg Wooledge
On Thu, Feb 09, 2017 at 12:29:00PM +, GiaThnYgeia wrote: > It may seem silly to most of you but not very clear. If in the synaptic > repository list one has used testing in Jessie What?! > by now the system has > converted fully (99.99%) to Debian 9 Stretch. Right? If you want to run

Re: HELP! Re: How to fix I/O errors?

2017-02-09 Thread Greg Wooledge
On Wed, Feb 08, 2017 at 06:06:34PM -0500, Ric Moore wrote: > Careful there, I would not copy any of the /home/username/dot-files or > dot directories over, except like .mozilla and .thunderbird, so you > don't carry over some old and crufty setting that might have been > problematic. I have

Re: Stretch stable and jessie testing - repositories listed (new pkgs under freeze)

2017-02-10 Thread Greg Wooledge
On Fri, Feb 10, 2017 at 10:43:00AM +, GiaThnYgeia wrote: > If I understand the freeze process well (I think I > don't) why would updated packages appear today on the list? The freeze means that only bug fixes go in. No new upstream versions, unless it's a very special case.

Re: Stretch stable and jessie testing - repositories listed

2017-02-09 Thread Greg Wooledge
You forgot to reply to the list. You forgot to stop top-quoting. This is a real mailing list, not your workplace where you have to do everything upside-down. On Thu, Feb 09, 2017 at 02:20:00PM +, GiaThnYgeia wrote: > So the location of the ***debian.org/ does not ever change, it remains >

Re: HELP! Re: How to fix I/O errors?

2017-02-09 Thread Greg Wooledge
On Thu, Feb 09, 2017 at 12:03:18PM -0500, Ric Moore wrote: > How so?? Don't "many other operating systems" have different > configuration files in many other locations?? I wouldn't expect BSD > config files to migrate to Linux, or Windows to do anything useful. When I shared my $HOME between

Re: how to compute predictable network interface names?

2017-02-16 Thread Greg Wooledge
On Thu, Feb 16, 2017 at 12:47:25PM +0100, Christian Seiler wrote: > On a system with predictable names running? Or on a system > pre-upgrade? > > Because if you have a system that's being upgraded at the > moment, the following command _might_ work _after_ you've > upgraded udev and _before_

Re: User-oriented backup tools

2017-02-15 Thread Greg Wooledge
On Wed, Feb 15, 2017 at 11:37:40PM +0100, Francesco Porro wrote: > At this time I feel comfortable with rsync, which I use to sync my home > to an external Usb drive. No automation, no scheduling for now. I just > launch rsync from the command line and let it backup all the stuff when > I need it.

Re: hostname drops off between remote sessions

2017-01-23 Thread Greg Wooledge
On Mon, Jan 23, 2017 at 12:33:55PM -0500, Tony Baldwin wrote: > Perhaps it is these Daemons that are not doing their job(?), because > I'll set the hostname (as root with "hostname $myhostname", or editing > /etc/hostname, I've done both), and on reboot, it returns to (none). Anything you set

Re: What in /var/logs shows system reboot?

2017-01-23 Thread Greg Wooledge
On Mon, Jan 23, 2017 at 02:12:04PM -0400, francis picabia wrote: > I'm running Debian 8.6, and looking at old logs. I'd like to confirm when > the system was rebooted to invoke the newer kernel which fixed > the Dirty COW bug. last | grep boot or, apparently (according to the man page): last

Re: An Embarrassing Progblem

2017-01-23 Thread Greg Wooledge
On Mon, Jan 23, 2017 at 01:27:05PM -0500, S. P. Molnar wrote: > I have found plenty of Google results about correcting thei promled, > and, indeed export PS1='\u@\h > ' restores the prompt - that is, until I > close that terminal. The next time I open a terminal the prompt is back > to

Re: What in /var/logs shows system reboot?

2017-01-24 Thread Greg Wooledge
On Mon, Jan 23, 2017 at 08:28:08PM -0400, francis picabia wrote: > Here is the exercise anyone reading can try: > > Prove to yourself exactly when you rebooted your Debian system(s) arc3:~$ uptime 08:44:40 up 8 days, 31 min, 1 user, load average: 0.02, 0.02, 0.00 Everything's easy on a live,

Re: How to find out the current display manager?

2017-01-16 Thread Greg Wooledge
On Mon, Jan 16, 2017 at 11:42:17AM -0500, kamaraju kusumanchi wrote: > Background on why I need this: > I am developing a script[1] that gathers relevant system information > depending on what issue a debian-user is facing. That's pretty ambitious. Good luck. > Thanks. It looks like all I need

Re: NFS msg: Unable to find suitable address

2017-01-19 Thread Greg Wooledge
On Thu, Jan 19, 2017 at 11:29:37AM -0600, Dennis Wicks wrote: > > PING robin.netgear.com (192.168.254.62) 56(84) bytes of data. > > 64 bytes from robin.netgear.com (192.168.254.62): > icmp_seq=1 ttl=64 time=0.472 ms > > sudo mount //192.168.254.62/znfs/edrv -o

Re: Frequent Hash Sum mismatch on jessie-backports with apt-get update

2016-08-18 Thread Greg Wooledge
On Thu, Aug 18, 2016 at 12:33:27PM -0300, Henrique de Moraes Holschuh wrote: > On Thu, 18 Aug 2016, Greg Wooledge wrote: > > Now, starting last week, the problem is that when I try to apt-get update, > > the files coming from security.debian.org HANG at 100% complete. It > >

Re: The same environment variables everywhere

2017-02-27 Thread Greg Wooledge
On Sun, Feb 26, 2017 at 02:26:08PM +0200, Teemu Likonen wrote: > I would like to hear some ideas on how to set various environment > variables (PATH, MANPATH, EDITOR etc.) in one place that would make them > effective everywhere. My "everywhere" means: > > - X session started through lightdm

Re: good LDAP resources

2017-02-27 Thread Greg Wooledge
On Sat, Feb 25, 2017 at 02:16:27PM -0800, bri...@aracnet.com wrote: > I need to set-up some sort of password server for a small network so that i > don't have to set-up accounts on every machine. > > It looks like LDAP is the best way to do that. > > Is it ? For a small network where security

Re: Jessie (8.0) slow to boot

2016-08-31 Thread Greg Wooledge
On Wed, Aug 31, 2016 at 09:16:00AM -0500, Richard Owlett wrote: > What's going on? > Are the messages that scroll past preserved anywhere? When booting with systemd, the boot messages are stored in RAM automatically, and can be viewed by running "journalctl" as root. I'd definitely start there.

Re: Jessie (8.0) slow to boot

2016-08-31 Thread Greg Wooledge
On Wed, Aug 31, 2016 at 09:58:39AM -0500, Richard Owlett wrote: > Aug 31 09:13:32 deb8-2ndtry systemd[1]: Job > dev-disk-by\x2duuid-0a344714\x2dae06\x2d43ed\x2daf89\x2d33ba51934630.de > Aug 31 09:13:32 deb8-2ndtry systemd[1]: Timed out waiting for > device

Re: Security Updates

2016-08-31 Thread Greg Wooledge
On Wed, Aug 31, 2016 at 08:16:45AM -0700, Larry Dighera wrote: > Have you even looked at the information here: > ? After reading > that announcement, how can you continue to insist that I am not running Debian > Jessie? 1) It's not on

Re: Jessie (8.0) slow to boot

2016-08-31 Thread Greg Wooledge
On Wed, Aug 31, 2016 at 11:00:27AM -0500, Richard Owlett wrote: > On 8/31/2016 10:06 AM, Greg Wooledge wrote: > >Look for swap partitions defined in /etc/fstab and see if one of them > >is on a device that no longer exists (or exists only intermittently, > >such as a removable

Re: Jessie & Fixed IP Address

2016-09-08 Thread Greg Wooledge
On Thu, Sep 08, 2016 at 06:08:04PM +0100, David wrote: > I am working with a Raspberry PI running Jessie and I'm not happy about > the solutions I found to change it from DHCP to a fixed IP address. > > Can I go back to the old method of editing /etc/network/interfaces If it's Debian Jessie,

Re: How to diagnose an "apt-get instal"l problem

2016-09-09 Thread Greg Wooledge
On Fri, Sep 09, 2016 at 10:18:22AM -0500, Richard Owlett wrote: > As root I attempted to do > apt-get install mate-desktop-environment-core > It began normally but terminated with a file not found message > before coming to the confirm installation step. And the error message said...? > To

Re: Systemd and Init was Problems communicating with and between servers after upgrade - correction

2016-09-12 Thread Greg Wooledge
On Mon, Sep 12, 2016 at 07:32:52PM +0100, Clive Menzies wrote: > However, studying documentation on systemd v init, I'm a bit confused. I > assumed the reinstall would implement systemd for all services and init > wouldn't be visible although symlinks will use init where necessary. >

Re: xaralx package

2016-09-15 Thread Greg Wooledge
On Thu, Sep 15, 2016 at 05:03:23PM +0100, Michael Fothergill wrote: > ???http://www.xaraxtreme.org/download.html??? "The binaries we distribute require libstdc++ version 5, which is not installed as standard on some modern distributions (for example Ubuntu 5.10)."

Re: xaralx package

2016-09-15 Thread Greg Wooledge
On Thu, Sep 15, 2016 at 04:51:28PM +0200, Dominique Dumont wrote: > $ ldd xaralx ldd actually needs a path to the executable. It doesn't search $PATH. $ ldd "$(which xaralx)" would be one way to do it.

Re: xaralx package

2016-09-15 Thread Greg Wooledge
On Thu, Sep 15, 2016 at 04:13:27PM +0100, Michael Fothergill wrote: > mikef@rhinoceros:~/Documents/xaralx/bin$ ldd "$(which xaralx)" > ldd: ./: not regular file Sorry. I didn't realize you were cd'ing into the directory where the file was, and that this directory was not in your $PATH at all.

Re: SMTP relay issue with emails to specific domain

2016-09-09 Thread Greg Wooledge
On Fri, Sep 09, 2016 at 08:58:15PM +0100, Joe wrote: > An email client connects to its SMTP smarthost using SMTP, so there's no > way a given SMTP server can tell whether it's a client (MUA) or another > SMTP server (MTA) trying to connect to it. That's outdated information. SMTP is used to

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
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? And in what > cirumstances?

Re: Substring search in dash [ _NOT_ bash ] shell

2016-09-26 Thread Greg Wooledge
On Mon, Sep 26, 2016 at 10:39:59AM -0500, Richard Owlett wrote: > # string if [ "`hostname`" = bob ]; then echo bob.cfg; fi > > I need for the case when evaluates to marybobsam . > I can find examples in bash shell, but I need dash. Are you asking how to check for the substring "bob" in

Re: How to get an older emacs on Jessie

2016-09-29 Thread Greg Wooledge
On Thu, Sep 29, 2016 at 01:28:59PM -0400, Marc Auslander wrote: > I'm running Jessie with the standard repositories and emacs from 21 on > are available. Have you looked? I see emacs24 and xemacs21 in jessie. Nothing in between. I don't fully understand the differences between emacs and

Re: Canon printer minor quibble

2016-09-30 Thread Greg Wooledge
On Fri, Sep 30, 2016 at 02:20:43PM +0100, Lisi Reisz wrote: > > On Fri, Sep 30, 2016 at 01:31:03PM +0100, Brian wrote: > > > The "U" in CUPS officially doesn't stand for anything. The same applies > > > to the "C", "P" and "S". > It also says most of it, definitely that U stands for Unix, on the

Re: Cannot apt-add repository

2016-10-06 Thread Greg Wooledge
On Thu, Oct 06, 2016 at 05:27:49PM +, Rasku, Stephen (GE Digital) wrote: > So, what is the best practice to get the latest (or at least newer) version > of git? Compile from source? I want to use some of the `git bisect` > features that were introduced in 2.7. I don't know about git

Re: Strange Gnome-terminal behaviour

2016-10-07 Thread Greg Wooledge
On Fri, Oct 07, 2016 at 09:47:37PM +0900, Mark Fletcher wrote: > Also I have no .Xresources file, is that normal? wooledg@wooledg:~$ ls -a /etc/skel . .. .bash_logout .bashrc .profile Yup. Normal. But the good news is, it looks like you *can* make one and expect it to be used by the Debian

Re: Cannot apt-add repository

2016-10-07 Thread Greg Wooledge
On Fri, Oct 07, 2016 at 10:46:08AM +0300, Reco wrote: > On Fri, Oct 07, 2016 at 12:26:46AM -0400, Bob Bernstein wrote: > > On Thu, 6 Oct 2016, Greg Wooledge wrote: > > >ask the Universal Debian Database whether it's known to be impossible to > > >do so. &

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 return. Did you edit this script with a

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: cant get to desktop anymore

2016-09-19 Thread Greg Wooledge
On Sun, Sep 18, 2016 at 08:33:23PM -0400, Neal P. Murphy wrote: > will reach the X11 session. If it started. If not, it could > be that a default xdm session (KDE, Gnome, XFCE, etc.) wasn't selected or a > desktop 'task' wasn't installed. > > Console #7 is the standard console used for X11.

Re: Need a tutorial

2016-09-21 Thread Greg Wooledge
On Wed, Sep 21, 2016 at 10:18:55AM -0400, Gene Heskett wrote: > Where can I get a tut on doing the ssh keyfile login, and where can I > find a tutorial that is essentialy what Dr. Klepp had me do about a year > back that made these 3 commands in my rc.local file Just Work: > > su gene -c

Re: Jessie (8.0) - Unexpected behavior of "MATE Terminal" after reboot

2016-09-21 Thread Greg Wooledge
On Wed, Sep 21, 2016 at 08:18:36AM -0500, John Hasler wrote: > To find out what shell you are running type > > echo $0 imadev:~$ csh % echo "$0" No file for $0. The world's a much bigger place than just the Bourne family of shells, unfortunately. ps -p $$ # works in csh too

Re: Jessie (8.0) - Unexpected behavior of "MATE Terminal" after reboot

2016-09-21 Thread Greg Wooledge
On Wed, Sep 21, 2016 at 07:30:50AM -0500, Richard Owlett wrote: > 1. the immediate one being whatever shell MATE terminal uses. Unless it's completely diverging from Unix standards, it should launch your user account's shell as defined either by the $SHELL environment variable, or by your entry

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 09:43:15AM -0400, Tony Baldwin wrote: > I have various scripts in $HOME/bin, many of which I have put in my > .config/openbox/rc.xml so I can fire them off with a keybinding combo, like How do you login? With a display manager? Which one? > when I press W-b, and some

Re: Failed to execute child process (no such file or directory) ...

2016-09-21 Thread Greg Wooledge
On Wed, Sep 21, 2016 at 05:20:31PM +0200, Thomas Schmitt wrote: > You could put a script into /usr/bin (where it will be found, i hope), > let it print the PATH to a file, bind it to a key combination, and > look what it writes into the file: > #!/bin/sh > echo "$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-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: Rebuilding Debian package from source

2016-09-19 Thread Greg Wooledge
On Mon, Sep 19, 2016 at 11:57:13AM -0400, The Wanderer wrote: > Based on the error, it looks as if the build process is attempting to > run a command that uses the full path of the build directory, but does > not quote that path; as a result, the space gets treated as a token > separator.

Re: /etc/fstab and systemd

2016-09-19 Thread Greg Wooledge
On Mon, Sep 19, 2016 at 03:15:26PM +0200, Pol Hallen wrote: > I migrated my pc to systemd (!), in /etc/fstab I've > > /dev/sdb1 /test ext4x-systemd.automount 0 0 > (I use UUID but to semplify I wrote /dev/sdb1) Changing the content of your files is not "simplifying". It's

Re: sending authorized_keys to localhost from an account being created with adduser --disabled-password [was] Re: Need a tutorial

2016-09-23 Thread Greg Wooledge
On Fri, Sep 23, 2016 at 12:31:00PM +, Stephan Beck wrote: > I have created a new user account with > adduser --disabled-password > What do I want to do? > I'd like to login to this account "test" from my normal user account by > ssh via pubkey authentication. My (normal) user account has its

Re: Need a tutorial

2016-09-22 Thread Greg Wooledge
On Thu, Sep 22, 2016 at 08:18:30PM +0200, Dominique Dumont wrote: > On Thursday, 22 September 2016 12:30:10 CEST Gene Heskett wrote: > > If you're not sure of the syntax of ssh config file, you can use > > > > > 'cme edit ssh' to perform this task. > > > > cme=command not found. > > You need to

Re: SOLVED Re: mysql broken after jessie upgrade

2016-09-22 Thread Greg Wooledge
On Thu, Sep 22, 2016 at 04:02:37PM +0200, Tony van der Hoff wrote: > Running Jessie here. Performed apt-get upgrade yesterday, which included > a new version of mysql. > It turns out that the recent upgrade took mysql from 5.5 to 5.6. It > uninstalled mysql-server-5.5, but failed to

Re: Need a tutorial

2016-09-22 Thread Greg Wooledge
On Thu, Sep 22, 2016 at 03:35:00PM +, Stephan Beck wrote: > Sorry, Tomas, it's not Gene, it's me who has a special question > concerning ssh. > If you create a new user account ("test"), doing as root > adduser --disabled-password test > > How can you access this new account to generate an

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:~$

Re: Need a tutorial

2016-09-22 Thread Greg Wooledge
On Thu, Sep 22, 2016 at 06:11:18PM +0200, Thomas Schmitt wrote: > Greg Wooledge wrote: > > sudo -u test bash > > Does not work for me (at least not out of the box): > > $ sudo -u test_user bash > [sudo] password for thomas: > Sorry, user thomas is not al

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 03:15:40PM +0100, Tixy wrote: > I edit ~/.xsessionrc to have a single line: > > . /home/tixy/.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

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

Re: permanently add dir to $PATH

2016-09-16 Thread Greg Wooledge
On Fri, Sep 16, 2016 at 10:01:39AM -0400, Tony Baldwin wrote: > The other problem is trying to permanently add $HOME/bin to the $PATH. > > I have in .bash_profile > PATH=$PATH:$HOME/bin > export PATH > > But every time I boot I have to manually add it again. This is probably because you are

Re: update-alternatives, list alternatives?

2016-09-16 Thread Greg Wooledge
On Fri, Sep 16, 2016 at 10:10:44AM -0400, Tony Baldwin wrote: > I can't seem to find or figure out how to list all the alternatives I > can manage with update-alternatives. > I mean, I can get a list for a particular item, like x-www-browser or > editor, but I want a list of all those possible

Re: update-alternatives, list alternatives?

2016-09-16 Thread Greg Wooledge
On Fri, Sep 16, 2016 at 10:56:44AM -0400, Tony Baldwin wrote: > Indeed: > # update-alternatives --get-selections | grep mail > mailx auto /usr/bin/bsd-mailx > > but also: > # update-alternatives --config mailx > There is only one alternative in link group mailx

Re: Need a tutorial

2016-09-22 Thread Greg Wooledge
On Thu, Sep 22, 2016 at 12:30:10PM -0400, Gene Heskett wrote: > On Thursday 22 September 2016 11:16:45 Dominique Dumont wrote: > > Others have explained how to generate keys. Then you can simplify the > > process by setting up your ~/.ssh/config file with something like: > > > Interesting, I don't

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 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 user configuration, I mean "which files can the user edit, without

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

Re: Frequent Hash Sum mismatch on jessie-backports with apt-get update

2016-08-18 Thread Greg Wooledge
On Thu, Aug 18, 2016 at 04:47:55AM -0700, poiuytrez wrote: > I have frequent errors when I do apt-get update: > W: Failed to fetch > http://http.debian.net/debian/dists/jessie-backports/main/source/Sources > Hash Sum mismatch For you, I would suggest trying a different mirror. $ host

Re: Recent flex security announcement

2016-08-26 Thread Greg Wooledge
On Fri, Aug 26, 2016 at 12:11:30AM +, Mark Fletcher wrote: > However I also have Linux machines that don't use a package management > system, and there I also have a version of flex with the vulnerability, so > I wanted to get the source tarball of the fixed version (v2.6.1) so I could > build

Re: Recent flex security announcement

2016-08-26 Thread Greg Wooledge
On Fri, Aug 26, 2016 at 12:41:54PM +, Mark Fletcher wrote: > Stretch and sid are quoting version 2.6.1 and I can't see where they got > that from, as upstream (sourceforge) latest version seems to be 2.6.0. And > 2.6.1 claims to be the version with the fix. *sigh* ... it just figures, as soon

Re: Speedup cp command?

2016-08-23 Thread Greg Wooledge
On Tue, Aug 23, 2016 at 04:16:42PM -0500, Richard Owlett wrote: > Thanks. I'll try it as soon as copy of DVD#2 ends. > What's special about a loop mount in this circumstance? As I read > the rsync man page it was pretty similar to cp and it had > accepted a plain automount [I'm on Jessie with

Re: Substring search in dash [ _NOT_ bash ] shell

2016-09-27 Thread Greg Wooledge
On Tue, Sep 27, 2016 at 10:07:14AM +0200, Thomas Schmitt wrote: > if you cannot find a dash tutorial then get a tutorial for bash or sh and > test in dash whether the proposals apply properly. This is potentially bad advice, for several reasons. First, there are more bad tutorials out there in

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

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 the script into the current shell (thus >

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

Re: Substring search in dash [ _NOT_ bash ] shell

2016-09-27 Thread Greg Wooledge
On Tue, Sep 27, 2016 at 05:05:08PM +0200, Thomas Schmitt wrote: > Greg Wooledge wrote: > > Do not use -o and -a in a test command. > > http://mywiki.wooledge.org/BashPitfalls#pf6 > > As if anybody would dare to touch the old "test" command. :)) > > Rather 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-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

Re: Canon printer minor quibble

2016-09-30 Thread Greg Wooledge
On Fri, Sep 30, 2016 at 03:49:23PM -0500, David Wright wrote: > "CUPS is the standards-based, open source printing system developed by > Apple Inc. for macOS® and other UNIX®-like operating systems." > > which is stretching the truth IMHO, given the normal meaning of "for", > "and", and "other",

Re: Canon printer minor quibble

2016-09-30 Thread Greg Wooledge
On Fri, Sep 30, 2016 at 03:37:55PM +0100, Brian wrote: > On Fri 30 Sep 2016 at 16:20:03 +0200, Frank wrote: > > It is. Check (most of) the entries in the blog at > > https://www.cups.org/blog.html from 10 Jul 2000 to 15 Dec 2008. > > I thought it was obvious we were talking about now, not the

Re: Canon printer minor quibble

2016-09-30 Thread Greg Wooledge
On Fri, Sep 30, 2016 at 03:51:27PM +0100, Brian wrote: > The People > can continue to say what they want but it does not change the fact that > the official name of the software is CUPS. Yes, that is the new Official Name. Nobody(*) gives a flying leap what the Official Name is. The question

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: dependencies problem to install lightworks on jessie

2016-10-28 Thread Greg Wooledge
On Fri, Oct 28, 2016 at 07:19:47PM +0100, Brian wrote: > 4. There is a way to get your error mesaages in English but I have >forgotten how. Someone will be along in a while to explain how it >is done. If you're working from a command shell, you can do: export LC_ALL=C and then the rest

Re: Permissions for an entire PARTITION

2016-10-28 Thread Greg Wooledge
On Fri, Oct 28, 2016 at 10:28:54AM -0500, Richard Owlett wrote: > I'll attempt to refine my problem definition. > My primary use case is a laptop: > 1. purchased explicitly for use as a test bed. > 2. whose HD has been erased multiple times in ONE day. > 3. is isolated from ANY network. >

Re: Strange Problem with 'alias'

2016-11-08 Thread Greg Wooledge
On Tue, Nov 08, 2016 at 02:37:34PM -0500, Henning wrote: > Put your aliases into .bash_ptofile No, don't do that. Make your login shell profile source or dot in ~/.bashrc instead.

Re: debian 6.0.4 apt sources.list

2016-11-09 Thread Greg Wooledge
On Wed, Nov 09, 2016 at 09:41:52AM +0100, basti wrote: > Hello, > debian 6 is End-of-Life since 31. Mai 2014 (29. Februar 2016 for LTS), I > recommend am upgrade. > If it is not possible try "deb http://archive.debian.org/debian/ squeeze > contrib main non-free" in sources.list, > see

Re: [Proposal] Update debian installion guide. Part 4.3.3.2.

2016-11-09 Thread Greg Wooledge
On Wed, Nov 09, 2016 at 10:04:56PM +0700, billwill onggo wrote: > @maintainers, you might want make some changes in your 'installation guide', > > @all, if there is no maintainers here, how can i reach them? I would try the debian-boot list first. https://lists.debian.org/debian-boot/

Re: apt-get changelog is unsuccessful, but changelog exists

2016-11-07 Thread Greg Wooledge
On Sat, Nov 05, 2016 at 08:25:02PM +, david...@freevolt.org wrote: > On Sat, 5 Nov 2016, Brian wrote: > >Wheezy is an unsupported distribution, just like hamm, etch, potato etc. > >Irrespective of whether it was thought to be wonderful in its day it is > >now moribund apart from LTS. > > We

Re: parted is ALMOST suitable

2016-11-07 Thread Greg Wooledge
On Mon, Nov 07, 2016 at 03:27:12PM +0100, to...@tuxteam.de wrote: > Two things: > - check that your disk devices are actually readable (and probably >writable, I botched that, cf. David's mail) by group disk > - your being added to disk is effective *after* logging in after >you'd made

Re: parted is ALMOST suitable

2016-11-07 Thread Greg Wooledge
On Mon, Nov 07, 2016 at 08:18:28AM -0600, Richard Owlett wrote: > Evidently not a solution. Added myself to both "disk" and "root" > groups. > Had no effect when attempting to run either lsblk or parted. Is there a reason you can't use sudo? Sample output on my system at work: $ lsblk -f NAME

Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents

2016-11-07 Thread Greg Wooledge
On Sat, Nov 05, 2016 at 03:01:14PM -0700, Dan Hitt wrote: > Does anybody know of a piece of software that you can give an URL to, > and it will then fetch the url and email the contents to you? #!/bin/sh # Usage: scriptname URL recipient [...] url=$1 shift lynx -dump "$url" | mail -s "Web page:

Re: Trivial script will NOT execute

2016-11-07 Thread Greg Wooledge
On Sat, Nov 05, 2016 at 10:42:46AM -0500, David Wright wrote: > The current working directory is included here three times???at the > beginning, middle and end. > > :/usr/bin::/bin:. Including the current directory in one's PATH (either by using "." explicitly, or by using an empty string) is

Re: parted is ALMOST suitable

2016-11-07 Thread Greg Wooledge
On Mon, Nov 07, 2016 at 09:57:14AM -0600, Richard Owlett wrote: > In any case, off-list someone suggested using >/sbin/blkid /dev/sda* > That works. *BUT* I wonder about unknown implications of "/sbin" > being required if not explicitly running as root. It's simply because /sbin is not in

Re: Debian repository: no updates for PygreSQL package

2016-11-10 Thread Greg Wooledge
On Thu, Nov 10, 2016 at 09:01:22AM +0900, Mark Fletcher wrote: > Current stable is Debian 8 (Jessie). And it is not likely to pick up new > versions either. It became stable a couple of years back (sorry I don't > remember exactly when and don't have time to look it up, but you can see > on

Re: Problem attempting to use xorriso

2016-11-10 Thread Greg Wooledge
On Thu, Nov 10, 2016 at 02:53:14PM +, Lisi Reisz wrote: > Richard - are you clear that the permissions are not for the partitions but > for the directories on the mount points on the filing system on which those > partitions have been hung?? This can be hard to grasp, but it can and does >

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 POSIX, so it will be a command

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