Bug 235271

Summary: net/xrdp not gives an useful example for FreeBSD
Product: Ports & Packages Reporter: ykla <yklaxds>
Component: Individual Port(s)Assignee: Koichiro Iwao <meta>
Status: Closed FIXED    
Severity: Affects Some People CC: yklaxds
Priority: --- Flags: meta: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   

Description ykla 2019-01-28 05:07:57 UTC
X11rdp had merged to xordxrdp. And /etc/xrdp/startwm.sh this example is hard to adjust.

--------------------------------------------------------
In old version if you want to using mate desktop, you should add:
SESSIONS-"mate-session" in startwm.sh. 

But now it it not works.

Now you have to empty file startwm.sh and add:
#!/bin/sh
exec mate-session

--------------------------------------------------------
So why not give a better example for this file ?
Comment 1 Koichiro Iwao freebsd_committer freebsd_triage 2019-01-28 09:59:52 UTC
Do not overestiamte the importance.
Comment 2 Koichiro Iwao freebsd_committer freebsd_triage 2019-01-30 08:20:44 UTC
Indeed startwm.sh can be improved. I'm thinking of giving more example.

BTW, unfriendly startwm.sh issue is not related to x11rdp deprecation and migration to xorgxrdp at all.
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-03-13 09:14:07 UTC
A commit references this bug:

Author: meta
Date: Wed Mar 13 09:13:56 UTC 2019
New revision: 495571
URL: https://svnweb.freebsd.org/changeset/ports/495571

Log:
  net/xrdp: install better example of startwm.sh

  PR:		235271
  Reported by:	ykla <yklaxds@gmail.com>
  Sponsored by:	HAW International, Inc.

Changes:
  head/net/xrdp/Makefile
  head/net/xrdp/files/startwm.sh
Comment 4 Koichiro Iwao freebsd_committer freebsd_triage 2019-03-13 09:15:15 UTC
Created a better sample file. Thanks!