Preparing to unpack .../xbase-clients_1%3a7.7+1ubuntu8_all.deb ... Unpacking xbase-clients (1:7.7+1ubuntu8) ... Selecting previously unselected package vnc4server. Preparing to unpack .../vnc4server_4.1.1+xorg4.3.0-37ubuntu5.0.1_i386.deb ... Unpacking vnc4server (4.1.1+xorg4.3.0-37ubuntu5.0.1) ... Selecting previously unselected package xrdp. Preparing to unpack .../archives/xrdp_0.6.0-1_i386.deb ... Unpacking xrdp (0.6.0-1) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Processing triggers for ureadahead (0.100.0-16) ... ureadahead will be reprofiled on next reboot Setting up xbase-clients (1:7.7+1ubuntu8) ... Setting up vnc4server (4.1.1+xorg4.3.0-37ubuntu5.0.1) ... update-alternatives: using /usr/bin/vnc4server to provide /usr/bin/vncserver (vncserver) in auto mode update-alternatives: using /usr/bin/Xvnc4 to provide /usr/bin/Xvnc (Xvnc) in auto mode update-alternatives: using /usr/bin/x0vnc4server to provide /usr/bin/x0vncserver (x0vncserver) in auto mode update-alternatives: using /usr/bin/vnc4passwd to provide /usr/bin/vncpasswd (vncpasswd) in auto mode update-alternatives: using /usr/bin/vnc4config to provide /usr/bin/vncconfig (vncconfig) in auto mode Setting up xrdp (0.6.0-1) ... * Generating xrdp RSA keys...... Generating 512 bit rsa key... error 1 in key_gen, ssl_gen_key_xrdp1 invoke-rc.d: initscript xrdp, action "start" failed. dpkg: error processing package xrdp (--configure): subprocess installed post-installation script returned error exit status 1