rdesktop

I have instaled FreeBSD 8.1-RELEASE and i install rdesktop from ports. When i run comand
Code:
rdesktop -u:username -p:****** -f -d: x.y.z.w
i get that
Code:
No protocol specified
ERROR: Failed to open display: :0.0
I use to connect to a windows xp
 
You aren't putting colons in there are you? This is the simplest command that works for me:

Code:
rdesktop w.x.y.z

where w.x.y.z is the host you want to connect to. Does that work for you?

Also, you are running this in X as the same user logged in to X right?
 
I i try this
Code:
rdesktop x.y.z.w
i've get
Code:
ERROR: 192.168.100.3: unable to connect
 
Is there some sort of firewall running on the windows box? Assuming the remote desktop service on the windows box is running on the default port , 3389, can you telnet to that port from the freebsd box? That is, can you do

Code:
telnet 192.168.100.3 3389
?
 
The firewall is turned of , i do not have antivirus instaled because that pc is in a local lan
Code:
telnet 192.168.100.3
Trying 192.168.100.3...
telnet: connect to address 192.168.100.3: Connection refused
telnet: Unable to connect to remote host
Code:
telnet 192.168.100.3 3389
Trying 192.168.100.3...
telnet: connect to address 192.168.100.3: Connection refused
telnet: Unable to connect to remote host
I thought to do this thing
Code:
ping 192.168.100.3
PING 192.168.100.3 (192.168.100.3): 56 data bytes
64 bytes from 192.168.100.3: icmp_seq=0 ttl=128 time=0.269 ms
64 bytes from 192.168.100.3: icmp_seq=1 ttl=128 time=0.215 ms
^C
--- 192.168.100.3 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss

If i try from the cmd in windows
Code:
telnet 127.0.0.1 3389
Connecting To 127.0.0.1...
Could not open connection to the host , on port 3389:Connect failed
 
So it seems the problem is with the windows remote desktop setup. The only thing I can suggest for that is to google.
 
I would suggest running the remote-desktop client from windows.

Code:
Start > Run > mstsc /v:127.0.0.1

If it is running, you should get an error saying that there is already a connection to a console session and that another one cannot be started. This will at least tell you if the remote-desktop server-process is running.
 
Back
Top