Shalabh Goel | 21 Nov 06:25 2014
Picon

Xrdp giving blank screen after logging in


Hi Now I have installed xrdp-master (0.9.0) on CentOS 7. I followed the instructions on http://www.xrdp.org/index.php?option=com_content&view=article&id=33:building-xrdp-in-fedora-19&catid=2:documents&Itemid=7

But when I am trying to login through a linux/Windows client, I m getting a blank screen followed by this message "Oh no! Something has gone wrong. ...Please log out and try again".

The log of xrdp.log is as follows

[20141121-10:50:39] [INFO ] A connection received from: 10.1.1.98 port 1390
[20141121-10:50:39] [INFO ] An established connection closed to endpoint: 10.1.1.98:1390 - socket: 8
[20141121-10:50:39] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20141121-10:50:39] [INFO ] A connection received from: 10.1.1.98 port 1391
[20141121-10:50:39] [INFO ] An established connection closed to endpoint: 10.1.1.98:1391 - socket: 8
[20141121-10:50:39] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20141121-10:50:39] [DEBUG] xrdp_000040e1_wm_login_mode_event_00000001
[20141121-10:50:39] [WARN ] local keymap file for 0x0409 found and dosen't match built in keymap, using local keymap file
[20141121-10:50:47] [DEBUG] returnvalue from xrdp_mm_connect 0
[20141121-10:50:48] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20141121-10:50:48] [INFO ] lib_mod_log_peer: xrdp_pid=16609 connected to X11rdp_pid=16613 X11rdp_uid=1001 X11rdp_gid=100 client_ip=10.1.1.98 client_port=1391
[20141121-10:50:48] [DEBUG] xrdp_mm_connect_chansrv: chansrvconnect successful
[20141121-10:50:48] [INFO ] An established connection closed to endpoint: 127.0.0.1:3350 - socket: 11
[20141121-10:50:48] [INFO ] The following channel is allowed: rdpdr (0)
[20141121-10:50:48] [INFO ] The following channel is allowed: rdpsnd (1)
[20141121-10:50:48] [INFO ] The following channel is allowed: drdynvc (2)
[20141121-10:50:48] [INFO ] The following channel is allowed: cliprdr (3)
[20141121-10:50:48] [DEBUG] The allow channel list now initialized for this session
[20141121-10:50:48] [INFO ] An established connection closed to endpoint: 109.112.47.46:12148 - socket: 13

The log of xrdp-sesman.log is as follows:

[20141121-10:50:28] [WARN ] [init:46] libscp initialized
[20141121-10:50:28] [CORE ] starting sesman with pid 16599
[20141121-10:50:28] [INFO ] listening...
[20141121-10:50:47] [INFO ] A connection received from: 127.0.0.1 port 42202
[20141121-10:50:47] [INFO ] scp thread on sck 8 started successfully
[20141121-10:50:47] [INFO ] ++ created session (access granted): username shalabh, ip 10.1.1.98:1391 - socket: 8
[20141121-10:50:47] [INFO ] starting X11rdp session...
[20141121-10:50:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:47] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:48] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:48] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:48] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20141121-10:50:48] [INFO ] An established connection closed to endpoint: 127.0.0.1:42202 - socket: 8
[20141121-10:50:48] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20141121-10:50:48] [INFO ] An established connection closed to endpoint: 127.0.0.1:42202 - socket: 8
[20141121-10:50:48] [INFO ] X11rdp :16 -geometry 1280x768 -depth 24 -bs -ac -nolisten tcp -uds 
[20141121-10:50:48] [INFO ] starting xrdp-sessvc - xpid=16613 - wmpid=16612


I also ran the following command and got the following output

X11rdp -uds :11
InitOutput:

X11rdp, an X server for xrdp
Version 0.7.0
Copyright (C) 2005-2012 Jay Sorg
See http://xrdp.sf.net for information on xrdp.
Underlying X server release 10903000, The X.Org Foundation
Screen width 1024 height 768 depth 24 bpp 32
dpix 100 dpiy 100
buffer size 3145728
21/11/14 10:50:50 kill disconencted [0] timeout [60] sec
pRRScrPriv 0xfd7d10
rdpScreenInit: ret 1
InitOutput: out
[dix] Could not init font path element /usr/share/fonts/X11/misc/, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/TTF/, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/OTF/, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/Type1/, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list!
rdpSpriteDeviceCursorInitialize:
rdpPointerWarpCursor:
rdpPointerNewEventScreen:
InitInput:
rdpMouseCtrl:
rdpChangeKeyboardControl:
rdpChangeKeyboardControl:

