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

Arch based Porteus community project
IVD
Ronin
Ronin
Posts: 2
Joined: 18 Oct 2020, 07:43
Distribution: Arch

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

Post#16 by IVD » 18 Oct 2020, 07:46

in to .xinitrc
export XDG_SESSION_TYPE=x11 #for plank

User avatar
francois
Contributor
Contributor
Posts: 5891
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

Post#17 by francois » 18 Oct 2020, 18:26

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.
Prendre son temps, profiter de celui qui passe.

IVD
Ronin
Ronin
Posts: 2
Joined: 18 Oct 2020, 07:43
Distribution: Arch

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

Post#18 by IVD » 19 Oct 2020, 20:26

.
Last edited by IVD on 22 Oct 2020, 07:17, edited 1 time in total.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2702
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

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

Post#19 by ncmprhnsbl » 19 Oct 2020, 21:43

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..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5891
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

Post#20 by francois » 25 Oct 2020, 18:45

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.
Prendre son temps, profiter de celui qui passe.

Post Reply