Comments for rdesktop
23 Jul 2009 08:47
With reference to the first comment: 25 Jul 2005 13:41 by rfong1
I tend to use seldomly rdesktop ... but when I need it it's really mandatory.
I thus tend to forget the -n workaround ... I wrote a wrapper script whis does it automatically (generating a new random hostname when old temporary licence gets "connection reset by peer".
The wrapper also sets sensible size for the rdesktop window by using xrandr where possible or some sane default values where xrandr is not working (ie in VNC):
ORG_COMMAND="$*"
X_MARG=4
Y_MARG=54
CURR_SIZE=$(xrandr 2>/dev/null| grep "current" |awk -F, '{print $2}' |tr -d 'a-z' |sed -e "s/ */ /g")
[ -z $CURR_SIZE ] && CURR_SIZE="1004 754"
set -- $CURR_SIZE
X_RD_W_SIZE=$(expr $1 - $X_MARG)
Y_RD_W_SIZE=$(expr $2 - $Y_MARG)
RD_W_SIZE="${X_RD_W_SIZE}x${Y_RD_W_SIZE}"
rdesktop.bin -g $RD_W_SIZE $ORG_COMMAND
if [ $? -eq 141 ]
then
LICS=$(cd ~/.rdesktop ; ls -r licence.* |cut -d "." -f 2)
for LIC in $LICS
do
echo -n "$LIC : "
rdesktop.bin -n $LIC -g $RD_W_SIZE $ORG_COMMAND
STATUS=$?
[ $STATUS -ne 141 ] && break
done
[ $STATUS -eq 141 ] && rdesktop.bin -n $(mcookie |cut -b -8 |tr "0-9" "a-j") -g $RD_W_SIZE $ORG_COMMAND
echo
fi
25 Jul 2005 13:41
Re: tcp_recv read: disconnecting
You will get the message:
ERROR: recv: Connection reset by peer
Broken pipe
if a client side license is missing.
Try running "-n testme"
./rdesktop -n testme yourservername
The "-n" will choose a client name and therefore be given a 90 day temporary license for that client. After 90 days,
change "-n testme" to a different name, such as "testme2". You can do this indefinitely.
Some versions of rdesktop use the --built-in-license flag as well.
22 Jan 2004 11:10
Re: rdesktop with color depth more than 8 bit
> Does any one know how to make Windows
> 2000 TS to accept more color than the
> default 8-bit with RDP client.
>
> DHM
Windows 2000 Terminal Services is limited to 256 colors!
DO
04 Dec 2003 08:45
rdesktop with color depth more than 8 bit
Does any one know how to make Windows 2000 TS to accept more color than the default 8-bit with RDP client. rdesktop 1.3.0 can specify the color depth using -a. But I'm not able to get more than default 8-bit. Specifying anything else would just kill the connection because server cannot take it.
DHM
30 Oct 2003 02:02
Absolute legends...
To all the developers and people who have contributed to the rdesktop project I would like to convey my absolute, heartfelt, warmest thanks for what must truly be one of the stand-out gems of the open-source world. This ranks right up there with Samba as one of the projects that I showcase anytime I want to demonstrate the superior flexibility, configurability, interoperability, and every other damn thing about Free Software that makes it such a fantastic solution for so many situations. You all have done a fantastic job, and haven't let me down with the release of 1.3.0!
15 Oct 2003 02:23
Can not run install !
Sorry, I can not run intall, pls help me to resolve this pro.
[root@localhost rdesktop-1.2.0]# ./configure
bash: ./configure: No such file or directory
12 Sep 2003 00:09
Re: rdesktop and win2k3
hello
could u plz tell me where i find the patch & how to install update patch. I want windows2003 in 16 bit color mode through rdesktop.
Plz help me to do this
Thanks in advance
15 Jul 2003 09:15
Windows Server 2003, SGI-Irix
Hi,
First let me thank you for a so useful tool. And free...
I'd like to know if I can run it under the UNIX of Silicon-Graphics (Irix).
In addition, I'd like to know if I can run it against a Windows Server 2003 (as the server - where the desktop really belongs to).
Thanks!
23 Jun 2003 03:21
Re: Compiler problem under Solaris
> gcc
> -DKEYMAP_PATH=\"/usr/local/share/rdesktop/keymaps/\"
> -Wall -O2 -I/usr/openwin/include
> -I/usr/local/include -DWITH_OPENSSL -o
> tcp.o -c tcp.c
> tcp.c: In function `tcp_connect':
> tcp.c:117: `INADDR_NONE' undeclared
> (first use this function)
> tcp.c:117: (Each undeclared identifier
> is reported only once
> tcp.c:117: for each function it appears
> in.)
> make: *** [tcp.o] Error 1
>
> Would be great if anybody can give me
> some pointers on what's missing ...
INADDR_NONE is missing. I've patched rdesktop.h and it worked:
diff rdesktop-1.2.0/rdesktop.h rdesktop-1.2.0-dirk/rdesktop.h
47a48,51
>
> #ifndef INADDR_NONE
> #define INADDR_NONE ((unsigned long) -1)
> #endif
Dirk.
BTW: forgot to mention that the wrapper script also attempts to use any other licenses it finds in ~/.rdesktop/ before generating a new one.
You might like to remove ant dead licenses every now and then ;-)