Solved Slim sesession stop cmd

Greetings,

Slim configuration has an option something sessionstop_cmd

I'm trying to stop slim service slim stop with this option when a user is logged out from the window manager environment.

I guess this is not possible because the user doesn't have the permission.

Perhaps anyone can enlighten me with another method on how to achieve that goal.

Thanks in advance
 
Greetings SirDice,

I use slim as
Code:
"jumpbox"
to get into enlightenment login window.

when I logout I enter into slim login window and I would like to be attached to tty0 right after.

Please let me know whether it makes sense.

Regards
 
when I logout I enter into slim login window and I would like to be attached to tty0 right after.
Then don't run SLiM or any other display manager and simply use startx after logging in. When you exit X you'll get dropped back to the console.
 
CTRL-ALT-F2 to F7 are also an option.
I have already evaluated that option.

I forgot to mention that I am trying to build an UI to our users where I have to exclude in enlightenment WM the hibernate(not supported in FBSD) option and also when a user is logging out from X session he gets tty0 console
 
I was able to get the expected behavior by modifying the .xinitrc file as follow
trap 'doas service slim stop' SIGQUIT SIGINT SIGTERM SIGKILL SIGHUP EXIT
exec /usr/local/bin/enlightenment_start &
wait

thanks
 
Back
Top