You are not logged in.
Hi!
I'm trying to configure openbox now, but I have a problem with starting up some programs at openbox startup.
My ~/.xsession is here:
docker &
gaim &
exec openbox
it's executable by everyone.
I use gdm to login and start an WM. So, if I choose openbox, nothing happens, openbox starts normally ang ignores the .xsession file. If I choose Default system session, the background gets the same color as in openbox, but I'm not able to open and use the menu, and no one program from the .xsession is started, instead of that a window named Session Menu appears. In the middle of it is written "ChooseSessionListWidget" and there are also some buttons, but only 2 are functional: Default/Fail Safe and Cancel. If I choose the first one, the window dissapears and nothing else changes. If I choose Cancel, I get an error and the session is ended, then in the .xsession-errors is written this:
/opt/gnome/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/opt/gnome/etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/opt/gnome/var/gdm/:0.Xservers" -h "" -l ":0" "matej"
/opt/gnome/etc/gdm/Xsession: Beginning session setup...
/opt/gnome/etc/gdm/Xsession: Cannot find Xclients
/opt/gnome/etc/gdm/Xsession: ssh-agent not found!
/opt/gnome/etc/gdm/Xsession: Setup done, will execute: xsm
(matej is my user name)
Does anybody know what's going on, please? I haven't find anything useful yet.
Thanks.
Thank you free software developers for sharing your work.
Offline
Try creating a sym link from ~/.xsession to ~/.xinitrc , then try using the "Default Session" in gdm
Offline
Try creating a sym link from ~/.xsession to ~/.xinitrc , then try using the "Default Session" in gdm
No, this doesn't work. But I have in gdm (2.14.3-1) just "Default System Session", not "Default Session".
Thank you free software developers for sharing your work.
Offline
I have solved it this way:
I've created a file named startup in ~/.config/openbox/ :
docker &
gaim &
exec openbox
and set it to be executable.
Then I have changed the /etc/X11/session/openbox.desktop to execute the startup script:
[Desktop Entry]
Encoding=UTF-8
Type=XSession
Exec=$HOME/.config/openbox/startup
TryExec=$HOME/.config/openbox/startup
Name=openbox
And it works
Thank you free software developers for sharing your work.
Offline