You are not logged in.

#1 2016-03-18 11:20:32

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

[SOLVED] How to start bunselab without LightDM

Good morning , I would like to know if it is possible to start bunslab LightDM without entering my username and password from the terminal and then starting it with the command startx :
I have to uninstall lightdm ?
I can keep it by disabling something ?
risks that entails ?

Thank you


Nothing happens by chance

Offline

#2 2016-03-18 12:46:04

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,698

Re: [SOLVED] How to start bunselab without LightDM

Bentornato.   cool

/etc/lightdm/lightdm.conf

...
117  autologin-user=fvirgola80
...

reboot

Last edited by unklar (2016-03-18 12:46:36)

Offline

#3 2016-03-18 15:01:14

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,660

Re: [SOLVED] How to start bunselab without LightDM

I have to uninstall lightdm ?
I can keep it by disabling something ?
risks that entails ?

You can use systemd to disable the lightdm service - there are a couple threads in these forums about how to do that and set up a console login. Just a couple commands, but I can't think of them off the top of my head.

No risks that I am aware of.


You must unlearn what you have learned.
    -- yoda

Online

#4 2016-03-18 15:22:57

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: [SOLVED] How to start bunselab without LightDM

unklar wrote:

Bentornato.   cool

/etc/lightdm/lightdm.conf

...
117  autologin-user=fvirgola80
...

reboot

Hello unklar , you say you change the lightdm.conf file at line 117 with username and restarting find the console terminal and I start with startx ?   smile


Nothing happens by chance

Offline

#5 2016-03-18 15:24:01

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: [SOLVED] How to start bunselab without LightDM

PackRat wrote:

I have to uninstall lightdm ?
I can keep it by disabling something ?
risks that entails ?

You can use systemd to disable the lightdm service - there are a couple threads in these forums about how to do that and set up a console login. Just a couple commands, but I can't think of them off the top of my head.

No risks that I am aware of.

Hello PackRat , could tell me the links thanks cool

Last edited by fvirgola80 (2016-03-18 16:58:39)


Nothing happens by chance

Offline

#6 2016-03-18 16:22:47

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [SOLVED] How to start bunselab without LightDM

Well... there's no risk if you're the only one who has access to your computer.


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#7 2016-03-18 16:22:49

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,660

Re: [SOLVED] How to start bunselab without LightDM

CLI Startup



Well... there's no risk if you're the only one who has access to your computer.

^ this - maybe I misunderstood what you're actually trying to do. Are you trying to disable lightdm and auto-login from the console with startx, or just disable lightdm?

Last edited by PackRat (2016-03-18 16:27:35)


You must unlearn what you have learned.
    -- yoda

Online

#8 2016-03-18 16:57:24

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: [SOLVED] How to start bunselab without LightDM

PackRat wrote:

CLI Startup



Well... there's no risk if you're the only one who has access to your computer.

^ this - maybe I misunderstood what you're actually trying to do. Are you trying to disable lightdm and auto-login from the console with startx, or just disable lightdm?


What I would do and dibalitare lightdm have no login car .... but I have to be me to enter my username and password from the console and type startx to start openbox bunsenlab

cool


Nothing happens by chance

Offline

#9 2016-03-18 17:00:18

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: [SOLVED] How to start bunselab without LightDM

Horizon_Brave wrote:

Well... there's no risk if you're the only one who has access to your computer.



I try Horizon_Brave
Thank you

wink  wink


Nothing happens by chance

Offline

#10 2016-03-19 00:04:01

spacex
Member
From: Norway
Registered: 2015-12-15
Posts: 66
Website

Re: [SOLVED] How to start bunselab without LightDM

fvirgola80 wrote:
unklar wrote:

Bentornato.   cool

/etc/lightdm/lightdm.conf

...
117  autologin-user=fvirgola80
...

reboot

Hello unklar , you say you change the lightdm.conf file at line 117 with username and restarting find the console terminal and I start with startx ?   smile

Nope, this just means that you login without typing your password. You do not use startx...

If you want to use startx, then do this: (In terminal)

sudo geany /etc/X11/default-display-manager

Comment out lightdm by making it look like this:

#/usr/sbin/lightdm

Save the file and reboot. Now you will have to enter your username and password in console terminal, and enter "startx" to launch X.


Regards Spacex(EW)

"If you have any trouble sounding condescending, find a UNIX user to show you how it's done." — Scott Adams, Dilbert Cartoonist

Offline

#11 2016-03-19 00:34:28

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] How to start bunselab without LightDM

spacex wrote:

....

Save the file and reboot. Now you will have to enter your username and password in console terminal, and enter "startx" to launch X.

