Cannot connect to posix subsystem

2002-12-19 Thread a12
Hello cygwin gurus, First start of cygwin opens a DOS window, and the following error appears: posix: cannot connect to posix subsystem -bash: cd: /home/a12: No such file or directory a12@RRBACK /usr/bin $ pwd /usr/bin C:\cygwin\usr contains the following directories: bin, doc, include, info

Re: Cygwin deinstall

2002-12-19 Thread a12
Hi Michael, Thank you for your reply. Following your suggestion I mail this entry to [EMAIL PROTECTED] Michael A Chase wrote: On Thu, 19 Dec 2002 11:41:52 +0100 a12 [EMAIL PROTECTED] wrote: I should have rephrased the question to: How do I remove C:\cygwin\var\log\OpenSSHd.log

Domain user cannot login

2002-12-28 Thread a12
Hi gurus, I installed cygwin incl. openssh and it runs OK for a local user 'sysaccount'. For a domain user 'magr40' I updated /etc/passwd: mkpasswd -d -u magr40 /etc/passwd and fetched all group id's: mkgroup -d group.domain /etc/passwd contains: SYSTEM:*:18:544:,S-1-5-18::

Domain user cannot login to remote PC

2002-12-29 Thread a12
Hello gurus, In order to access a remote PC, I updated /etc/group and /etc/passwd on the remote PC. /etc/group contains: SYSTEM:S-1-5-18:18: None:S-1-5-21-1681026574-976757939-617630493-513:513: Administrators:S-1-5-32-544:544: Backup Operators:S-1-5-32-551:551: Guests:S-1-5-32-546:546: Power

Cygwin home dir=/cygwin/c (not /home/userid)

2002-12-30 Thread a12
Hello, I have just installed the latest Cygwin release on one PC. It is up and running OK, except that all local users login into /cygdrive/c instead of /home/userid. The length of PATH in DOS is 97 characters, and in cygwin 148 characters:

Re: Domain user cannot login

2003-01-01 Thread a12
A. Humblet wrote: On Sat, Dec 28, 2002 at 11:41:42PM +0100, a12 wrote: Hi gurus, I installed cygwin incl. openssh and it runs OK for a local user 'sysaccount'. For a domain user 'magr40' I updated /etc/passwd: mkpasswd -d -u magr40 /etc/passwd and fetched all group id's: mkgroup -d

Re: Cygwin home dir=/cygwin/c (not /home/userid)

2003-01-02 Thread a12
', the problem persists: HOME=/cygdrive/c HOMEDRIVE=C: HOMEPATH=\ /etc/profile is enclosed. Any more hints ? Igor Pechtchanski wrote: On Tue, 31 Dec 2002, a12 wrote: Hello, I have just installed the latest Cygwin release on one PC. The two issues you mention are unrelated. See below

Re: Cygwin home dir=/cygwin/c (not /home/userid)

2003-01-03 Thread a12
+0100, a12 wrote: Whether I login locally as user 'sysaccount' or domain user 'magr40', the problem persists: HOME=/cygdrive/c HOMEDRIVE=C: HOMEPATH=\ Isn't HOME already defined in the Windows environment, before starting Cygwin? Start a DOS shell and type echo %HOME% Pierre

Re: Cygwin home dir=/cygwin/c (not /home/userid)

2003-01-05 Thread a12
Yes, removing HOME from Windows system variables did it. I thank you all cygwin gurus for support and valuable hints. Pierre A. Humblet wrote: a12 wrote: Pierre, 'echo %HOME%' yields 'C:\' Modifying /etc/profile: # Set up USER's home directory # 020102 magr40 force to use /home

Re: install problems

2003-01-09 Thread a12
Bill, Any user that belongs to group Administrators will do. William Joye wrote: I'm unable to install and run cygwin 1.3.18-1 unless I'm logged in as 'administrator'. If I try to run cygwin logged in as another user, I get the console window, but it appears to hang. I've tried both a clean

