Re: Installation problems with home path and sshd

2011-11-28 Thread gabier
Michael Lutz-2 wrote: > > Open the properties of the service and enable "Allow service to interact > with desktop" (or something like that). If that option is already enabled > I don't have any more ideas either. > Thank you Michael, it was NOT enabled, and enabling it solved the problem. Grea

Re: Installation problems with home path and sshd

2011-11-28 Thread gabier
Andy Koppe wrote: > > How did you install mintty, and how are you invoking it? If you invoke > it without arguments, it'll run your shell as a so-called non-login > shell (as is standard behaviour for terminal emulators). This means > that /etc/profile won't be sourced, which is where your home

Re: Installation problems with home path and sshd

2011-11-28 Thread Andy Koppe
On 27 November 2011 10:37, gabier wrote: > I got sshd to work between a Windows 7 computer and a FreeNAS/FreeBSD > server, and it works well now, thanks to you here. Now I try to implement > the same thing on a Vista laptop which is in the same home network. I > installed the same Cygwin, following

Re: Installation problems with home path and sshd

2011-11-28 Thread Michael Lutz
Am 27.11.2011 11:37 schrieb gabier: > cygrunsrv: Error starting a service: StartService: Win32 error 1069: > (Following sentence translated from French) The failure to open a session > has prevented the start of the service. Open the properties of the service and enable "Allow service to interact

Re: Installation problems with home path and sshd

2011-11-27 Thread gabier
Marc Girod wrote: > > Yes: your home seems correct. > yes, but I do not know why my console does not open in the home directory. Maybe there is console config file somewhere ? Marc Girod wrote: > > I didn't install sshd on my PC so that I cannot comment your sshd account, > but it doesn't see

Re: Installation problems with home path and sshd

2011-11-27 Thread Marc Girod
gabier wrote: > > So it seems quite correct. > ... > I noticed the following entry. > ... > Does it seem also correct ? If not it could explain my sshd problems ? > Yes: your home seems correct. I didn't install sshd on my PC so that I cannot comment your sshd account, but it doesn't seem wrong

Re: Installation problems with home path and sshd

2011-11-27 Thread gabier
Marc Girod wrote: > > Others may answer better than me, but... I think there are two sources for > the definition of home: > the HOME environment variable, and the entry in /etc/passwd. > I have myself: > ~> id > uid=1000(marc) gid=513(None) groups=513(None),545(Users) > ~> grep marc /etc/passwd

Re: Installation problems with home path and sshd

2011-11-27 Thread Marc Girod
gabier wrote: > > 1. The home path was not created, there was nothing in the home directory. > ... > I created a home user directory and now if I enter "cd ~/" I am in it. > But mintty still opens in its own link directory. > Others may answer better than me, but... I think there are two source

Re: Installation problems with home path and sshd

2011-11-27 Thread Marc Girod
gabier wrote: > > 1. The home path was not created, there was nothing in the home directory. > ... > I created a home user directory and now if I enter "cd ~/" I am in it. > But mintty still opens in its own link directory. > Others may answer better than me, but... I think there are two source

Re: Installation problems with home path and sshd

2011-11-27 Thread Marc Girod
gabier wrote: > > 1. The home path was not created, there was nothing in the home directory. > ... > I created a home user directory and now if I enter "cd ~/" I am in it. > But mintty still opens in its own link directory. > Others may answer better than me, but... I think there are two source

Re: Installation problems with home path and sshd

2011-11-27 Thread Marc Girod
gabier wrote: > > 1. The home path was not created, there was nothing in the home directory. > The mintty console opens in /cygdrive/c/Users/username/Desktop/FREENAS, > which is merely the link to the icon used to open the console. > I created a home user directory and now if I enter "cd ~/" I a

Re: Installation problems with home path and sshd

2011-11-27 Thread Marc Girod
gabier wrote: > > 1. The home path was not created, there was nothing in the home directory. > The mintty console opens in /cygdrive/c/Users/username/Desktop/FREENAS, > which is merely the link to the icon used to open the console. I created a > home user directory and now if I enter "cd ~/" I a