Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

XRDP

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
javahaxxor
Posts: 151
Joined: 2007-02-10 17:12
Location: Malmoe, Sweden
Contact:

XRDP

#1 Post by javahaxxor »

Hi,
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
The terminal services client in Win says:

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
When I enable warnings, a warning box with a yellow stripe appears and says

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)
My /etc/xrdp/xrdp.ini :

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
hg
running Debian testing

User avatar
javahaxxor
Posts: 151
Joined: 2007-02-10 17:12
Location: Malmoe, Sweden
Contact:

#2 Post by javahaxxor »

Or is there any other good way of being able to connect to a Linux/Gnome box in a similar manner to Windows Remote Desktop ? What about Vino project ?
running Debian testing

konfiguros
Posts: 117
Joined: 2008-11-08 19:49

#3 Post by konfiguros »

Bump
It looketh like I got bit by this bug also. Just tried to install Debian Lenny on a laptop with a Via C3 processor and a Via CLE266 graphics chip. Same results as Llama. Is there a bug report that hath been filled out for this problem?

Edited by saulgoode to remove spam links.
Last edited by konfiguros on 2010-12-14 08:45, edited 1 time in total.

User avatar
javahaxxor
Posts: 151
Joined: 2007-02-10 17:12
Location: Malmoe, Sweden
Contact:

#4 Post by javahaxxor »

it's not in the package repository
running Debian testing

User avatar
Jackiebrown
Posts: 1246
Joined: 2007-01-02 04:46
Location: San Antonio, TX

#5 Post by Jackiebrown »

vino is.

I usuually just ssh myself and if I need x I tunnel it

User avatar
javahaxxor
Posts: 151
Joined: 2007-02-10 17:12
Location: Malmoe, Sweden
Contact:

#6 Post by javahaxxor »

I'm guessing that you do that from another linux console ?
could you post a command line for how you do it ?

I've tried some windows clients for X, but they sucked ass .. That's why I hoped to get this XRDP stuff to work
running Debian testing

TheGarage
Posts: 100
Joined: 2008-03-11 05:46
Has thanked: 1 time

#7 Post by TheGarage »

I use x11vnc server on my linux box & connect with vnc [windows]. Works well. Also can connect with other linux boxes using krdc.

Post Reply