SSH start in .bat ?

2003-01-13 Thread a12
Hello gurus, For the time being I start SSH manually: open DOS window C:\cygwin\cygwin.bat ssh -T -L 5901:derqjzp:5900 -C -N isoft@derqjzp isoft's password I have tried to include the ssh command above in cygwin.bat but obviously bash does not read it. How do I make bash to read the ssh command

Re: SSH start in .bat ?

2003-01-13 Thread a12
isoft@derqjzp but this start vncviewer, and waits until I enter hostid. bash is never started. Any hints here ? Pardon me if this question does not belong to this mailing list. Igor Pechtchanski wrote: On Mon, 13 Jan 2003, a12 wrote: Hello gurus, For the time being I start SSH

Re: How do I start two commands in .bat ?

2003-01-14 Thread a12
. Daniel a12 wrote: Hello gurus, In my ongoing process of starting ssh and vncviewer in one .bat file, I have created the following: rem @echo off chdir C:\cygwin\bin bash --login -i -c ssh -L 5901:derqjzp:5900 -C isoft@derqjzp /cygdrive/c/program files/realvnc/vncviewer.exe I enter

Re: How do I start two commands in .bat ?

2003-01-14 Thread a12
). Igor On Tue, 14 Jan 2003, a12 wrote: Daniel, vnc server is run on derqjzp C: chdir C:\cygwin\bin bash --login -i -c ssh -L 5901:derqjzp:5900 -C isoft@derqjzp /cygdrive/c/progra~1/realvnc/vncviewer.exe requests isoft's password, and start ssh C: chdir C:\cygwin

setup.exe hangs if disk is full

2003-01-15 Thread a12
Hello cygwin gurus, If the installed partition becomes full during install, setup.exe hangs without any notice, and eventually aborts. Event log shows: The application,, generated an application error The error occurred on 01/15/2003 @ 15:48.02.382 The exception generated was c005 at address

Re: setup.exe fails

2005-02-13 Thread a12
Hello Brian, Enclosed you will find output from: cygcheck -s -v -r -h cygcheck.out Brian Dessent wrote: a12 wrote: I have just fetched all Cygwin updates to a local directory, and started setup.exe to install them. setup.exe fails with following error: uname.exe - Cannot find start address

Re: setup.exe fails

