Websoft9Archive / role_os

useful tools for OS image, e.g GNOME
Other
0 stars 1 forks source link

XRDP session immediately closes after loggin in #7

Closed chendelin1982 closed 3 years ago

chendelin1982 commented 3 years ago
  1. Install by
    sudo apt install kde-full
    sudo apt install kde-plasma-desktop
  2. XRDP session immediately closes after loggin in
chendelin1982 commented 3 years ago

log

● xrdp.service - xrdp daemon
     Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2021-08-10 17:57:36 CST; 16s ago
       Docs: man:xrdp(8)
             man:xrdp.ini(5)
    Process: 2370 ExecStartPre=/bin/sh /usr/share/xrdp/socksetup (code=exited, status=0/SUCCESS)
    Process: 2380 ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS (code=exited, status=0/SUCCESS)
   Main PID: 2383 (xrdp)
      Tasks: 1 (limit: 4654)
     Memory: 1.2M
     CGroup: /system.slice/xrdp.service
             └─2383 /usr/sbin/xrdp

Aug 10 17:57:44 iZbp12w93krx73ub4vnzm3Z xrdp[2406]: (2406)(140671428585280)[INFO ] xrdp_wm_log_msg: login successful for display 11
Aug 10 17:57:44 iZbp12w93krx73ub4vnzm3Z xrdp[2406]: (2406)(140671428585280)[DEBUG] xrdp_wm_log_msg: started connecting
Aug 10 17:57:44 iZbp12w93krx73ub4vnzm3Z xrdp[2406]: (2406)(140671428585280)[INFO ] lib_mod_log_peer: xrdp_pid=2406 connected to X11rdp_pid=2415 X11rdp_uid=0 X11rdp_gid=0 client_ip=::ffff:1>
Aug 10 17:57:44 iZbp12w93krx73ub4vnzm3Z xrdp[2406]: (2406)(140671428585280)[DEBUG] xrdp_wm_log_msg: connected ok
Aug 10 17:57:44 iZbp12w93krx73ub4vnzm3Z xrdp[2406]: (2406)(140671428585280)[DEBUG] xrdp_mm_connect_chansrv: chansrv connect successful
Aug 10 17:57:44 iZbp12w93krx73ub4vnzm3Z xrdp[2406]: (2406)(140671428585280)[DEBUG] Closed socket 18 (AF_INET6 ::1 port 56358)
Aug 10 17:57:44 iZbp12w93krx73ub4vnzm3Z xrdp[2406]: (2406)(140671428585280)[DEBUG] Closed socket 12 (AF_INET6 ::ffff:172.16.230.34 port 3389)
Aug 10 17:57:44 iZbp12w93krx73ub4vnzm3Z xrdp[2406]: (2406)(140671428585280)[DEBUG] xrdp_mm_module_cleanup
Aug 10 17:57:44 iZbp12w93krx73ub4vnzm3Z xrdp[2406]: (2406)(140671428585280)[DEBUG] Closed socket 19 (AF_UNIX)
Aug 10 17:57:44 iZbp12w93krx73ub4vnzm3Z xrdp[2406]: (2406)(140671428585280)[DEBUG] Closed socket 20 (AF_UNIX)

Ubuntu with XRDP Gets Cannot read private key file /etc/xrdp/key.pem: Permission denied Error

sudo adduser xrdp ssl-cert
chendelin1982 commented 3 years ago

Can you install below before IDE installation?

kwin-x11
sddm
xserver-xorg
qiaofeng1227 commented 3 years ago

https://en.wikipedia.org/wiki/Unity_(user_interface) https://en.wikipedia.org/wiki/Ubuntu_Unity