最終更新:2024-10-31 (木) 04:37:34 (255d)  

Linux/etc/xrdp/startwm.sh
Top / Linux / etc / xrdp / startwm.sh

Ubuntu 24.04

  • #!/bin/sh
    # xrdp X session start script (c) 2015, 2017, 2021 mirabilos
    # published under The MirOS Licence
    
    # Rely on /etc/pam.d/xrdp-sesman using pam_env to load both
    # /etc/environment and /etc/default/locale to initialise the
    # locale and the user environment properly.
    
    if test -r /etc/profile; then
    	. /etc/profile
    fi
    
    if test -r ~/.profile; then
    	. ~/.profile
    fi
    
    test -x /etc/X11/Xsession && exec /etc/X11/Xsession
    exec /bin/sh /etc/X11/Xsession