From cdc65db4873d0a2ab07f10dafd7388e30fd5556f Mon Sep 17 00:00:00 2001 From: Hiero32 <112747353+Hiero32@users.noreply.github.com> Date: Wed, 22 Feb 2023 20:59:37 +0900 Subject: [PATCH] change comment a bit --- sesman/startwm.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sesman/startwm.sh b/sesman/startwm.sh index 3d42fdae..7c39f24c 100755 --- a/sesman/startwm.sh +++ b/sesman/startwm.sh @@ -57,8 +57,7 @@ post_start() get_xdg_session_startupcmd() { - # DESKTOP_SESSION should be set in sesman.ini in the SessionVariables section. - # If set and valid then the STARTUP command will be taken from there + # If DESKTOP_SESSION is set and valid then the STARTUP command will be taken from there # GDM exports environment variables XDG_CURRENT_DESKTOP and XDG_SESSION_DESKTOP. # This follows it. if [ -n "$1" ] && [ -d /usr/share/xsessions ] \ @@ -90,7 +89,7 @@ wm_start() # [ -n "$XRDP_SESSION" ] && export DESKTOP_SESSION= # in either of following file. # 1. ~/.profile - # 2. create a file (any filename is OK) in /etc/profile.d + # 2. create a file (any_filename.sh is OK) in /etc/profile.d # shall be one of "ls -1 /usr/share/xsessions/|cut -d. -f1" # e.g. [ -n "$XRDP_SESSION" ] && export DESKTOP_SESSION=ubuntu