Re: How to get ssh to run in daemon script

2016-11-28 Thread Russell Gadd
On 28/11/16 12:30, Richard Hector wrote: ... nas doesn't recognise login as authorised user Turns out this was the issue - problem solved.For some reason the interactive successful use of ssh must have used my non-root users key even when run by (su) root in a graphical terminal. I needed to

Re: How to get ssh to run in daemon script

2016-11-27 Thread Russell Gadd
On 27/11/16 13:00, Nemeth Gyorgy wrote: ... What user runs the daemon? If it is a separate user then run the ssh with that user interactively. If the user does not have the ~/.ssh/known_hosts file or the destination host is not in it, then you will have problems. I've now discovered that the da

How to get ssh to run in daemon script

2016-11-27 Thread Russell Gadd
I am trying to add a command into a script to shut down my NAS when the UPS detects a power loss. There is a daemon apcupsd which gets a signal from the UPS and runs various scripts which can be modified by the user. I have a script doshutdown as follows #!/bin/sh ... various messages and sle

Re: User's bin path not recognised in login script

2016-03-24 Thread Russell Gadd
On 24/03/16 00:30, David Wright wrote: ... I don't know what you mean by "login" script because you haven't yet told us (I believe) what your machine is configured to do when you boot it up. If you've installed some sort of Desktop Environment, then the DE has the responsibility of selecting

Re: User's bin path not recognised in login script

2016-03-22 Thread Russell Gadd
On 22/03/16 20:20, Seeker wrote: ... Create '~/.xprofile' and put your export commands and extra non-desktop specific stuff you always want to run there. https://wiki.archlinux.org/index.php/xprofile Later, Seeker Thanks. I might try this later.

Re: User's bin path not recognised in login script

2016-03-22 Thread Russell Gadd
On 22/03/16 19:00, The Wanderer wrote: ... How did you test? By launching a new terminal (with bash set as your default shell), by running the command 'bash' in an existing terminal, by logging all of the way out (to the main login prompt, if not to a full reboot) and then logging back in, or b

Re: User's bin path not recognised in login script

2016-03-22 Thread Russell Gadd
On 22/03/16 02:40, David Christensen wrote: ... Did you remember the 'export' in .profile? export PATH=$PATH:$HOME/bin It might help to add echo's in the various scripts to check the order in which they run -- e.g. verify that .bash_profile runs before your bash login script, so that PAT

User's bin path not recognised in login script

