I was looking for something similar to Terminal Services only for Linux/Gnome. XRDP seems to fit the description, but I can't get it to work. Does anyone have a clue how to set it up ? I can't even connect over the loopback address. Output from tsclient :
Code: Select all
** (tsclient:13990): WARNING **:
Autoselected keyboard map en-us
ERROR: channel_register
WARNING: Initializing sound-support failed!
X Error of failed request: BadAtom (invalid Atom parameter)
Major opcode of failed request: 23 (X_GetSelectionOwner)
Atom id in failed request: 0x0
Serial number of failed request: 51
Current serial number in output stream: 51
I've changed in sesman.ini so that it listens to 0.0.0.0 with no success.
/adrian
Code: Select all
Because of a security error, the client could not connect to the remote computer. Verify that you are logged on to the network etc
Code: Select all
The identity of the remote computer cannot be verified. Do you want to connect anyway? - This can happen if the remote computer is running a version of Windows which is earlier than Vista, or if the remote computer is not configured to support server authentication (etc)
Code: Select all
$ cat /etc/xrdp/xrdp.ini
[globals]
bitmap_cache=yes
bitmap_compression=yes
port=3389
crypt_level=low
channel_code=1
[xrdp1]
name=sesman-Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=-1
[xrdp2]
name=console
lib=libvnc.so
ip=127.0.0.1
port=5900
username=na
password=ask
[xrdp3]
name=vnc-any
lib=libvnc.so
ip=ask
port=ask5900
username=na
password=ask
[xrdp4]
name=sesman-any
lib=libvnc.so
ip=ask
port=-1
username=ask
password=ask
[xrdp5]
name=rdp-any
lib=librdp.so
ip=ask
port=ask3389
[xrdp6]
name=sesman-X11rdp
lib=libxup.so
username=ask
password=ask
ip=127.0.0.1
port=-1
My /etc/xrdp/sesman.ini :
Code: Select all
$ cat /etc/xrdp/sesman.ini
[Globals]
ListenAddress=0.0.0.0
ListenPort=3350
EnableUserWindowManager=1
UserWindowManager=/etc/xrdp/startwm.sh
DefaultWindowManager=/etc/xrdp/startwm.sh
[Security]
AllowRootLogin=0
MaxLoginRetry=4
TerminalServerUsers=adyhasch
TerminalServerAdmins=tsadmins
[Sessions]
MaxSessions=10
KillDisconnected=0
IdleTimeLimit=0
DisconnectedTimeLimit=0
[Logging]
LogFile=/var/log/sesman.log
LogLevel=DEBUG
EnableSyslog=0
SyslogLevel=DEBUG
[X11rdp]
param1=-bs
param2=-ac
[Xvnc]
param1=-bs
param2=-ac