2005-02-14 Thread a12
again thank you very for your prompt accurate reponse. Brian Dessent wrote: a12 wrote: HOME.org = `C:\' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\magr40' Odd that you don't have $HOME set... k 2004/09/05 .\cygwin1.dll - os=4.0 img=1.0 sys=4.0 cygwin1.dll v0.0 ts=2004/9

Cannot start cron

2003-03-09 Thread a12
Hi gurus, After installing cron, I did 'ps -ef' and found that cron was not started. So I checked /usr/doc/Cygwin/cron.README, and I tried to start the Windows service using: cygrunsrv -I cron -p /usr/sbin/cron -a -D Then I checked Windows processes, and no cron.exe was there, so I tried to start

cron install does not set up Win service

2003-03-13 Thread a12
Hi gurus, I have installed cron 3.0.1-7, and found out that the appriopriate Windows service is not set up. I have checked /usr/doc/Cygwin/cron.README and established the service using: cygrunsrv -I cron -p /usr/sbin/cron -a -D cygrunsrv -S cron Is it possible to include it in cron post-install

Re: cron install does not set up Win service

2003-03-13 Thread a12
Max, Thank you for your quick reply. Marek Max Bowsher wrote: a12 wrote: Hi gurus, I have installed cron 3.0.1-7, and found out that the appriopriate Windows service is not set up. I have checked /usr/doc/Cygwin/cron.README and established the service using: cygrunsrv -I cron -p

How to use ssmtp ?

2003-03-13 Thread a12
Hi gurus, Pardon my ignorance but I have searched thru cygwin.com and have not found any docs about using ssmtp. Any hints will be greatly appreciated. Marek -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation:

Re: How to use ssmtp ?

2003-03-14 Thread a12
Corinna, I have read man ssmtp and /usr/doc/Cygwin/ssmtp-2.38.7/, and I still feel perplexed how to send a mail. I have fetched Blat http://www.interlog.com/~tcharron/blat.html and an one-liner (b.bat) contains: blat.exe mpu.log -t [EMAIL PROTECTED] -f [EMAIL PROTECTED] -server mail.xyz.com -log

Re: How to use ssmtp ?

2003-03-14 Thread a12
. The To: field is empty. How do I set it ? The Subject: field is empty. How do I set it ? How do I send a file ? /Marek Olaf Foellinger wrote: On Fri, Mar 14, 2003 at 10:09:34AM +0100, a12 wrote: Corinna, I have read man ssmtp and /usr/doc/Cygwin/ssmtp-2.38.7/, and I still feel perplexed how

Re: How to use ssmtp ?

2003-03-14 Thread a12
Markebo wrote: / a12 [EMAIL PROTECTED] wrote: | Olaf, | | Thank you for your hint. | | echo test|ssmtp -s test [EMAIL PROTECTED] | does send a mail. | | The From: field contains 'sys [EMAIL PROTECTED]'. As I want to | contains it '[EMAIL PROTECTED]', I enter: | echo test|ssmtp [EMAIL PROTECTED

Re: How to use ssmtp ?

2003-03-14 Thread a12
Tino, Thank you for your tip about Blat. The following command in cygwin window sends mail: /cygdrive/h/blat/blat.exe file -t [EMAIL PROTECTED] -f [EMAIL PROTECTED] -server mail.xyz.com -s Subject Marek Tino Lange wrote: I have fetched Blat http://www.interlog.com/~tcharron/blat.html and

Re: How to use ssmtp ?

2003-03-14 Thread a12
Jason, As I do not intend to send mail 4K and just to one recipient, please post an example stating how to send a file. Marek Jason Tishler wrote: Tino, On Fri, Mar 14, 2003 at 01:07:32PM +0100, Tino Lange wrote: Forget about ssmtp! Really. As you just realize it's not easy to use and

Re: How to use ssmtp ?

2003-03-14 Thread a12
Tino, Google reveals several mailfile. Which one do you use ? Marek Tino Lange wrote: Jason Tishler wrote: Forget about ssmtp! Really. As you just realize it's not easy to use and if you want to send files it's not useable at all, since it has a limit of mails = 4k size. The above size

Mail sent by cron fails

2003-03-19 Thread a12
Hi gurus, In the process of mailing messages using cron, I have created /var/cron/tabs/sysaccount: SHELL=/bin/sh # mail any output to 'sysaccount', no matter whose crontab this is MAILTO=sysaccount # 0 * * * * /cygdrive/h/blat/blat.exe ssmtp -f [EMAIL PROTECTED] -f [EMAIL PROTECTED] -server

Mail from cron yields error

2003-03-20 Thread a12
Hi gurus, In the process of mailing messages using cron, I have created /var/cron/tabs/sysaccount: SHELL=/bin/sh # mail any output to 'sysaccount', no matter whose crontab this is MAILTO=sysaccount # 0 * * * * /cygdrive/h/blat/blat.exe ssmtp -f [EMAIL PROTECTED] -f [EMAIL PROTECTED] -server

cron fails

2003-03-20 Thread a12
Hi gurus, My crontab contains: SHELL=/bin/sh MAILTO=sysaccount 15 * * * * echo $USER $HOME/c.log I have checked /home/sysaccount, and there is no c.log there. What have I missed here ? Marek -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting:

ssmtp issued by cron fails

2003-03-20 Thread a12
Hi gurus, My crontab contains: SHELL=/bin/sh MAILTO=sysaccount 15 * * * * echo $USER $HOME/c.log For some reasons this crontab fails, and cron issues a request to ssmtp to notify the user, as I can see in Windows Event Log: sSMTP mail : PID 1032 : /usr/sbin/ssmtp sent mail for sysaccount.

cron does not work

2003-03-21 Thread a12
Hi gurus, I cannot make cron to execute. /var/cron/tabs/sysaccount contains: MAILTO=sys 10 * * * * ls -l a.log I have checked the entire c:, and have not found a.log anywhere. I have also checked Windows Event Log, and have not found any anomalies there. I have cygwin 1.3.21-1 and cron

Default home dir: /cygdrive/c

2003-05-31 Thread a12
Hi gurus, After installing successfully Cygwin on several NT4/2K hosts, I have encountered a strange problem: [EMAIL PROTECTED] ~ $ pwd /cygdrive/c instead of: /home/isoft Why ? Cygwin was installed using Windows user isoft, that belongs to Administrators group. A simple check of CYGWIN and

No /home created after install

2004-09-21 Thread a12
Hello cygwin gurus, I have just fetched and installed Cygwin base. When I click on the Cygwin icon, 'pwd' yields /cygdrive/c, and 'ls -l' yields: total 76 drwxrwxrwx+ 2 Sysaccou Users 53248 Sep 21 12:17 bin -rwxrwxrwx1 Sysaccou Users 57 Sep 21 12:17 cygwin.bat -rwxrwxrwx1

Re: No /home created after install

2004-09-21 Thread a12
Hello again, I have found the culprit. My DOS environment contained variable HOME, so echo %HOME% yielded: C:\ By renaming HOME to HOME.org, and rebooting the PC, followed by a new Cygwin install, the problem vanished. Have a nice day. a12 wrote: Hello cygwin gurus, I have just fetched

ssh-host-config requires cygminires.dll

2004-09-28 Thread a12
Hello Cygwin users, I have installed openssl and openssh. Host configuration with: cd /bin ssh-host-config -y tells me about missing cygminires.dll Thereafter the configuration continues: Generating /etc/ssh_host_key Generating /etc/ssh_host_rsa_key Generating /etc/ssh_host_dsa_key Generating

Re: ssh-host-config requires cygminires.dll

2004-09-28 Thread a12
and got the same error as before: cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. Any hints ? Igor Pechtchanski wrote: On Tue, 28 Sep 2004, a12 wrote: Hello Cygwin users, I have installed openssl and openssh. Host configuration with: cd /bin

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread a12
: The service CYGWIN sshd ended unexpectedly. It has done 1 time(s). The following action will be done in 0 milliseconds. No action. Any new hints ? Igor Pechtchanski wrote: On Tue, 28 Sep 2004, a12 wrote: Hello Igor, Pardon me for my ignorance about not ataching the cygcheck output. I have run Cygwin

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread a12
service OK. I have also verified the connection by: ssh localhost ssh_host_*_key.pub are owned by the user that has run ssh-host-config Is it OK ? Brian Dessent wrote: a12 wrote: I have also tried: cygrunsrv -S -D sshd with the following response: cygrunsrv: trailing commandline argument

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread a12
Thank you very much for your reply. Brian Dessent wrote: a12 wrote: /usr/share/doc/Cygwin/openssh.README states: If you start sshd as deamon via cygrunsrv.exe you MUST give the -D option to sshd. Otherwise the service can't get started at all. That isn't telling to you use -D

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread a12
Hello again, I have just checked the ownership of .pub files, and they are readable by everyone. Brian Dessent wrote: Brian Dessent wrote: ssh_host_*_key.pub are owned by the user that has run ssh-host-config Is it OK ? If you ran the above commands they should be owned by SYSTEM. The idea

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread a12
: On Wed, 29 Sep 2004, a12 wrote: Hello again, Following your hint, I checked /usr/share/doc/Cygwin/openssh.README, and entered: ssh-host-config -y ssh-user-config -y cygrunsrv -S sshd yielded: cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. I

Unexpected output on ssh exit

2003-10-15 Thread a12
Hello, I have just installed Cygwin and ssh. ssh is working as expected, except when I terminate the connection, I get the following output: [EMAIL PROTECTED] $ exit Connection to rdb closed. \[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\03[0m\] As far as I can understand the output is supposed

Re: Unexpected output on ssh exit

2003-10-16 Thread a12
The problem has vanished. Because I rebooted my PC ? Marek Larry Hall wrote: At 07:05 AM 10/15/2003, a12 you wrote: Hello, I have just installed Cygwin and ssh. ssh is working as expected, except when I terminate the connection, I get the following output: [EMAIL PROTECTED] $ exit Connection

Re: Install of predefined packages

2002-12-18 Thread a12
Original Message: - From: a12 [EMAIL PROTECTED] Date: Fri, 13 Dec 2002 15:40:59 +0100 To: [EMAIL PROTECTED] Subject: Install of predefined packages Hello cygwin gurus, Pardon my ignorance but after scanning mailing lists online, I have not found any hints to my question

Cygwin deinstall

2002-12-18 Thread a12
Hi gurus, How do I remove completely Cygwin ?

How do I start two commands in .bat ?

2003-01-14 Thread a12
Hello gurus, In my ongoing process of starting ssh and vncviewer in one .bat file, I have created the following: rem @echo off chdir C:\cygwin\bin bash --login -i -c ssh -L 5901:derqjzp:5900 -C isoft@derqjzp /cygdrive/c/program files/realvnc/vncviewer.exe I enter the isoft's password, and ssh

Cannot access Sun server via VNC

2005-05-02 Thread a12
Hello X users, I have just installed XFree, and I can access a Sun server using: XWin.exe -query host When I try to access another Sun server using Cisco VPN, only X window is shown, but I do not get any login window from the server. Is it possible to access a Sun server using VPN ? Regards,

Re: Cannot access Sun server via VNC

2005-05-02 Thread a12
Hello Alexander, Thank you very much for your quick reply. I will try your hint tonight. Regards, Marek Alexander Gottwald skrev: On Mon, 2 May 2005, a12 wrote: Hello X users, I have just installed XFree, and I can access a Sun server using: XWin.exe -query host When I try to access another Sun

Cannot connect to a Sun server using xterm

2005-05-02 Thread a12
Hello X users, I access a Sun server using: XWin.exe -query sun-host I login, and start an application in the Sun server correctly. When I start xterm using startxwin.bat, and then I start xterm to a Sun server using: xterm -e /bin/telnet sun-host I get a new xterm window from the Sun server,

Re: Cannot connect to a Sun server using xterm

2005-05-02 Thread a12
password. Any hints ? Regards, Marek Alexander Gottwald skrev: On Mon, 2 May 2005, a12 wrote: Hello X users, I access a Sun server using: XWin.exe -query sun-host I login, and start an application in the Sun server correctly. When I start xterm using startxwin.bat, and then I start xterm to a Sun server

Re: Cannot connect to a Sun server using xterm

2005-05-02 Thread a12
Gottwald skrev: On Mon, 2 May 2005, a12 wrote: Password: Whatever I entered as the password, the password question reappeared, and eventually the ssh window was closed. When I installed Cygwin ssh, I did not use any password. Any hints ? You are connecting to the sun server and must provide

Re: Cannot connect to a Sun server using xterm

2005-05-02 Thread a12
Hi, When I enter in the PC window: ssh -Y [EMAIL PROTECTED] I get a request for password, and I am logged into the Sun host. Then I start the graphical application in the Sun host, and I get the following error message: X11 connection rejected because of wrong authentication. X connection to

Re: Cannot access Sun server via VNC

2005-05-02 Thread a12
open display winDeinitMultiWindowWM - Noting shutdown in progress Any hints ? Regards, Marek a12 wrote: Hello Alexander, Thank you very much for your quick reply. I will try your hint tonight. Regards, Marek Alexander Gottwald wrote: On Mon, 2 May 2005, a12 wrote: Hello X users, I have just installed

Re: Cannot access Sun server via VNC

2005-05-02 Thread a12
to something else ? May the refused connection on port 6000 be caused by a firewall setting ? Regards, Marek Alexander Gottwald wrote: On Mon, 2 May 2005, a12 wrote: Fatal server error: XDMCP fatal error: Session failed Session 2 failed for display 192.168.0.3:0: Cannot open display

Re: Cannot connect to a Sun server using xterm

2005-05-03 Thread a12
shutdown). Any hints ? Regards, Marek Alexander Gottwald wrote: On Mon, 2 May 2005, a12 wrote: Hi, When I enter in the PC window: ssh -Y [EMAIL PROTECTED] I get a request for password, and I am logged into the Sun host. Then I start the graphical application in the Sun host, and I get the following

Could not init font path element

2005-05-03 Thread a12
Hello X users, When I enter: XWin.exe -query sun-host I see in the Cygwin window: Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! Could not init font path element

Clipboard is not enabled

2005-05-03 Thread a12
Hello X users, When I enter: XWin.exe -query sun-host I see in the Cygwin window: winProcEstablishConnection - Hello winProcEstablishConnection - Clipboard is not enabled, returning. Is it a normal procedure, or should I enable the clipboard by some means ? Regards, Marek

Re: Clipboard is not enabled

2005-05-03 Thread a12
Hello, Thank you very much for your quick adequate reply. Regards, Marek Alexander Gottwald wrotev: On Tue, 3 May 2005, a12 wrote: Hello X users, When I enter: XWin.exe -query sun-host I see in the Cygwin window: winProcEstablishConnection - Hello winProcEstablishConnection - Clipboard

Re: Could not init font path element

2005-05-03 Thread a12
Hello, Thank you very much for your quick adequate reply. Regards, Marek Alexander Gottwald wrotev: On Tue, 3 May 2005, a12 wrote: Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list! xorg-x11-fscl Could not init font path element /usr/X11R6/lib/X11/fonts/Type1

Re: Cannot connect to a Sun server using xterm

2005-05-03 Thread a12
connection to localhost:10.0 broken (explicit kill or server shutdown). What about this message ? Regards, Marek Alexander Gottwald wrote: On Tue, 3 May 2005, a12 wrote: Hello again, I logged into sun host again, and entered: xauth remove localhost:10.0 [not del] Then I started the graphical

Re: Cannot connect to a Sun server using xterm

2005-05-04 Thread a12
Hello, Pardon my ignorance, but what am I supposed to do to solve the problem ? Regards, Marek Alexander Gottwald skrev: On Tue, 3 May 2005, a12 wrote: connect /tmp/.X11-unix/X0: No such file or directory X connection to localhost:10.0 broken (explicit kill or server shutdown). What about

Re: Cannot connect to a Sun server using xterm

2005-05-04 Thread a12
Which means: use XDMCP don't use xterm. Please correct me, if I am wrong. Regards, Marek Alexander Gottwald skrev: On Wed, 4 May 2005, a12 wrote: Hello, Pardon my ignorance, but what am I supposed to do to solve the problem ? Start XWin.

Re: Cygwin deinstall

2002-12-19 Thread a12
Hi Michael, Thank you for your reply. Following your suggestion I mail this entry to [EMAIL PROTECTED] Michael A Chase wrote: On Thu, 19 Dec 2002 11:41:52 +0100 a12 [EMAIL PROTECTED] wrote: I should have rephrased the question to: How do I remove C:\cygwin\var\log\OpenSSHd.log