I have attached my xrdp.ini and sesman.ini files too.


Any help is appreciated.
Thanks.
Shalabh Goel
Attachment (sesman.ini): application/octet-stream, 2893 bytes
Attachment (xrdp.ini): application/octet-stream, 4810 bytes
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
xrdp-devel mailing list
xrdp-devel@...
https://lists.sourceforge.net/lists/listinfo/xrdp-devel
Edouard Gaulué | 18 Nov 14:36 2014

Please more information about module-xrdp-sink

Dear community,

I've compiled module-xrdp-sink following this link : 
http://www.xrdp.org/index.php?option=com_content&view=article&id=19:xrdp-pulse-sink&catid=2:documents&Itemid=7

I work under debian wheezy. Compilation has been all right.

I use xrdp package 0.5.0-2. On wheezy pulseaudio is compiled vith 
version 2.0.

My pacmd list says my module is well loaded but I get no sounds on clients.

Few questions :
  * is there any version condition to get it works?
  * how pulseaudio should be installed? System or user?
  * if I have simultaneous users will they all get their own sounds only?
  * is there a list of known clients to work with sound?

Thanks for answers, Edouard

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
Lionel Rocket | 18 Nov 17:07 2014
Picon

alt+gr key not working for german keyboard

Hi,

I have problems understanding how keyboard maps are used.

In my case i have users with us and de keyboards connecting to xrdp running with X11rdp.

If a user with german keyboard connects then i see in the log:

"local keymap file for 0x0407 found and dosen't match built in keymap, using local keymap file"

When a user with us keyboard connects, this appears in the log:

"local keymap file for 0x0409 found and dosen't match built in keymap, using local keymap file"

So it looks like xrdp is recognizing the us and de keyboards. But in case of the german keyboard the alt+gr key combinations are not working. When i enter "setxkbmap" in the remote session, the alt+gr key is working. So i generated a new km-0407.ini after entering "setxkbmap" but after reconnecting the alt+gr keys did not work again. (there were several differences in the km-0407.ini file provided by the xrdp package and the one generated after "setxkbmap")

Then i just added "setxkbmap de" to the startwm.sh script and now the alt+gr works also after reconnecting to xrdp. Now i am wondering why the generated km-0407.ini after calling "setxkbmap" is not working and if there is a way to adapt the startwm.sh script in a more generic way to support more than one language.

I have installed xrdp from the current v0.8 github branch running on rhel 6.3. connecting via win7 mstsc.exe.


BR,
Lionel
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
xrdp-devel mailing list
xrdp-devel@...
https://lists.sourceforge.net/lists/listinfo/xrdp-devel
Geoff Down | 17 Nov 19:35 2014
Picon

Xrdp build problem - OSX10.4

Hi,
 I'm trying to build xrdp on OSX10.4 (yes, I know...it's more than a
 year old, it must be obsolete). Having solved the problems of no 'pam'
 (configure --enable-nopam) and X11 being in the wrong directory
 (LDFLAGS='-L/opt/local/lib'), I'm up against the absence of crypt.h and
 shadow.h, as referenced in sesman/verify_user.c .
I've hunted extensively for them. Any help gratefully received :)
Geoff

--

-- 
http://www.fastmail.com - Accessible with your email software
                          or over the web

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
Edouard Gaulué | 17 Nov 13:11 2014

XRDP without any desktop manager

Hi community,

Sorry to disturb the devel list while I just have configuration trouble. 
I try to set xrdp just to forward a Firefox/Iceweasel window + sound to 
clients.

As far as I understand, XRDP is a kind of proxy between RDP request and 
protocol and VNC + pulse on the server.

But, is VNC needed in this case? Could Firefox/Iceweasel replace sesman?

How to configure keyboard if no true X session is start on server?

What about pulseaudio? I've compiled pulse-xrdp-sink for my distribution 
(ie. debian wheey). Will this configuration be multi-user?

Have tests already been done using matchbox has a minimal window manager?

What would be the easiest/best configuration?

