The officially official Devuan Forum!

You are not logged in.

#1 Re: Installation » [SOLVED] How to change system to boot to text login instead of gui » 2021-05-04 12:41:24

bai4Iej2need wrote:

....

b) avoid the graphical login
edit /etc/init.d/slim (i have lightdm so I show you what I did)
do with your editor
vi  /etc/init.d/lightdm
shift the "2" from line Default-Start to the line Default-Stop
result must look like this

#! /bin/sh
### BEGIN INIT INFO
# Provides:          lightdm
# Should-Start:      console-screen kbd acpid dbus hal consolekit
# Required-Start:    $local_fs $remote_fs x11-common
# Required-Stop:     $local_fs $remote_fs
# Default-Start:     3 4 5
# Default-Stop:      0 1 2 6
# Short-Description: Light Display Manager
# Description:       Debian init script for the Light Display Manager
### END INIT INFO

now do

update-rc.d lightdm remove
update-rc.d lightdm defaults

should apply similarly to slim
worked on my desktops

do

init 3 

to start your graphical login

BR

This did indeed work for slim also.

I also found the reason I was not getting a console login prompt was because I had added a rc.local entry and it was hanging, when I removed the entry the console login appeared as expected.

Thanks to everyone for their help.

#2 Re: Installation » [SOLVED] How to change system to boot to text login instead of gui » 2021-05-04 00:37:32

I edited /etc/inittab and set the default runlevel to 3
On boot, it shows it is going into runlevel 3 but still doesn't give a console prompt.
However, if I ssh into it and run init 4 then init 3, the console then displays a login prompt.

#3 Re: Installation » [SOLVED] How to change system to boot to text login instead of gui » 2021-05-04 00:24:14

I tried this:

apt install lightdm
change line in /etc/default/grub to:
GRUB_CMDLINE_LINUX="text"
run update-grub
apt remove slim

On reboot, I see a [warn] message from lightdm saying it found 'text' in kernel command line and would not start.

Same result as before when I disabled slim, there is no login prompt so something is missing which gives the console login prompt.

#4 Re: Installation » [SOLVED] How to change system to boot to text login instead of gui » 2021-05-04 00:05:41

MLEvD wrote:

You mean on restartup or startup? For restartup, uninstalling the graphical greeter is perfectly acceptable. To change at startup you'd have to login as single user and uninstall or disable the greeter

By startup I mean when booting up. 
I found when I disabled slim, it did not go into graphics mode but it also didn't give me a login prompt.  It was still possible to ssh into the machine though.

It isn't possible to uninstall slim, when I try that, apt wants to remove most of the OS (or at least everything to do with graphics).

#5 Re: Installation » [SOLVED] How to change system to boot to text login instead of gui » 2021-05-03 23:16:30

It looks like:
update-rc.d slim disable
stops it from running on boot but I also don't get a login prompt.

I will try sysv-rc-conf and see now that goes.

#6 Re: Installation » [SOLVED] How to change system to boot to text login instead of gui » 2021-05-03 22:53:25

I am using slim and is most likely the reason why the grub command doesn't seem to work for me.

Just need to figure out how to disable it on startup (I don't want to completely uninstall it).

#7 Re: Installation » [SOLVED] How to change system to boot to text login instead of gui » 2021-05-03 22:29:05

Unfortunately setting GRUB_CMDLINE_LINUX ="text" or "3" doesn't work for me.
It is recognizing the change, if it set it to "1", it does indeed go into single user mode.
(I am running update-grub after the change)

I can see the word runlevel 3 scroll by just before it switches to the gui login.

#8 Installation » [SOLVED] How to change system to boot to text login instead of gui » 2021-05-03 21:47:05

hdt551
Replies: 16

I installed xfce but would like the machine to boot to non-graphics mode instead of the gui login.
I still want to go into graphics mode as needed with "startx".

On debian you have to use systemctl commands to change to text login but of course that's not available.
I tried editing /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="text" but that didn't work.

This is on Beowulf.

#10 Devuan » [SOLVED] Plans for MythTV packages? » 2021-04-07 01:46:31

hdt551
Replies: 2

I know Debian does not have packages for MythTV and maybe by design Devuan does not add any additional large packages but was hoping it might be in the works?

Thanks

Board footer

Forum Software