Re: screen reattach not working under ssh?
Damjan Lango wrote: I'm still having problems with reattaching screen under ssh sessions. Does it work to anybody at all? ssh + screen + vista anyone? sigh :( I have had some success using vista 64 bit. Not frequently used, though. Jim -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
screen reattach not working under ssh?
I'm still having problems with reattaching screen under ssh sessions. Does it work to anybody at all? ssh + screen + vista anyone? sigh :( -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: screen reattach not working?
I have tried with an user that is in administrators group and it still doesn't work. and the cat socket error really is no such device or address and the same is reported in rxvt so I guess we can't conclude from that that permissions are a problem. What other info can I provide? Should I strace screen and send the output? Has anyone got screen reattach working under Vista? On 2007-10-04, Damjan Lango wrote: I tried sshing in over putty and also from a linux gnome-term on a different machine. Btw, I'm using Vista, is this a problem perhaps? Also the user I'm ssh-ing into does not have administrator privleges, might try changing that. I tried to do a cat /tmp/uscreens/S-name/socket-name and it says permission denied CYGWIN is set to ntsec tty /etc/passwd is created using mkpasswd -l and ssh confugred using ssh-host-config -y or what was that command again what else could be interesting? I think that screen does bad at error reporting either it doesn't say anything or it blurps some strange messages like, you die in a dungeon or something. btw, after checking processes with ps I can see that screen and bash are running, i just can't attach to that screen session. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: screen reattach not working?
Andrew Schulman wrote: Andrew Schulman wrote: Hi! What is the current status of screen reattach? For me it does not work under the default cygwin bash shell, which uses cmd console afaik and it does not work under cygwin sshd. The only way it works is under cygwin rxvt. I would most like to use it under sshd. What's the magic to make it work? :) Hi Damjan. There's information about this in /usr/share/doc/screen/README.Cygwin. Read that, but the short version is that all features of screen are supposed to work correctly in a DOS console with CYGWIN=tty (set before you open the console), and in rxvt, PuTTYcyg, and xterm. I'm not sure about an ssh session. If it will work from a DOS console with CYGWIN=tty, it should work fine from ssh. I have read the screen/README.Cygwin and couldn't find a solution. I have set the CYGWIN=tty ntsec but it does not work anywhere except rxvt. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: screen reattach not working?
Correction: besides rxvt, screen also works in xterm. However I can't get screen working in the default cygwin CMD console running bash and also can't get it working over ssh. On 2007-10-05, Damjan Lango wrote: I have read the screen/README.Cygwin and couldn't find a solution. I have set the CYGWIN=tty ntsec but it does not work anywhere except rxvt. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: screen reattach not working?
Another update on my screen adventures, please accept my apologies since i'm posting so frequently. I have removed completely the /tmp/uscreens/S-Damjan directory and it's contents and killed all the cygwin processes. Now screen reattaching works in CMD cygwin bash window as well (and rxvt and xterm) But still no luck with ssh. If I run screen under ssh, then detach it and then try to re-attach under ssh nothing happens, screen -r just exits with no message. If I try to attach to that screen from a local CMD bash window I get the following message: Suddenly the Dungeon collapses!! - You die... btw ps -e under ssh and under local cmd window do not show the same processes even though id reports the same user. It seems to me that there might be some problem with privileges under ssh or something? what else can I try? :) On 2007-10-05, Damjan Lango wrote: Correction: besides rxvt, screen also works in xterm. However I can't get screen working in the default cygwin CMD console running bash and also can't get it working over ssh. On 2007-10-05, Damjan Lango wrote: I have read the screen/README.Cygwin and couldn't find a solution. I have set the CYGWIN=tty ntsec but it does not work anywhere except rxvt. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: screen reattach not working?
As I see you're requesting cygcheck -s -v -r output for other problems, I'm attaching it here as well if it helps with my ssh / screen reattach problem. btw, when cygcheck completed, it also reported: 'id' program not found 'id' program not found but id is working fine: $ id uid=1000(Damjan) gid=513(None) groups=513(None),544(Administrators),545(Users) $ type id id is hashed (/usr/bin/id) On 2007-10-05, Damjan Lango wrote: Another update on my screen adventures, please accept my apologies since i'm posting so frequently. I have removed completely the /tmp/uscreens/S-Damjan directory and it's contents and killed all the cygwin processes. Now screen reattaching works in CMD cygwin bash window as well (and rxvt and xterm) But still no luck with ssh. If I run screen under ssh, then detach it and then try to re-attach under ssh nothing happens, screen -r just exits with no message. If I try to attach to that screen from a local CMD bash window I get the following message: Suddenly the Dungeon collapses!! - You die... btw ps -e under ssh and under local cmd window do not show the same processes even though id reports the same user. It seems to me that there might be some problem with privileges under ssh or something? what else can I try? :)| cygcheck.out Description: Binary data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
screen reattach not working?
Hi! What is the current status of screen reattach? For me it does not work under the default cygwin bash shell, which uses cmd console afaik and it does not work under cygwin sshd. The only way it works is under cygwin rxvt. I would most like to use it under sshd. What's the magic to make it work? :) Thanks, Damjan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: screen reattach not working?
On 2007-10-04, Damjan Lango wrote: Hi! What is the current status of screen reattach? For me it does not work under the default cygwin bash shell, which uses cmd console afaik and it does not work under cygwin sshd. The only way it works is under cygwin rxvt. I would most like to use it under sshd. What's the magic to make it work? :) I just tested my setup and it works fine. I didn't set up anything specially as far as I know. +---+ ++ ++ | Windows | | Solaris| | Cygwin | | +---+ | rlogin | ++ | | ++ | | | | | VPN| || | ssh | || | | | PuTTy |--| ksh |---| bash | | | | | | | | screen | | | | screen | | | | | | | | ksh | | | | bash | | | +---+ | | ++ | | ++ | | | || || +---+ ++ ++ I can detach the screen session running under Cygwin, log out and back in, reconnect screen and the screen window looks the same as when I detached. I would not expect screen to work from a console. What kind of terminal are you using when you try to use it under cygwin sshd? Regards, Gary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: screen reattach not working?
On 2007-10-04, Gary Johnson wrote: On 2007-10-04, Damjan Lango wrote: Hi! What is the current status of screen reattach? For me it does not work under the default cygwin bash shell, which uses cmd console afaik and it does not work under cygwin sshd. The only way it works is under cygwin rxvt. I would most like to use it under sshd. What's the magic to make it work? :) I just tested my setup and it works fine. I didn't set up anything specially as far as I know. [...] I would not expect screen to work from a console. What kind of terminal are you using when you try to use it under cygwin sshd? I just tried another experiment. From a default Cygwin bash shell running in a console, I ssh'd to another machine running Cygwin, ran screen there, detached, logged out, ssh'd back in, and reattached screen. Again, it worked fine. I was wrong about screen not working from a console. Regards, Gary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: screen reattach not working?
I tried sshing in over putty and also from a linux gnome-term on a different machine. Btw, I'm using Vista, is this a problem perhaps? Also the user I'm ssh-ing into does not have administrator privleges, might try changing that. I tried to do a cat /tmp/uscreens/S-name/socket-name and it says permission denied CYGWIN is set to ntsec tty /etc/passwd is created using mkpasswd -l and ssh confugred using ssh-host-config -y or what was that command again what else could be interesting? I think that screen does bad at error reporting either it doesn't say anything or it blurps some strange messages like, you die in a dungeon or something. btw, after checking processes with ps I can see that screen and bash are running, i just can't attach to that screen session. On 2007-10-04, Gary Johnson wrote: On 2007-10-04, Gary Johnson wrote: On 2007-10-04, Damjan Lango wrote: Hi! What is the current status of screen reattach? For me it does not work under the default cygwin bash shell, which uses cmd console afaik and it does not work under cygwin sshd. The only way it works is under cygwin rxvt. I would most like to use it under sshd. What's the magic to make it work? :) I just tested my setup and it works fine. I didn't set up anything specially as far as I know. [...] I would not expect screen to work from a console. What kind of terminal are you using when you try to use it under cygwin sshd? I just tried another experiment. From a default Cygwin bash shell running in a console, I ssh'd to another machine running Cygwin, ran screen there, detached, logged out, ssh'd back in, and reattached screen. Again, it worked fine. I was wrong about screen not working from a console. Regards, Gary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: screen reattach not working?
Hi! What is the current status of screen reattach? For me it does not work under the default cygwin bash shell, which uses cmd console afaik and it does not work under cygwin sshd. The only way it works is under cygwin rxvt. I would most like to use it under sshd. What's the magic to make it work? :) Hi Damjan. There's information about this in /usr/share/doc/screen/README.Cygwin. Read that, but the short version is that all features of screen are supposed to work correctly in a DOS console with CYGWIN=tty (set before you open the console), and in rxvt, PuTTYcyg, and xterm. I'm not sure about an ssh session. In fact though, I've had some trouble reattaching to old sessions (I use PuTTYcyg), but it's nothing I've ever been able to pin down. The older the sessions get, the more likely they are to be bad and then I have to -wipe them, and manually kill any of their child processes. Please keep posting test reports about screen so I can try to figure out what's going on. Thanks, Andrew. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: screen reattach not working?
Andrew Schulman wrote: Hi! What is the current status of screen reattach? For me it does not work under the default cygwin bash shell, which uses cmd console afaik and it does not work under cygwin sshd. The only way it works is under cygwin rxvt. I would most like to use it under sshd. What's the magic to make it work? :) Hi Damjan. There's information about this in /usr/share/doc/screen/README.Cygwin. Read that, but the short version is that all features of screen are supposed to work correctly in a DOS console with CYGWIN=tty (set before you open the console), and in rxvt, PuTTYcyg, and xterm. I'm not sure about an ssh session. If it will work from a DOS console with CYGWIN=tty, it should work fine from ssh. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/