Solved black screen when x starts after upgrade

Look FreeBSD Developer's Team solved this issue, Yesterday i prove new VM, inside VirtualBox, and I changed branch from quarterly to latest ,then updated Freebsd to latest patch 13.1-p2, Packages:Xorg Xfce4 ,Gnome,virtualbox-ose-additions-6.1.36_1,xrdp ,xorgxrdp.all it working fine,some missed packages, in gnome-desktop,didnt know why, but I could login with remote desktop connection throw xrdp and display-manager "gdm"...only when i tried to use Enlightenment with xrdp ,jump out an issue about configuration in /usr/local/etc/xrdp/startwm.sh..if someone know what i should type :exec enlightment_start, or exec enlightenment-session ,example in this script little confused me...help please?
 
Last edited:
I reported lack of infos about xrdp startup configuration with Enlightenment Desktop, on github page of nuetrinolabs/xrdp, and putting my request in discussion ,a developer collaborator help me to solve ,adding this, on ~/startwm.sh
#!/bin/sh

# Create a log file
d=${DISPLAY#*:} ;# Remove up to and including ':'
d=${d%.*} ;# Remove trailing .<screen>
exec >~/.xrdp-session.$d.log 2>&1

# Display some debug information
echo ==== Environment ===
env

# Call the user's window manager
. ~/.xinitrc
|and I launched Xserver with this on ~/.xinitrc with :
exec dbus-launch --exit-with-session enlightenment_start
 
errata corrige:
to test the script above in /usr/local/etc/xrdp/startwm.sh or ~/startwm.sh, I used FreeBsd 13.1-p2 in Vmware ,not virtualbox,quarterly branch,when I done in VirtualBox, 13.1-p2 latest branch, xrdp didn't work ,i don't know why,but Display-manager and Enlightenment session do.
 
Back
Top