You are not logged in.
Hello everybody,
I have successfully installed arch on Hyper-V following https://wiki.archlinux.org/title/Installation_guide and https://wiki.archlinux.org/title/Hyper-V
I have also been successful in enabling Enhanced mode as described in in Hyper-V wiki, but I am stuck at the part where it is required to edit .xinitrc to start KDE when log in a Xrdp session.
Following what described in https://wiki.archlinux.org/title/KDE I have edited my .xinitrc as follows:
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# twm &
# xclock -geometry 50x50-1+1 &
# xterm -geometry 80x50+494+51 &
# xterm -geometry 80x20+494-0 &
# exec xterm -geometry 80x66+0+0 -name login
export DESKTOP_SESSION=plasma
exec starplasma-x11However, when I login using xrdp I get only a blank screen with the mouse pointer?
Can anybody help me to understand where is the error?
Last edited by hikikomori666 (2021-05-15 22:02:23)
Offline
you have a typo in the last line.
Online
you have a typo in the last line.
Fixed, but the situation is still the same.
Offline
Ok, I have found the solution looking into https://wiki.archlinux.org/title/xrdp: the .xinitrc above is correct, but in addition it is necessary to comment out all the references to systemd-home in /etc/pam.d/system-auth.
Offline