2008年 1月 23日 水曜日
|
|
Messages in cipher reflected in the looking glass [ Yasuhiro Fujitsuki's Weblog ] |
(EN) xrdp 0.4.0 on Solaris Express
http://xrdp.sourceforge.net/
Xrdp is a RDP server software for linux.
In default Linux environment, we can transfer X11 application with ssh -X or X protcol.
Default Windows environment has no function to display X11 application
(Windows requires X11 server application like cygwin-X11, reflection X and so on).
To use xrdp, Windows can connect to Linux with Windows Terminal Services
client.
Xrdp is for Linux, so
it is not possible to compile on Solaris without change.
I wrote patches of xrdp for Solaris Express environment.
-
xrdp-0.4.0-ja.gdiff : patch to add Japanese Keyboard layout to xrdp/lang.c
force change of keymap when LANG is ja(0x0411) or ja-JP.unicode(0xe000411). - xrdp-0.4.0-sxce.gdiff : Pathes for Solaris Express environment
- startwm.sh : Sample file of startwm.sh for Japanese environemnt.
The way to apply patches except startwm.sh is as follows .
startwm.sh is a shell script, if you want to use it , please overwrite /usr/local/xrdp/startwm.sh .
# gpatch -p0 < xrdp-0.4.0-ja.gdiff
The outline of xrdp-0.4.0-sxce.gdiff is as follows.
- Changed from 'make' to 'gmake' in all Makefile.
- Changed 'install' to '/usr/ucb/install'
- Deleted '-ldl' option of LIBS in libxrdp/Makefile
- Added '-D_POSIX_PTHREAD_SEMANTICS' to DEFINES and '-lsocket' to LDFLAGS in sesman/Makefile .
- Deleted '-lpthread' flag from LDFLAGS in sesman/libscp/Makefile .
- Added '-lsocket' to LDFLAGS in sesman/tools/Makefile .
- Deleted g_setenv("SHELL", pw_shell, 1); from sesman/env.c
# Sesman get Segmentation Fault to exec this line. - Changed xrdp_control.sh to run on Solaris.
The way to build software is as follows. (tcsh)
# setenv PATH $PATH":/usr/sfw/bin" # setenv LD_LIBRARY_PATH /usr/lib:/usr/ccs/lib:/usr/sfw/lib # setenv LD /usr/sfw/bin/gld # # gmake # gmake install
To run xrdp is as follows.
# /usr/local/xrdp/xrdp_control.sh start
Connected to xrdp server with rdesktop (login screen)
Posted at 04:28午後 1 23, 2008 by Yasuhiro Fujitsuki in Linux & Solaris(EN) |
