From c196d1f5ffb8368b0fc062ee05456818a545fbac Mon Sep 17 00:00:00 2001 From: Koichiro Iwao Date: Tue, 29 Aug 2023 10:45:51 +0900 Subject: net/xrdp{,-devel}: Update startwm.sh script PR: 273191 --- net/xrdp-devel/Makefile | 2 +- net/xrdp-devel/files/startwm.sh | 11 ++++++++--- net/xrdp/Makefile | 2 +- net/xrdp/files/startwm.sh | 11 ++++++++--- 4 files changed, 18 insertions(+), 8 deletions(-) diff --git a/net/xrdp-devel/Makefile b/net/xrdp-devel/Makefile index 69e3b338dd50..630040f57f0e 100644 --- a/net/xrdp-devel/Makefile +++ b/net/xrdp-devel/Makefile @@ -1,7 +1,7 @@ PORTNAME= xrdp DISTVERSIONPREFIX= v DISTVERSION= 0.9.80.b20221213 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= net PKGNAMESUFFIX= -devel diff --git a/net/xrdp-devel/files/startwm.sh b/net/xrdp-devel/files/startwm.sh index 2e304eee9589..7b58c9a19240 100644 --- a/net/xrdp-devel/files/startwm.sh +++ b/net/xrdp-devel/files/startwm.sh @@ -1,15 +1,20 @@ #!/bin/sh # -# This script is an example. Edit this to suit your needs. +# This script is just an example. Edit this to suit your needs. # If ${HOME}/startwm.sh exists, xrdp-sesman will execute it instead of this. -#### set environment variables here if you want +#### load profile if necessary +# source /etc/profile + +#### you can set environment variables here whatever you want # export LANG=en_US.UTF-8 +# export GTK_IM_MODULE=fcitx +# export XMODIFIERS=@im=fcitx #### start desktop environment # exec gnome-session # exec mate-session # exec start-lumina-desktop -# exec startkde +# exec ck-launch-session startplasma-x11 # exec startxfce4 exec xterm diff --git a/net/xrdp/Makefile b/net/xrdp/Makefile index f54b77b5dd2c..e48d720f4f0c 100644 --- a/net/xrdp/Makefile +++ b/net/xrdp/Makefile @@ -1,7 +1,7 @@ PORTNAME= xrdp DISTVERSIONPREFIX= v DISTVERSION= 0.9.22.1 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= net DIST_SUBDIR?= ${PORTNAME} diff --git a/net/xrdp/files/startwm.sh b/net/xrdp/files/startwm.sh index 2e304eee9589..7b58c9a19240 100644 --- a/net/xrdp/files/startwm.sh +++ b/net/xrdp/files/startwm.sh @@ -1,15 +1,20 @@ #!/bin/sh # -# This script is an example. Edit this to suit your needs. +# This script is just an example. Edit this to suit your needs. # If ${HOME}/startwm.sh exists, xrdp-sesman will execute it instead of this. -#### set environment variables here if you want +#### load profile if necessary +# source /etc/profile + +#### you can set environment variables here whatever you want # export LANG=en_US.UTF-8 +# export GTK_IM_MODULE=fcitx +# export XMODIFIERS=@im=fcitx #### start desktop environment # exec gnome-session # exec mate-session # exec start-lumina-desktop -# exec startkde +# exec ck-launch-session startplasma-x11 # exec startxfce4 exec xterm -- cgit v1.2.3