Hi Alessandro,

I managed to solve the problem. It seems that there was an issue with xrdp 
version. Here is what I did:

I installed it to SLES 11 x86_64:

1. Downloaded source rpm: xrdp-0.5.0-0.13.el5.src.rpm
2. rpm -ivh xrdp-0.5.0-0.13.el5.src.rpm
3. in /usr/src/packages/SPECS/xrdp.spec file:
        Change from:
                   Buildrequires:  libX11-devel
                     BuildRequires:  libXfixes-devel
        To:
                         Buildrequires:  xorg-x11-libX11-devel
                         BuildRequires:  xorg-x11-libXfixes-devel
4. If installed all of the prerequisite, should be able to:  rpmbuild -bb 
xrdp.spec
5. rpm -ivh /usr/src/packages/RPMS/x86_64/xrdp-0.5.0-0.13.x86_64.rpm --nodeps
6. mv /etc/rc.d/init.d/xrdp /etc/init.d/xrdp
7. you should do minor changes in /etc/init.d/xrdp
8. edit /etc/xrdp/xrdp.ini, and change to "ip=0.0.0.0"
9. edit /etc/xrdp/sesman.ini, and change to "ip=0.0.0.0" and delete param5 in 
Xvnc section. Param6 and param7 rename to param5 and param6.
10. mv /etc/xrdp/startwm.sh /etc/xrdp/startwm.sh.ORIG
11. put new /etc/xrdp/startwm.sh (see to the bottom for this script)
12. If everything well:  /etc/init.d/xrdp start
13. start xrdp on every reboot:   chkconfig xrdp --level 35 on


Startwm.sh:

#!/bin/sh

export LANG=en_US
export XKL_XMODMAP_DISABLE=1
gconftool-2 -t bool --set /apps/gnome_settings_daemon/plugins/keyboard/active 
false
setxkbmap /etc/defkeymap.map
#gconftool-2 -t list --list-type=string --set 
/desktop/gnome/peripherals/keyboard/kbd/layouts [damnlayouts]
. /etc/X11/xdm/Xsession



Zlatko




________________________________
PRAVNE NAPOMENE:
Sadržaj ove poruke i eventualno priloženih datoteka je povjerljiv i namijenjen 
isključivo osobama ili subjektima na koje je poruka naslovljena. Bilo kakvo 
kopiranje, distribuiranje, modificiranje ili prenošenje bilo kojeg dijela ove 
poruke, izrijekom je zabranjeno. Ukoliko primatelj ove poruke nije namjeravani 
i/ili ovlašteni primatelj, molimo obavijestiti pošiljatelja, a poruku i sve 
njene priloge odmah, bez čitanja, trajno ukloniti iz računalnog sustava. Iako 
smo poduzeli sve razumne korake osigurati slanje ove poruke bez virusa, 
primitak istih ne možemo isključiti. Hrvatska pošta d.d. isključuje svoju 
odgovornost za eventualnu štetu nastalu primitkom i/ili korištenjem ove poruke 
kao i priloga sadržanih u poruci. Sadržaj, stavovi i mišljenja izneseni u 
poruci su od osobe pošiljatelja i ne predstavljaju nužno stavove Hrvatske pošte 
d.d.

DISCLAIMER: The contents of this email as well as any file attached to it are 
confidential and intended solely for individuals or entities whom they are 
addressed to. Any copying, distribution, modification or disclosure of any part 
of information contained herein is prohibited. If the recipient of this message 
is not intended and/or authorized recipient, please notify the sender and 
permanently remove the message and all attached files from your system without 
reading. Although we have taken reasonable step to ensure that this email and 
attachments are free from any virus, the receipt of such we can not exclude. 
Croatian Post Inc. accepts no liability for any potential damage caused by the 
receipt and/or usage of this message and files attached to it. The thoughts and 
opinions expressed in this message are the sender's alone and do not 
necessarily represent the opinion of Croatian Post Inc.
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to