aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichiro Iwao <meta@FreeBSD.org>2023-08-29 01:45:51 +0000
committerKoichiro Iwao <meta@FreeBSD.org>2023-08-29 01:45:51 +0000
commitc196d1f5ffb8368b0fc062ee05456818a545fbac (patch)
tree169a0eaf0504f0536e267b7a02e5369162852965
parent648c8874180a3153053dec77e8ebc6ad518a7246 (diff)
downloadports-c196d1f5ffb8368b0fc062ee05456818a545fbac.tar.gz
ports-c196d1f5ffb8368b0fc062ee05456818a545fbac.zip
net/xrdp{,-devel}: Update startwm.sh script
PR: 273191
-rw-r--r--net/xrdp-devel/Makefile2
-rw-r--r--net/xrdp-devel/files/startwm.sh11
-rw-r--r--net/xrdp/Makefile2
-rw-r--r--net/xrdp/files/startwm.sh11
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