You are not logged in.

#1 2017-03-17 10:20:44

BigF
Member
Registered: 2012-02-17
Posts: 51

spring release question

Hello gentlemen,

I have just installed the new release of AB on my lappy.
It looks kinda "basic" (sorry, my opinion) but then again, thats what AB is all about, isnt it ? :-)
For now  i have just a simple (?) question.

As long as i used AB, i always used a login manager (and I like to login this way), had to type in my username and password to get OB running.
In this release, i find myself immediately logged in into the  desktop automatiquely, without a login screen.
Maybe this is a release without a login manager ?

So, is it possible , and if "yes" how, to get back a loginscreen ?
I just dont really feel "safe" this way :-)


Many thanks in advance you guys !
Keep on doing this great work !

Offline

#2 2017-03-17 12:15:29

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 3,609
Website

Re: spring release question

I suppose autologin is done with lxdm.
I have an older install, so I don't know for sure how it is done in this last release.
You will find the config file in etc/lxdm/lxdm.conf
If you don't want autologin  you have to change
line 3
autologin=userrname
in
#autologin=

If you don't have lxdm installed; install it
and see for more info https://wiki.archlinux.org/index.php/LXDM


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#3 2017-03-17 16:50:59

peter
Member
Registered: 2016-02-16
Posts: 13

Re: spring release question

Hi,
Also you can do:
edit etc/lxdm/lxdm.conf:

## default session or desktop used when no systemwide config
session=/usr/bin/openbox-session

My Background also changed:

## background of the greeter
#bg=/usr/share/backgrounds/default.png
bg=/usr/share/backgrounds/.../blueSimple.png

and for be enable in the future after reboots:

systemctl enable lxdm

Offline

#4 2017-03-18 02:11:02

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,748

Re: spring release question

ArchBang is basic because it was always meant to reflect the mighty CrunchBang distribution. Applications are kept to a bare minimum to allow a user to try out Archlinux or install and then create their own system. We do not ship with lxdm, basically we use an autostart method based on getty (take a look at /etc/systemd/system) then X is started via bash_profile.

We always welcome comments and suggestions, any additional packages or changes that could be made to make ArchBang even better.


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org

Offline

#5 2017-03-18 07:05:56

BigF
Member
Registered: 2012-02-17
Posts: 51

Re: spring release question

Ok you guys !
TY a zillion times for the answers !
But  indeed, MrG is right, i dont have any lxdm directory any place on my disk ....
i did take a look where Mr Green pointed me, but i must confess, i never used any getty soft before so i am really out in the blue here ...... but isnt getty something for terminal emulation (tty ?) ??

Do i understand correctle when i say this spring release doesnt come with a login manager anymore ?

I do have a "autologin.conf"  residing in /etc/systemd/system/getty@tty1.service.d ...
Not sure what i will need to change it to tough ...

the 3 lines of it read now :

[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin (my-username) --noclear %I 38400 linux

Can someone pls guide me on what to do ?
I have the feeling that when i disable autologin here, i will find myself at the bootprompt as soon as i start my system since there is no loginmanager installed ???

thanks a lot you guys in advance for explaining !

Offline

#6 2017-03-18 07:38:58

seventh
Member
Registered: 2017-02-07
Posts: 22

Re: spring release question

I like to use lightdm and lightdm-gtk-greeter Bigf. That way it gives you the ability to have a login screen, password, switch to other desktops and language chooser etc. This would be my advice, im not experienced enough to mess with systemd settings yet. I understand why there is no login manager for archbang as it is a bare bones or minimal installation and you get to choose how to set up login/start etc etc. Which i think is a cool learning aspect of arch linux through archbang.

Follow the arch wiki here...
https://wiki.archlinux.org/index.php/LightDM#Greeter

Offline

#7 2017-03-18 08:16:12

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 3,609
Website

Re: spring release question

First install lxdm and then edit  /etc/systemd/system/getty@tty1.service according to
https://wiki.archlinux.org/index.php/Ge … al_console
so remove this part
--autologin  --autologin (my-username)


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#8 2017-03-18 09:53:29

peter
Member
Registered: 2016-02-16
Posts: 13

Re: spring release question

Hello,
So I'm not an expert but I just install a lxdm or other that you like.
then I just systemctl enable lxdm service and edit the lxdm.config file
.............................................

Generally, each getty process is started by systemd...The main command used to introspect and control systemd is systemctl

Offline

#9 2017-03-19 01:36:10

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,748

Re: spring release question

I simply remove service from /etc/systemd/system, the directory is used by systemd to start services there automatically.

Load up lxdm start and enable it service then edit /etc/lxdm/lxdm.conf as required.

There are of course other login managers available wink


Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org

Offline

#10 2017-03-19 09:15:02

BigF
Member
Registered: 2012-02-17
Posts: 51

Re: spring release question

You guys are just great :-)
Thanks for all your advise !
Seems lxdm is the most popular way to go, so i will follow it !

Offline

Board footer

Powered by FluxBB