Any links to a documentation page or piece of informations to help would 
be welcome.

Best regards, EG

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
Jay Sorg | 11 Nov 20:56 2014
Picon

coverity

Authentic8 was kind enough to sponsor the fixes found by Coverity.

We have the defect rate down almost to zero now.
I really like this tool and we'll try to run it from time to time.

If you want to look see
https://scan.coverity.com/projects/2537?tab=overview
and you can use your github account to login or create a login.

These changes will get into v0.8.1 release happening soon.

Jay

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
hlmeador | 3 Nov 23:26 2014
Picon

xrdp over internet

I am using XRDP on my RPi B+ and connecting with a windows 8.1 Asus laptop.
It works fine on my local network but I need to connect over the internet to access some
smart home features.  I use port 3389 for my Windows desktop. If this can be done what port do
I use…and any other suggestions you can offer. I need to replace an aging Windows desktop
with the RPi.


Thank you
Harrell Meador
Sent from Windows Mail

------------------------------------------------------------------------------
_______________________________________________
xrdp-devel mailing list
xrdp-devel@...
https://lists.sourceforge.net/lists/listinfo/xrdp-devel
Thierry CHARLES | 29 Oct 11:52 2014

question : what is the client host ?

Hi,

I haven't found any forum or something like this about xrdp so I'm asking you :

Is there any way to get the name of the client host in xrdp ?


On MS Windows TSE, there are two ways :
  • the environment variable "CLIENTNAME"
  • a registry key HKCU\Volatile Environment\CLIENTNAME (which is always up to date so if someone connects from one computer and then reconnects from another, a process will be aware of the client change whereas the environment variable is set once at process launch)

Is there something similar with xrdp ?

Thank you for your help

--
Thierry CHARLES
INFASS Systèmes
Tel : 02.47.38.20.50

------------------------------------------------------------------------------
_______________________________________________
xrdp-devel mailing list
xrdp-devel@...
https://lists.sourceforge.net/lists/listinfo/xrdp-devel
Ken Milmore | 26 Oct 21:48 2014
Picon

Problems with non-PAM password authentication.

Hello,

I am using xrdp without PAM, and have been looking at the recently 
modified shadow authentication code in sesman/verify_user.c.

I have noticed that sesman segfaults when attempting to authenticate a 
user account which has been locked by "passwd -l username".  In fact the 
segfault occurs whenever the contents of the shadow password field do 
not match any of the hash formats expected by GNU crypt().

The problem lies in verify_user.c, function auth_user_pass().  The 
return value of crypt() will be NULL if the account happens to be locked 
or if the enctrypted password is in an unexpected format. So I would 
suggest that the code at the end of auth_user_pass() should go something 
like this:

   epass = crypt(pass, encr);
   if (epass == 0)
   {
     /* possibly a locked account */
     return 0;
   }
   return (strcmp(encr, epass) == 0);
}

Another point: auth_user_pass() seems to get called from a thread spun 
off a listening socket, but calls getpwnam, getspnam and crypt which  re 
not re-entrant. Shoudln't there be a mutex or something similar 
protecting this whole function?  Apologies if I've missed some reason 
why it can't be re-entered.

Best wishes,

Ken Milmore.

------------------------------------------------------------------------------
jjc | 21 Oct 04:21 2014
Picon

question about logging the title of active window

Hi

  I want to record the title of the active window when the focused  application window have changed, can I do this just in xrdp module or Neutrinordp module? I hope to get some suggestions from you, thank you very much!

 

  Best wishes!

 

                                                                                                                       Jiang Junchao

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
xrdp-devel mailing list
xrdp-devel@...
https://lists.sourceforge.net/lists/listinfo/xrdp-devel
Ashish Srivastava | 15 Oct 14:00 2014
Picon

regarding urgent help about session

Hello,

My name is Ashish Srivastava , I am a Linux adminitrator..I have configured xrdp on Centos 6.5 server ..My question is

Can we setup xrdp as single user can use multiple sessions without affecting sessions with different node id..
Like this thing we can do in realvnc..
Is there any method to activate this configuration..

I have setup and saw that windows user can access same session with single user as well as linux users... and their seesion affection their sessions.

Please help

thanks

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
xrdp-devel mailing list
xrdp-devel@...
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Gmane