You are not logged in.

#1 2019-07-03 18:14:51

0b4uscated
Member
Registered: 2019-07-03
Posts: 6

[SOLVED] Custom DE not working.

I've create an desktop session file in /usr/share/xsessions to start an script which is located in /usr/local/bin.
The script starts compiz just normally with "compiz &" and then (next line) plank &. But plank just doesn't start. I tried to replace it with some other program. Same effect. Nothing in ~/.xsession-errors. Can someone tell me what the problem could be or how I could better debug it? I'm using lightdm as login manager. Lightdm shows my custom DE. But when I login I just get an blank screen with an mouse cursor. My second program (plank in this case) does not start.

Last edited by 0b4uscated (2019-07-04 15:12:40)

Offline

#2 2019-07-03 18:51:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Custom DE not working.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-07-03 20:06:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,500

Re: [SOLVED] Custom DE not working.

Assuming your script is called, please post it, not some vague description. Eg. I'm not sure how a session that forks everything could last for very long.

Offline

#4 2019-07-03 20:17:00

0b4uscated
Member
Registered: 2019-07-03
Posts: 6

Re: [SOLVED] Custom DE not working.

It is very easy.

#/bin/bash
compiz &
plank &

Lightdm recognizes the session file and it also executes the bash script. But for whatever reason it only executes compiz. Plank or any other application won't be executed.

Offline

#5 2019-07-03 20:19:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,500

Re: [SOLVED] Custom DE not working.

You could throw in some "echo stage 1 >> /tmp/script.log" to see where the script stops processing and also trail w/ eg. some unforked "xterm" to have
a) a window
b) sth. keeping the session running

Offline

#6 2019-07-04 15:08:03

0b4uscated
Member
Registered: 2019-07-03
Posts: 6

Re: [SOLVED] Custom DE not working.

Solved the problem! I needed sth. that kept the script running. Thanks for your advice seth!

Offline

#7 2019-07-04 15:09:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,500

Re: [SOLVED] Custom DE not working.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB