libera/#devuan/ Saturday, 2023-12-02

xrogaaneyalroz: dude doesn't know what init is, apparently.00:05
xrogaan"systemd is C, which is better than bash scripts"00:05
masonFWIW, they're Dash scripts.00:19
onefangYou can write sysv init scripts in any language.  Or at least with my version you can.  Yes I did write some in C.00:32
rrqone key reason for scripting the boot is to have transparency of the boot procedure so that individual adjustments can be done when needed. Compiled procedure only works for the systems it is compied for.00:51
blockheadi'm running devuan daedalus and I've got it set up so that I login in text mode, then run startx when i want to do gui things01:58
blockheadis it possible to make the screen stop clearing on logout / login?01:59
gnarfaceblockhead: uh, yea probably, but that was fixed as a bug at one point because it's a theoretical security risk02:02
blockheadi guess that being able to see what the last login was up to is the security risk?02:03
gnarfaceyes02:03
blockheadi'm the only one that uses this computer so not a concern for me02:04
gnarfacewell you don't need my permission, but that's also why i don't know off the top of my head how to make it stop doing that02:04
blockheadlol02:04
blockheadi read about making a .bash_logout (that does nothing) as a workaround but that hasn't had any effect.  oh well.  eventually I'll stumble onto a solution02:06
gnarfacestick around, someone here might knwo02:07
gnarface*know02:07
blockheadgood point02:07
rwpblockhead, Edit /etc/inittab and add --noclear so it looks like this: https://paste.debian.net/plain/129990202:33
rwp"1:2345:respawn:/sbin/getty --noclear 38400 tty1" for the channel.02:34
rwpEspecially for tty1 it's super annoying to clear away the boot messages and also any errors that we are looking for there.02:35
blockheadnwp: thank you! :)02:37
rwpThat used to be the default behavior.02:39
blockheadrebooting...02:39
rwpSilly blockhead doesn't need to reboot but just needs to say "kill -1 1" as root and have init reload the inittab.02:40
blockheadthat totally worked!  thank you!  :)02:47
rwpYou are most welcome!02:48
rwpYou did not need to reboot.  init will reload the inittab upon receiving a SIGHUP signal.  "kill -1 1" as root will do it.02:49
blockheadi didn't know that.  :o02:49
rwpIt's crazy for me to see in the init man page that they are now describing these actions in terms of systemd.  "SIGHUP Reloads the complete daemon configuration. This is mostly equivalent to systemctl daemon-reload."02:51
* blockhead never thought of init, had been reading up on elogind, looking in /etc/profile03:05
rwpAh...  In the beginning is init.  init spawns a getty on the terminal.  getting gets tty parameters and then a login name and spawns /bin/login03:11
rwps/getting/getty  and I have no idea why my fingers put that in there.03:12
rwpMost actual terminals had Home and a key to clear the screen.  If you wanted to clear the screen then you hit Home and cleared the screen.  There was never a need for getty to do it.  But then some people complained that other people could not be trusted to clear the screen and hard coded the behavior in getty.03:14
garikhi guys, i am new here, also i am new in Devuan, i need a little bit help09:30
n4diryou could ask, but it is not the most active time of the day. I will try, but only know that much09:31
gariki installed devuan linux yesterday but when the computer turns on there is no gui09:31
garikmy gpu is nvidia09:31
n4dirand here we are: i pretty much never had to use Nvidia.09:32
garikoh09:32
n4diryou can do : lspci ; then find what is the graphics chip, then enter that and add "debian" to the searchterm in a searchengine09:33
n4dirlspci | grep -i VGA; try that09:33
n4diras far i can say the instructions how to get that sorted for debian should work for devuan too09:33
garikso i dont have close source nvidia drivers, its open source drivers09:41
garikbut even with open source driver i cant boot09:41
gariki can see no GUI i mean09:41
n4diryou see the brug menu and what is the next thing you can see ? TTY? Or "nothing" ?09:41
garikTTY09:41
n4dirthe grub menu, not the brug menu, dang09:41
n4dirwhich DE did you install?09:42
garikgrub menu then tty09:42
n4dirdid you try "startx" ?09:42
garikxfce09:42
n4dirnot to start X, but to get an error message09:42
garikyeah i am getting errot message09:42
garikerror*09:42
n4dirin general you are better served if you wait for someone in the subject, but we could gather some info, if you like09:43
n4dirfrom what i have heard the free driver should always work, but i seldom listen closely, as i have no nvidia09:43
garikso for that i need to go and connect to this chat from my mobile, this is my laptop, then we can continue09:43
n4diri don't have that much more to say. I'd try a live distro, i for one would try refracta.09:44
n4diryou could also just ask again in a few hours.09:44
HCSI'm here09:49
Hayk_CS?09:52

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!