Guest User

Untitled

a guest
Feb 5th, 2017
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.81 KB | None | 0 0
  1. root@vm:/home/student1# service xrdp status
  2. ● xrdp.service - xrdp (X Remote Desktop Protocol) protocol server
  3. Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
  4. Active: active (running) since nie 2017-02-05 23:02:23 CET; 6s ago
  5. Docs: man:xrdp(8)
  6. man:xrdp.ini(5)
  7. Process: 6309 ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS (code=exited, status=0/SUCCESS)
  8. Process: 6301 ExecStartPre=/bin/sh /usr/share/xrdp/socksetup (code=exited, status=0/SUCCESS)
  9. Main PID: 6313 (xrdp)
  10. Tasks: 1 (limit: 4915)
  11. CGroup: /system.slice/xrdp.service
  12. └─6313 /usr/sbin/xrdp
  13.  
  14. lut 05 23:02:21 vm systemd[1]: Starting xrdp (X Remote Desktop Protocol) protocol server...
  15. lut 05 23:02:22 vm systemd[1]: xrdp.service: PID file /run/xrdp/xrdp.pid not readable (yet?) after start: No such file or dir
  16. lut 05 23:02:23 vm systemd[1]: Started xrdp (X Remote Desktop Protocol) protocol server.
  17. root@vm:/home/student1# service xrdp status
  18. ● xrdp.service - xrdp (X Remote Desktop Protocol) protocol server
  19. Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
  20. Active: active (running) since nie 2017-02-05 23:02:23 CET; 15s ago
  21. Docs: man:xrdp(8)
  22. man:xrdp.ini(5)
  23. Process: 6309 ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS (code=exited, status=0/SUCCESS)
  24. Process: 6301 ExecStartPre=/bin/sh /usr/share/xrdp/socksetup (code=exited, status=0/SUCCESS)
  25. Main PID: 6313 (xrdp)
  26. Tasks: 3 (limit: 4915)
  27. CGroup: /system.slice/xrdp.service
  28. ├─6313 /usr/sbin/xrdp
  29. └─6364 /usr/sbin/xrdp
  30.  
  31. lut 05 23:02:21 vm systemd[1]: Starting xrdp (X Remote Desktop Protocol) protocol server...
  32. lut 05 23:02:22 vm systemd[1]: xrdp.service: PID file /run/xrdp/xrdp.pid not readable (yet?) after start: No such file or dir
  33. lut 05 23:02:23 vm systemd[1]: Started xrdp (X Remote Desktop Protocol) protocol server.
  34. lut 05 23:02:34 vm xrdp[6313]: (6313)(140690527951680)[INFO ] A connection received from: 0.0.0.0 port 59046
  35. lut 05 23:02:34 vm xrdp[6313]: (6313)(140690527951680)[INFO ] An established connection closed to endpoint: 0.0.0.0:59046 - s
  36. lut 05 23:02:34 vm xrdp[6364]: (6364)(140690527951680)[INFO ] An established connection closed to endpoint: NULL:NULL - socke
  37. lut 05 23:02:34 vm xrdp[6364]: (6364)(140690527951680)[CORE ] WARNING: Invalid x.509 certificate path defined, default path w
  38. lut 05 23:02:34 vm xrdp[6364]: (6364)(140690527951680)[WARN ] Invalid X.509 certificate path defined, default path will be us
  39. lut 05 23:02:34 vm xrdp[6364]: (6364)(140690527951680)[DEBUG] xrdp_000018dc_wm_login_mode_event_00000001
  40. lut 05 23:02:34 vm xrdp[6364]: (6364)(140690527951680)[WARN ] local keymap file for 0x10415 found and doesn't match built in
  41. root@vm:/home/student1# service xrdp status
  42. ● xrdp.service - xrdp (X Remote Desktop Protocol) protocol server
  43. Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
  44. Active: active (running) since nie 2017-02-05 23:02:23 CET; 1min 11s ago
  45. Docs: man:xrdp(8)
  46. man:xrdp.ini(5)
  47. Process: 6309 ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS (code=exited, status=0/SUCCESS)
  48. Process: 6301 ExecStartPre=/bin/sh /usr/share/xrdp/socksetup (code=exited, status=0/SUCCESS)
  49. Main PID: 6313 (xrdp)
  50. Tasks: 1 (limit: 4915)
  51. CGroup: /system.slice/xrdp.service
  52. └─6313 /usr/sbin/xrdp
  53.  
  54. lut 05 23:02:44 vm xrdp[6416]: (6416)(140690527951680)[INFO ] An established connection closed to endpoint: NULL:NULL - socke
  55. lut 05 23:02:44 vm xrdp[6416]: (6416)(140690527951680)[CORE ] WARNING: Invalid x.509 certificate path defined, default path w
  56. lut 05 23:02:44 vm xrdp[6416]: (6416)(140690527951680)[WARN ] Invalid X.509 certificate path defined, default path will be us
  57. lut 05 23:02:45 vm xrdp[6364]: (6364)(140690527951680)[DEBUG] return value from xrdp_mm_connect 0
  58. lut 05 23:02:45 vm xrdp[6416]: (6416)(140690527951680)[INFO ] An established connection closed to endpoint: 0.0.0.0:40286 - s
  59. lut 05 23:02:45 vm xrdp[6364]: (6364)(140690527951680)[INFO ] An established connection closed to endpoint: 0.0.0.0:59046 - s
  60. lut 05 23:02:45 vm xrdp[6364]: (6364)(140690527951680)[DEBUG] xrdp_mm_module_cleanup
  61. lut 05 23:02:45 vm xrdp[6364]: (6364)(140690527951680)[INFO ] An established connection closed to endpoint: 0.0.0.0:3389 - so
  62. lut 05 23:02:45 vm xrdp[6416]: (6416)(140690527951680)[ERROR] Listening socket is in wrong state we terminate listener
  63. lut 05 23:02:46 vm xrdp[6364]: (6364)(140690527951680)[ERROR] Listening socket is in wrong state we terminate listener
  64.  
  65. [globals]
  66. # xrdp.ini file version number
  67. ini_version=1
  68.  
  69. bitmap_cache=yes
  70. bitmap_compression=yes
  71. port=3389
  72. allow_channels=true
  73. max_bpp=32
  74. fork=yes
  75. # minimum security level allowed for client
  76. # can be 'none', 'low', 'medium', 'high', 'fips'
  77. crypt_level=high
  78. # security layer can be 'tls', 'rdp' or 'negotiate'
  79. # for client compatible layer
  80. security_layer=rdp
  81. # X.509 certificate and private key
  82. # openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem -days 365
  83. certificate=cert.pem
  84. key_file=key.pem
  85.  
  86. # regulate if the listening socket use socket option tcp_nodelay
  87. # no buffering will be performed in the TCP stack
  88. tcp_nodelay=yes
  89.  
  90. # regulate if the listening socket use socket option keepalive
  91. # if the network connection disappear without close messages the connection will be closed
  92. tcp_keepalive=yes
  93.  
  94. #tcp_send_buffer_bytes=32768
  95. #tcp_recv_buffer_bytes=32768
  96.  
  97. #
  98. # colors used by windows in RGB format
  99. #
  100.  
  101. blue=009cb5
  102. grey=dedede
  103. #black=000000
  104. #dark_grey=808080
  105. #blue=08246b
  106. #dark_blue=08246b
  107. #white=ffffff
  108. #red=ff0000
  109. #green=00ff00
  110. #background=626c72
  111. #autorun=xrdp1
  112. #hidelogwindow=yes
  113.  
  114. # when true, userid/password *must* be passed on cmd line
  115. # require_credentials=yes
  116.  
  117. # set a default entry for autorun if the client send login and pass directly
  118. autorun=xrdp1
  119.  
  120. bulk_compression=yes
  121.  
  122. # You can set the PAM error text in a gateway setup (MAX 256 chars)
  123. #pamerrortxt=change your password according to policy at http://url
  124. new_cursors=yes
  125. allow_multimon=true
  126.  
  127. # fastpath - can be set to input / output / both / none
  128. use_fastpath=both
  129. #
  130. # configure login screen
  131. #
  132.  
  133. # Login Screen Window Title
  134. #ls_title=My Login Title
  135.  
  136. # top level window background color in RGB format
  137. ls_top_window_bg_color=009cb5
  138.  
  139. # width and height of login screen
  140. ls_width=350
  141. ls_height=430
  142.  
  143. # login screen background color in RGB format
  144. ls_bg_color=dedede
  145.  
  146. # optional background image filename (bmp format).
  147. #ls_background_image=
  148.  
  149. # logo
  150. # full path to bmp-file or file in shared folder
  151. ls_logo_filename=
  152. ls_logo_x_pos=55
  153. ls_logo_y_pos=50
  154.  
  155. # for positioning labels such as username, password etc
  156. ls_label_x_pos=30
  157. ls_label_width=60
  158.  
  159. # for positioning text and combo boxes next to above labels
  160. ls_input_x_pos=110
  161. ls_input_width=210
  162.  
  163. # y pos for first label and combo box
  164. ls_input_y_pos=220
  165.  
  166. # OK button
  167. ls_btn_ok_x_pos=142
  168. ls_btn_ok_y_pos=370
  169. ls_btn_ok_width=85
  170. ls_btn_ok_height=30
  171.  
  172. # Cancel button
  173. ls_btn_cancel_x_pos=237
  174. ls_btn_cancel_y_pos=370
  175. ls_btn_cancel_width=85
  176. ls_btn_cancel_height=30
  177.  
  178. [Logging]
  179. LogFile=xrdp.log
  180. LogLevel=DEBUG
  181. EnableSyslog=1
  182. SyslogLevel=DEBUG
  183. # LogLevel and SysLogLevel could by any of: core, error, warning, info or debug
  184.  
  185. [channels]
  186. # Channel names not listed here will be blocked by XRDP.
  187. # You can block any channel by setting its value to false.
  188. # IMPORTANT! All channels are not supported in all use
  189. # cases even if you set all values to true.
  190. # You can override these settings on each session type
  191. # These settings are only used if allow_channels=true
  192. rdpdr=true
  193. rdpsnd=true
  194. drdynvc=true
  195. cliprdr=true
  196. rail=true
  197. xrdpvr=true
  198. tcutils=true
  199.  
  200. # for debugging xrdp, in section xrdp1, change port=-1 to this:
  201. # port=/var/run/xrdp/sockdir/xrdp_display_10
  202.  
  203. # for debugging xrdp, add following line to section xrdp1
  204. # chansrvport=/var/run/xrdp/sockdir/xrdp_chansrv_socket_7210
  205.  
  206. [xrdp1]
  207. name=rdp-pls-connect
  208. lib=libxup.so
  209. username=test
  210. password=test
  211. ip=127.0.0.1
  212. port=3389
  213. xserverbpp=24
  214. code=20
  215.  
  216. [xrdp2]
  217. name=sesman-Xvnc
  218. lib=libvnc.so
  219. username=ask
  220. password=ask
  221. ip=127.0.0.1
  222. port=-1
  223. #delay_ms=2000
  224.  
  225. [xrdp3]
  226. name=console
  227. lib=libvnc.so
  228. ip=127.0.0.1
  229. port=5900
  230. username=na
  231. password=ask
  232. #delay_ms=2000
  233.  
  234. [xrdp4]
  235. name=vnc-any
  236. lib=libvnc.so
  237. ip=ask
  238. port=ask5900
  239. username=na
  240. password=ask
  241. #pamusername=asksame
  242. #pampassword=asksame
  243. #pamsessionmng=127.0.0.1
  244. #delay_ms=2000
  245.  
  246. [xrdp5]
  247. name=sesman-any
  248. lib=libvnc.so
  249. ip=ask
  250. port=-1
  251. username=ask
  252. password=ask
  253. #delay_ms=2000
  254.  
  255. [xrdp6]
  256. name=rdp-any
  257. lib=librdp.so
  258. ip=ask
  259. port=ask3389
  260.  
  261. [xrdp7]
  262. name=neutrinordp-any
  263. lib=libxrdpneutrinordp.so
  264. ip=ask
  265. port=ask3389
  266. username=ask
  267. password=ask
  268.  
  269. [Session manager]
  270. name=Session manager
  271. lib=libxup.so
  272. username=ask
  273. password=ask
  274. ip=127.0.0.1
  275. port=-1
  276. xserverbpp=24
  277. code=20
  278.  
  279. # You can override the common channel settings for each session type
  280. #channel.rdpdr=true
  281. #channel.rdpsnd=true
  282. #channel.drdynvc=true
  283. #channel.cliprdr=true
  284. #channel.rail=true
  285. #channel.xrdpvr=true
  286.  
  287. [Globals]
  288. ListenAddress=127.0.0.1
  289. ListenPort=3389
  290. EnableUserWindowManager=1
  291. UserWindowManager=startwm.sh
  292. DefaultWindowManager=startwm.sh
  293.  
  294. [Security]
  295. AllowRootLogin=1
  296. MaxLoginRetry=4
  297. TerminalServerUsers=tsusers
  298. TerminalServerAdmins=tsadmins
  299. # When AlwaysGroupCheck = false access will be permitted
  300. # if the group TerminalServerUsers is not defined.
  301. AlwaysGroupCheck = false
  302.  
  303. [Sessions]
  304.  
  305. ## X11DisplayOffset - x11 display number offset
  306. # Type: integer
  307. # Default: 10
  308. X11DisplayOffset=10
  309.  
  310. ## MaxSessions - maximum number of connections to an xrdp server
  311. # Type: integer
  312. # Default: 0
  313. MaxSessions=1
  314.  
  315. ## KillDisconnected - kill disconnected sessions
  316. # Type: integer
  317. # Default: 0
  318. # if 1, true, or yes, kill session after 60 seconds
  319. KillDisconnected=0
  320.  
  321. ## IdleTimeLimit - when to disconnect idle sessions
  322. # Type: integer
  323. # Default: 0
  324. # if not zero, the seconds without mouse or keyboard input before disconnect
  325. # not complete yet
  326. IdleTimeLimit=0
  327.  
  328. ## DisconnectedTimeLimit - when to kill idle sessions
  329. # Type: integer
  330. # Default: 0
  331. # if not zero, the seconds before a disconnected session is killed
  332. # min 60 seconds
  333. DisconnectedTimeLimit=0
  334.  
  335. ## Policy - session allocation policy
  336. # Type: enum [ "Default" | "UBD" | "UBI" | "UBC" | "UBDI" | "UBDC" ]
  337. # Default: Xrdp:<User,BitPerPixel> and Xvnc:<User,BitPerPixel,DisplaySize>
  338. # "UBD" session per <User,BitPerPixel,DisplaySize>
  339. # "UBI" session per <User,BitPerPixel,IPAddr>
  340. # "UBC" session per <User,BitPerPixel,Connection>
  341. # "UBDI" session per <User,BitPerPixel,DisplaySize,IPAddr>
  342. # "UBDC" session per <User,BitPerPixel,DisplaySize,Connection>
  343. Policy=Default
  344.  
  345. [Logging]
  346. LogFile=xrdp-sesman.log
  347. LogLevel=DEBUG
  348. EnableSyslog=1
  349. SyslogLevel=DEBUG
  350.  
  351. [X11rdp]
  352. param0=X11rdp
  353. param1=-bs
  354. param2=-ac
  355. param3=-nolisten
  356. param4=tcp
  357. param5=-uds
  358.  
  359. [Xvnc]
  360. param0=Xvnc
  361. param1=-bs
  362. param2=-ac
  363. param3=-nolisten
  364. param4=tcp
  365. param5=-localhost
  366. param6=-dpi
  367. param7=96
  368.  
  369. [Xorg]
  370. param0=Xorg
  371. param1=-config
  372. param2=xrdp/xorg.conf
  373. param3=-noreset
  374. param4=-ac
  375. param5=-nolisten
  376. param6=tcp
  377. param7=-retro
  378.  
  379. [Chansrv]
  380. # drive redirection, defaults to .xrdp_client if not set
  381. FuseMountName=.thinclient_drives
  382.  
  383. [SessionVariables]
  384. PULSE_SCRIPT=/etc/xrdp/pulse/default.pa
Add Comment
Please, Sign In to add comment