in to .xinitrc
export XDG_SESSION_TYPE=x11 #for plank
finding my way back with nemesis: an Alzheimer's journal
Moderator: M. Eerie
- francois
- Contributor
- Posts: 6499
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
finding my way back with nemesis: an Alzheimer's journal
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.
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.
Prendre son temps, profiter de celui qui passe.
- ncmprhnsbl
- DEV Team
- Posts: 4253
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
finding my way back with nemesis: an Alzheimer's journal
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:
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..
Code: Select all
exec dbus-launch --exit-with-session /usr/bin/startxfce4
so, either do that or try the export line in ~/.bash_profile (added to it) or maybe in /etc/X11/xinit/xinitrc..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
- francois
- Contributor
- Posts: 6499
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
finding my way back with nemesis: an Alzheimer's journal
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
So I imagine that this is essentially your proposition.
Thanks so much.
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
Thanks so much.
Prendre son temps, profiter de celui qui passe.