summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-12-02 17:11:13 +0000
committerPavel Roskin <plroskin@gmail.com>2016-12-06 15:10:01 -0800
commit9cbf3d1bb8e7aa2352650904b1479468ec25fdb7 (patch)
treeab4c628d0c9ff0ff13a95253dffd88c925e9edd1
parent8516d6d66b485b20f42b674d1f20bd91952501b8 (diff)
downloadxrdp-proprietary-9cbf3d1bb8e7aa2352650904b1479468ec25fdb7.tar.gz
xrdp-proprietary-9cbf3d1bb8e7aa2352650904b1479468ec25fdb7.zip
Change default Xorg logfile to .xorgxrdp.%s.log
The log file is created in the home directory, %s is replaced with the display number (e.g. 10). If Xorg is run setuid root, it can refuse to run if the log path is absolute.
-rw-r--r--sesman/sesman.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/sesman.ini b/sesman/sesman.ini
index 140cc49f..674665e9 100644
--- a/sesman/sesman.ini
+++ b/sesman/sesman.ini
@@ -85,7 +85,7 @@ param=-noreset
param=-nolisten
param=tcp
param=-logfile
-param=/dev/null
+param=.xorgxrdp.%s.log
[Chansrv]
; drive redirection, defaults to xrdp_client if not set