But then the `bl-user-setup` script wouldn't run. I've never tried it myself, but don't you have to set up `~/.Xinitrc` or `~/.profile` as well?


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#12 2016-03-19 08:53:30

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] How to start bunselab without LightDM

damo wrote:

but don't you have to set up `~/.Xinitrc` or `~/.profile` as well?

No, as long as "openbox-session" is set as x-session-manager in /etc/alternatives (as it is in BL) then the openbox autostart script will be parsed and the xdg stuff should be autostarted just as with LightDM.

Rather than editing Xorg system configuration files, use:

sudo systemctl set-default multi-user.target

to set a console login (as pointed out by @el_koraco in the linked thread) and use:

sudo systemctl set-default graphical.target

to return to a display manager login.

Offline

#13 2016-03-19 12:54:40

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: [SOLVED] How to start bunselab without LightDM

Hello Guys I settled with the consgilio of Head_on_a_Stick thanks a lot to all of you by excellent .. lol  lol  lol


Nothing happens by chance

Offline

#14 2016-03-19 12:55:55

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: [SOLVED] How to start bunselab without LightDM

u

spacex wrote:
fvirgola80 wrote:
unklar wrote:

Bentornato.   cool

/etc/lightdm/lightdm.conf

...
117  autologin-user=fvirgola80
...

reboot

Hello unklar , you say you change the lightdm.conf file at line 117 with username and restarting find the console terminal and I start with startx ?   smile

Nope, this just means that you login without typing your password. You do not use startx...

If you want to use startx, then do this: (In terminal)

sudo geany /etc/X11/default-display-manager

Comment out lightdm by making it look like this:

#/usr/sbin/lightdm

Save the file and reboot. Now you will have to enter your username and password in console terminal, and enter "startx" to launch X.

thank you so much wink  wink


Nothing happens by chance

Offline

#15 2016-03-19 12:57:42

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: [SOLVED] How to start bunselab without LightDM

damo wrote:
spacex wrote:

....

Save the file and reboot. Now you will have to enter your username and password in console terminal, and enter "startx" to launch X.

But then the `bl-user-setup` script wouldn't run. I've never tried it myself, but don't you have to set up `~/.Xinitrc` or `~/.profile` as well?


thank you so much wink  wink


Nothing happens by chance

Offline

#16 2016-03-19 12:58:32

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: [SOLVED] How to start bunselab without LightDM

Head_on_a_Stick wrote:
damo wrote:

but don't you have to set up `~/.Xinitrc` or `~/.profile` as well?

No, as long as "openbox-session" is set as x-session-manager in /etc/alternatives (as it is in BL) then the openbox autostart script will be parsed and the xdg stuff should be autostarted just as with LightDM.

Rather than editing Xorg system configuration files, use:

sudo systemctl set-default multi-user.target

to set a console login (as pointed out by @el_koraco in the linked thread) and use:

sudo systemctl set-default graphical.target

to return to a display manager login.


thank you so much wink  wink


Nothing happens by chance

Offline

#17 2016-03-19 12:59:21

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: [SOLVED] How to start bunselab without LightDM

[SOLVED] How to start bunselab without LightDM


Nothing happens by chance

Offline

#18 2016-03-19 15:14:41

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] How to start bunselab without LightDM

fvirgola80 wrote:

[SOLVED] How to start bunselab without LightDM

I've edited the title of your first post for you wink


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#19 2016-03-19 15:52:30

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: [SOLVED] How to start bunselab without LightDM

damo wrote:
fvirgola80 wrote:

[SOLVED] How to start bunselab without LightDM

I've edited the title of your first post for you wink


thank you so much wink  wink


Nothing happens by chance

Offline

#20 2016-03-19 18:08:31

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: [SOLVED] How to start bunselab without LightDM

Head_on_a_Stick wrote:
damo wrote:

but don't you have to set up `~/.Xinitrc` or `~/.profile` as well?

No, as long as "openbox-session" is set as x-session-manager in /etc/alternatives (as it is in BL) then the openbox autostart script will be parsed and the xdg stuff should be autostarted just as with LightDM.

Rather than editing Xorg system configuration files, use:

sudo systemctl set-default multi-user.target

to set a console login (as pointed out by @el_koraco in the linked thread) and use:

sudo systemctl set-default graphical.target

to return to a display manager login.

there's still one thing I want to ask you .... if not I press start sending with the headboard text stops at a point .... since I get sent the debian version 8 name and then the name of the pc with the two punti..la my question is there a way to not give as often send ?

Thank you

Last edited by fvirgola80 (2016-03-19 18:09:11)


Nothing happens by chance

Offline

Board footer

Powered by FluxBB