Page 1 of 1

Re: complie RDP client

Posted: Sat Nov 20, 2010 9:20 pm
by geo650
cybercom78 wrote:Can anybody compile rdesktop...
I think you must compile SDL version of Rdesktop. I've found this:
http://www.soulsphere.org/hacks/rdesktop-sdl/

I was trying to run SDL Rdesktop. Compiled successfully, but it doesn't work. I have no time to check what is wrong, but someone can try. I didn't read original source code at all. My changes were:

1) edit rdesktop.c and add Game_Main function

Code: Select all

/* Samsung Content Library main entry point function */
int Game_Main(const char *, const char *);
int Game_Main(const char *path, const char *udn __attribute__ ((unused)))
{
	#define PARS 3
	char *argv[2+PARS] = {"", "-u loginname", "-p password", "server_IP_address", ""};
	int argc = 1+PARS;

	main(argc, argv);
}
2) edit Makefile:

Code: Select all

CC       = arm-SamyGO-linux-gnueabi-gcc
CFLAGS   = -shared -O2 -g
INCLUDES = -I/usr/X11R6/include `arm-SamyGO-linux-gnueabi-sdl-config --cflags`
LDLIBS   = #-L/usr/X11R6/lib `arm-SamyGO-linux-gnueabi-sdl-config --libs`
then configure and make...
Rename rdesktop to rdesktop.so and add clmeta.dat.

This is only the beginning. I think it is possible to make it working on Samsung TV.

BTW, have anybody compiled SDL-VNC client for Samsung with success?