Page 2 of 2

finding my way back with nemesis: an Alzheimer's journal

Posted: 18 Oct 2020, 07:46
by IVD
in to .xinitrc
export XDG_SESSION_TYPE=x11 #for plank

finding my way back with nemesis: an Alzheimer's journal

Posted: 18 Oct 2020, 18:26
by francois
Nemesis bugs and will not boot in graphic mode with:
export XDG_SESSION_TYPE=x11 #for plank proposed by IVD
in
/mnt/sdb3/1_nemesis/changes/home/guest/
I imagine that it should not be file permissions.
Any idea about what went wrong?
Thanks.

finding my way back with nemesis: an Alzheimer's journal

Posted: 19 Oct 2020, 21:43
by ncmprhnsbl
the thing here is: the graphical session is started by ~/.bash_profile > /etc/X11/xinit/xinitrc, so creating your own ~/.xinitrc without the required line:

Code: Select all

exec dbus-launch --exit-with-session /usr/bin/startxfce4
ain't going to work..
so, either do that or try the export line in ~/.bash_profile (added to it) or maybe in /etc/X11/xinit/xinitrc..

finding my way back with nemesis: an Alzheimer's journal

Posted: 25 Oct 2020, 18:45
by francois
It took me time, because I could not get it going with your proposition. Here is what I have done with the info from the following threads:
1) what to do:
https://bbs.archlinux.org/viewtopic.php?id=243298
2) how to do it:
https://wiki.gentoo.org/wiki/Start_X_on_login

So here is ~/.bash_profile

Code: Select all

# plank does not start so:
XDG_SESSION_TYPE='X11'

# Start x on login
if [[ -z $DISPLAY && ! -e /tmp/.X11-unix/X0 ]]; then
   exec startx 
fi
# Use settings from ~/.bashrc
if [ -f ~/.bashrc ]; then
    source ~/.bashrc
fi
So I imagine that this is essentially your proposition.
Thanks so much.