Re: rdesktop terminates with broken pipe trying to login to Windows 7 Professional

[email protected] Tue, 21 Aug 2012 20:11:35 -0600
Newsgroups gmane.network.rdesktop.user
Message-ID <[email protected]>
On 2012-08-21 20:09, [email protected] wrote:
> So I have an ssh tunnel setup from a Windows 7 Professional machine
> to a Linux machine. The forwarded port shows up just fine on the 
> Linux
> machine:
>
>     $ netstat -tln
>     Active Internet connections (only servers)
>     Proto Recv-Q Send-Q Local Address           Foreign Address       
>  State
>     tcp        0      0 127.0.0.1:3389          0.0.0.0:*
>  LISTEN
>     ...
>     tcp6       0      0 ::1:3389                :::*
>  LISTEN
>
> When I try to rdesktop to the Windows machine on the other end the
> login screen comes up just fine, but when I hit enter after typing 
> the
> username and password I get this:
>
>     $ rdesktop localhost
>     Autoselected keyboard map en-us
>     WARNING: Remote desktop does not support colour depth 24; falling
> back to 16
>     #[I enter valid user name and password here. welcome screen with
> little spinning circle is shown in the rdesktop window. But then:]
>     ERROR: Connection closed
>     ERROR: send: Broken pipe
>     ERROR: Connection closed
>     ERROR: Connection closed
>     ERROR: send: Broken pipe
>     $ echo $?
>     63
>
> The ssh tunnel is still up just fine. I can try again.
>
> I have no idea how to proceed to make this work. Help please.
>
> Both machines are dual monitor setups, if by any chance that matters.

I just tried specifying to ipv4 and that error is a little more 
verbose.

     $ rdesktop -4 localhost
     Autoselected keyboard map en-us
     WARNING: Remote desktop does not support colour depth 24; falling 
back to 16
     NOT IMPLEMENTED: System pointer message 0x7f00
     ERROR: Connection closed
     ERROR: send: Broken pipe
     ERROR: send: Broken pipe
     ERROR: Connection closed
     ERROR: Connection closed
     ERROR: send: Broken pipe
     X Error of failed request:  BadAtom (invalid Atom parameter)
       Major opcode of failed request:  23 (X_GetSelectionOwner)
       Atom id in failed request:  0x0
       Serial number of failed request:  1976
       Current serial number in output stream:  1976


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/