2016-03-21 Thread Russell Gadd
The bash login script I have added in to my startup programs does not recognise /home/user/bin as part of the path, whereas it used to when I was running Linux Mint (I'm a recent refugee). I've got PATH="$HOME/bin:$PATH" in ~/.bashrc and also in ~/.profile, together with a ~/.bash_profile which

Re: Thin Mate window edges

2016-03-10 Thread Russell Gadd
On 03/03/16 22:30, Siard wrote: ... After restarting Mate, you will see that windows have wider borders, so that's an improvement at least. But they can be made even wider if desired. As root, edit usr/share/themes/Spidey/metacity-1/metacity-theme-1.xml. You will see these lines near the beginni

Thin Mate window edges

2016-03-02 Thread Russell Gadd
I have just installed Jessie with the Mate desktop. My screen is 1920 x 1080. I find grabbing the edges or corner of a window with the mouse pointer in order to extend it is very fiddly. Is this due to the border being very thin? Are there any options to make this easier, such as choosing a window

NAS no longer mounting at boot

2012-02-23 Thread Russell Gadd
I have this in /etc/fstab //nasbox/dataNAS /mnt/dataNAS cifs rw,user,exec,iocharset=utf8,user=xyz,password=xxx,uid=1000,gid=1000 Up to recently it used to mount at boot time but doesn't any more. I assume some update changed things. Unfortunately I only use this system once or twice a week and I n

Fwd: How to refresh Nautilus file view.

2011-12-20 Thread Russell Gadd
> > How is the mount point set? Dynamically or statically? > Sorry not sure what you mean by "Dynamically or statically?". I have a line in fstab as follows: //nasbox/dataNAS /mnt/nas cifs rw,user,exec,iocharset=utf8,user=xxx,password=xxx,uid=1000,gid=1000 (not sure if all these options are stric

How to refresh Nautilus file view.

2011-12-17 Thread Russell Gadd
I have just set up a NAS box and sometimes it comes up from sleep too late for Nautilus to see it so when I look for it in Nautilus the mounted drive isn't there, I just see the folder where it should be mounted. I'm sure it is mounted since I can check this with the mount command, although if usin

USB stick no longer automounting at boot

2011-06-07 Thread Russell Gadd
I have today set up a new installation of Linux Mint and it is exhibiting the same symptoms as my installation of Squeeze as follows - I have a USB stick permanently plugged in (for backup purposes) and when the system boots the stick is not mounted. When I first installed it mounted ok and I could

Re: Switch to LILO from Grub2 ?

2011-05-15 Thread Russell Gadd
On 14 May 2011 21:59, Sven Joachim wrote: > > > > This will definitely not work.  LILO stores the location of kernels > (their sectors on the disk) in a map file, and if you move those around > it won't be able to find them anymore. > >> Also I'd like to avoid using UUIDs - I think this will be n

Re: GRUB GRUB black screen

2011-05-15 Thread Russell Gadd
On 14 May 2011 21:48, tv.deb...@googlemail.com wrote: > > > > > Maybe LILO's simpler design can be a good choice in many situations, > where grub fanciness (and complexity) isn't needed. > > Glad you solved it somehow in the end. > Thanks for your interesting discussion. I appreciate that grub2

Switch to LILO from Grub2 ?

2011-05-14 Thread Russell Gadd
I have had a number of problems with using grub2 (running Debian Squeeze) and am thinking of switching to LILO. I'd like to achieve these objectives: 1. use a boot manager (BootitNG) in the MBR which will set up the required partition table and pass control to LILO located in the root partition of

GRUB GRUB black screen

2011-05-13 Thread Russell Gadd
One of my operating systems (a version of Debian Squeeze) is now refusing to boot. It just shows a black screen with the 2 words GRUB GRUB in the top left hand corner. I wonder if anyone has seen this sort of behaviour before? More background: I have multiple operating systems on my PC which can b

Re: Cannot set preferred application

2011-02-21 Thread Russell Gadd
On 21/02/11 15:00, Camaleón wrote: On Sun, 20 Feb 2011 21:56:21 +, Russell Gadd wrote: On 20/02/11 19:30, Camaleón wrote: On Sun, 20 Feb 2011 17:16:12 +, Russell Gadd wrote: (...) So I now try right clicking on the file and choose Open with "Other Application", choose

Re: To gmail or not to gmail (was Re: Fwd: selecting old machines for firewall/router use)

2011-02-21 Thread Russell Gadd
There is effectively a list reply feature in gmail. Hit "Reply to all" and debian-user@lists.debian.org appears in the cc field. For this reply I have removed the To address and just kept the cc address. However I use Icedove for newsgroups and also a gmail account where I automatically archive th

Re: Cannot set preferred application

2011-02-21 Thread Russell Gadd
On 20/02/11 17:40, Russell Gadd wrote: I've filed a bug report now -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ijtea9$m5u$1...@news.eternal-september.org

Re: Cannot set preferred application

2011-02-20 Thread Russell Gadd
On 20/02/11 19:30, Camaleón wrote: On Sun, 20 Feb 2011 17:16:12 +, Russell Gadd wrote: (...) So I now try right clicking on the file and choose Open with "Other Application", choose "audacious" and tick the box which says "Remember this appliction for MP3 audio fi

Cannot set preferred application

2011-02-20 Thread Russell Gadd
I'm trying to change the default application which is used to play MP3 files in Gnome. Currently the default application for multimedia player is Totem Movie Player. I know its not a movie but when I click on an MP3 file in Nautilus it tries for a split second to use Movie Player then quits. If

Re: Moderation robot problem - can't post from Thunderbird

2011-02-16 Thread Russell Gadd
On 16/02/11 17:10, Eduardo M KALINOWSKI wrote: On Qua, 16 Fev 2011, Russell Gadd wrote: Thanks for the response. I didn't know I was using a gateway. All I know is that I signed up to Usenet-News.net to be able to access newsgroups and I can download these without problem in Icedove. I s

Re: Moderation robot problem - can't post from Thunderbird

2011-02-16 Thread Russell Gadd
On 15/02/11 17:00, Eduardo M KALINOWSKI wrote: On Ter, 15 Fev 2011, Russell Gadd wrote: I'm having a problem with the moderation robot. I am a member of this list - joined via googlemail. However I use Thunderbird to view the newsgroup but when I try to use it to reply to a post the

Moderation robot problem - can't post from Thunderbird

2011-02-15 Thread Russell Gadd
I'm having a problem with the moderation robot. I am a member of this list - joined via googlemail. However I use Thunderbird to view the newsgroup but when I try to use it to reply to a post the robot throws it out as follows: --

Fwd: Relocating Squeeze partition

2011-02-13 Thread Russell Gadd
On 13 February 2011 10:54, Klistvud wrote: >> With Lenny I am able to take an image of a partition with an external >> imaging tool and rewrite it to a different location on the (first) >> hard drive. In this configuration I have a proprietary bootloader >> (BootitNG) in the MBR with Grub in the L

Re: Relocating Squeeze partition

2011-02-13 Thread Russell Gadd
I noticed this in /etc/default/grub: # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true Perhaps uncommenting this as well as not using UUIDs in fstab might do it? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a su

Relocating Squeeze partition

2011-02-13 Thread Russell Gadd
With Lenny I am able to take an image of a partition with an external imaging tool and rewrite it to a different location on the (first) hard drive. In this configuration I have a proprietary bootloader (BootitNG) in the MBR with Grub in the Lenny partition. My main objective is to clone a new inst

Squeeze Beta 2 upgrade

2011-02-02 Thread Russell Gadd
Hopefully a simple question to answer. I installed Squeeze beta 2 AMD64 a few weeks ago and have accepted all updates. If I continue to take the updates will it morph into the release version when that is released or is it advisable to reinstall the final release? -- To UNSUBSCRIBE, email to deb

Kernel bug in Squeeze

2011-01-13 Thread Russell Gadd
I have had 2 freezes recently with a kernel bug reported on the screen. One was at the end of shutdown (on a reboot) and the other just now on bootup (not the same reboot). I had a look in syslog for some info but I suspect that the output wasn't able to be added due to the system halting. I don't

Reportbug failure

2010-12-22 Thread Russell Gadd
I'm trying to report a bug in gedit and ran reportbug, opting for the gtk interface. I looked at existing bug reports and none seemed relevant so I proceeded to create one. After inputting the bug title and selecting the severity rating (normal) the application quits. When I look for the report it

Re: Which OS to install?

2010-12-16 Thread Russell Gadd
On 16 December 2010 17:53, Bob Proulx wrote: > > > Hint: APT'S 'build-dep' makes this easy.  Since this is already in > Squeeze then if you were running squeeze you could install all of the > build dependencies for that version by using apt. > >  $ sudo apt-get build-dep hitori > Thanks, most us

Re: Which OS to install?

2010-12-16 Thread Russell Gadd
On 16 December 2010 08:41, Sven Joachim wrote: > (see above post) Thanks Sven, you have confirmed with useful detail the vague ideas I had. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive:

Fwd: Which OS to install?

2010-12-16 Thread Russell Gadd
On 16 December 2010 08:14,   wrote: > > > > One thing I may suggest is look into the use of virtual machines for > something like this. You can install and run the OS of your choosing in a > window ontop of your main system, > > This has the advantages of sandboxing your experiments, having

Which OS to install?

2010-12-16 Thread Russell Gadd
I would like to compile a GTK+ application from source (hitori-0.2.5) so that I can play with the source code. I followed the instructions up to ./configure which reports missing packages: No package 'glib-2.0' found No package 'gtk+-2.0' found No package 'gmodule-2.0' found No package 'cairo' foun

Re: Lenny backports installation of one package only

2010-10-07 Thread Russell Gadd
> > > What reference? > > This reference. The reference I included. > > http://backports.debian.org/Instructions/#index3h2 > > > Ok I didn't associate this part with what I was trying to do. > > I would try first one then the other: > > 1. Use Roman Khomasuridze's suggestion: > > if you want

Re: Lenny backports installation of one package only

2010-10-07 Thread Russell Gadd
Thanks Bob. I'm having some trouble with parts of your response as follows: > What is in your /etc/apt/preferences file? > > I don't have such a file in /etc/apt > What is the relative versions shown here: > > $ apt-cache policy gnucash > # apt-cache policy gnucash gnucash: Installed: 2.2.6

Lenny backports installation of one package only

2010-10-07 Thread Russell Gadd
I am trying to update my iceweasel via Lenny backports but it wants to also update my gnucash which I don't want. What am I doing wrong? I follow the instructions as follows: Add backports to sources.list (actually added a file to sources.list.d). It shows up in Synaptic repositories so looks ok

Re: Vfat or NTFS?

2010-03-08 Thread Russell Gadd
Thanks for all the responses. I'd like to leave Windows alone, therefore using NTFS has attractions over trying to use ext2. I think I'll try using it in place of FAT32 / VFAT in Linux using ntfs-3g and see how it goes. I'm using Debian Lenny 64 bit on a quad core processor so I'm hoping that perfo

Vfat or NTFS?

2010-03-07 Thread Russell Gadd
I've been using Vfat for data partitions which I can access from both Linux and Windows (multibooted). Recently I added another hard drive formatted NTFS and have had no trouble getting Lenny to use it. I am wondering now whether to convert my Vfat partitions to NTFS as there are some advantages.

Re: update issue when /tmp is noexec

2009-06-03 Thread Russell Gadd
I had to look up the meaning of idempotent, a most apt word if I may say so (pun not really intended but serendipitous anyway!). Your answers are very full and much appreciated. >You can find preinst/postinst and other package tracking stuff under > /var/lib/dpkg/info. I had one look at this dire

Re: update issue when /tmp is noexec

2009-06-03 Thread Russell Gadd
d76aed9n8692ec6aaef88...@mail.gmail.com>, Russell > Gadd wrote: > >For some time now, in order to add a bit of security I have made /tmp > >noexec. However I noticed recently looking at the messages scrolling up > > the screen that some update configuration scripts were failing as they

update issue when /tmp is noexec

2009-06-03 Thread Russell Gadd
For some time now, in order to add a bit of security I have made /tmp noexec. However I noticed recently looking at the messages scrolling up the screen that some update configuration scripts were failing as they were trying to be executed in /tmp. After googling I found this article: http://www.d

Ton of Lenny updates

2009-04-12 Thread Russell Gadd
There are 59 updates waiting for me to install. I never had this many when I ran Etch for a couple of years, is something odd happening?

Re: usb discovery fails on initial boot

2008-11-16 Thread Russell Gadd
Florian Kulzer wrote: It would be interesting to see if the system recognizes the first USB stick when you remove it and plug it in again. You should run tail -fn0 /var/log/syslog before you unplug it, then plug it in again and wait for at least thirty seconds. (Press CTRL-C to end the sysl

Re: usb discovery fails on initial boot

2008-11-14 Thread Russell Gadd
I ran this command : # udevtrigger --verbose --subsystem-match=block --attr-match=removable=1 Output was: /block/fd0 /block/hdc /block/hdd These are my floppy drive and my CD and DVD drives. To check if I have and /dev/sd* devices I ran ls -l /dev |grep "sd" which I presume would do it - it prod

Re: usb discovery fails on initial boot

2008-11-12 Thread Russell Gadd
Florian Kulzer wrote: The first thing we need to know is if the device node(s) for the USB stick are created reliably. When you have a "first boot" and the icon does not show up, please run ls -l /dev/disk/by-path/ | grep usb and post the output here (or let us know if there is no output).

Re: usb discovery fails on initial boot

2008-11-11 Thread Russell Gadd
Florian Kulzer wrote: The first thing we need to know is if the device node(s) for the USB stick are created reliably. When you have a "first boot" and the icon does not show up, please run ls -l /dev/disk/by-path/ | grep usb and post the output here (or let us know if there is no output).

usb discovery fails on initial boot

2008-11-10 Thread Russell Gadd
I have a bootup problem with a USB stick I have a USB stick which is permanently plugged in (for backup purposes). When the PC first boots the stick is never discovered, but if I wait a few minutes and reboot, it generally gets discovered and mounted with an icon on the desktop. I'm using Etch. I

usb not found on initial boot

2008-05-14 Thread Russell Gadd
I have a bootup problem with a USB stick I have a USB stick which is permanently plugged in (for backup purposes). When the PC first boots the stick is never discovered, but if I wait a few minutes and reboot, it generally gets discovered and mounted with an icon on the desktop. I'm using Etch. I

Octal permissions display in Nautilus

2008-04-07 Thread Russell Gadd
Minor question: in Gnome's file browser Nautilus, if you select the list view and add Octal Permissions to the columns displayed you get results such as 1600744 for permissions -rwxr--r--. I understand why this should be 744 but what does the 1600 mean? -- To UNSUBSCRIBE, email to [EMAIL PROTECT

Re: Virtualbox problem - Debian kernel header version?

2008-03-20 Thread Russell Gadd
Andrew Sackville-West wrote: On Thu, Mar 20, 2008 at 05:44:44PM +, Russell Gadd wrote: I'm trying to install Virtualbox Guest addtions and at one point the recommended install procedure says do aptitude install build-essential kernel-header-`uname -r` The kernel-header bit comes o

Virtualbox problem - Debian kernel header version?

2008-03-20 Thread Russell Gadd
I'm trying to install Virtualbox Guest addtions and at one point the recommended install procedure says do aptitude install build-essential kernel-header-`uname -r` The kernel-header bit comes out as kernel-header-2.6.18-6-686 Aptitude reports "could'nt find any package whose name or description m

Re: TrueCrypt install on Debian v4.3 or v5?

2008-03-19 Thread Russell Gadd
Brian McKee wrote: On 18-Mar-08, at 12:52 PM, Russell Gadd wrote: Alternatively is anyone using version 5 happily without suffering negative experience as mentioned in some places, e.g. Truecrypt 5.1 - How I loathe thee <http://forums.truecrypt.org/viewtopic.php?t=10025> One user sugge

TrueCrypt install on Debian v4.3 or v5?

2008-03-18 Thread Russell Gadd
I would like to install Truecrypt on Debian Etch. According to recent posts I have read (see below) there are problems with the new version 5 which means I would like to install version 4.3a. which I am sure will do all I need. However Debian is not one of their supported distros. First proble

Re: Rename partition in Nautilus Tree

2008-03-15 Thread Russell Gadd
Raj Kiran Grandhi wrote: Russell Gadd wrote: I'd like to be able to customise the contents of the left pane of Nautilus file manager either in "Tree" or "Places" view. I have 2 hard drives and each has 4 primary partitions. Each of the data partitions shows up as a ro

Rename partition in Nautilus Tree

2008-03-14 Thread Russell Gadd
I'd like to be able to customise the contents of the left pane of Nautilus file manager either in "Tree" or "Places" view. I have 2 hard drives and each has 4 primary partitions. Each of the data partitions shows up as a root in this tree view even though it is mounted under a directory name in the