You are not logged in.

#26 2007-04-16 10:26:14

[vEX]
Member
From: Sweden
Registered: 2006-11-23
Posts: 450

Re: How do you load your DE? deamon style or inittab?

Deamon style, it works so why bother with something else?


PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM

Offline

#27 2007-04-16 10:42:52

dienadel
Member
Registered: 2005-12-23
Posts: 179

Re: How do you load your DE? deamon style or inittab?

Innitab

The 90% of times, i enter with kdm to the system by default.

But in grub, i have another entry, same as the default, but with the option "init=3". I select this option if i must enter to the shell.

This last option, couldn't exist if i'd use the daemon.

Offline

#28 2007-04-16 11:12:59

oscar.cambieri
Member
Registered: 2007-03-12
Posts: 15

Re: How do you load your DE? deamon style or inittab?

Same as Dienadel (but using gdm and xfce)  for the same reasons... and happy! :-)
Oscar

Last edited by oscar.cambieri (2007-04-16 11:14:09)

Offline

#29 2007-04-16 14:47:22

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: How do you load your DE? deamon style or inittab?

I was just wondering if I could do just that (inittab, default init=5, init=3 as "backup") instead of daemon style.

obviously, switched to inittab (indeed, cleaner)


To know recursion, you must first know recursion.

Offline

#30 2007-04-16 16:55:04

dienadel
Member
Registered: 2005-12-23
Posts: 179

Re: How do you load your DE? deamon style or inittab?

lloeki wrote:

I was just wondering if I could do just that (inittab, default init=5, init=3 as "backup") instead of daemon style.

obviously, switched to inittab (indeed, cleaner)

In inittab:

x:5:respawn:/opt/kde/bin/kdm -nodaemon

and my two entries in menu.lst:

title        Arch Linux
root        (hd0,0)
kernel        /vmlinuz26 root=/dev/hda5 ro vga=0x305 quiet
initrd        /kernel26.img

title        Arch Linux (init 3)
root            (hd0,0)
kernel          /vmlinuz26 root=/dev/hda5 ro vga=0x305 init 3
initrd          /kernel26.img

Offline

#31 2007-04-16 18:30:44

Kermit
Member
From: Chorzów, Poland
Registered: 2006-03-25
Posts: 78

Re: How do you load your DE? deamon style or inittab?

GDM here. Why? Because I can do that in this way and it works wink

Kermit.

Offline

#32 2007-04-16 19:16:23

phildg
Member
Registered: 2006-03-10
Posts: 146

Re: How do you load your DE? deamon style or inittab?

Dieter@be wrote:

i just login and type startx (eg how real men do it ;-))

Nah, real men automate things as much as possible.

The appropriate part of my .bash_profile file:

if [ "$(tty)" = "/dev/vc/1" ]; then
    /usr/bin/startxfce4
    logout
fi

Why .bash_profile instead of .bashrc? Because .bash_profile is only sourced at login, whereas .bashrc is sourced for every terminal, so negates the need to check if X is already running

I don't use any gnome or kde apps, so I ain't installing half of gnome or kde for the sake of a graphical login manager

Last edited by phildg (2007-04-16 19:17:53)

Offline

#33 2007-04-16 19:21:13

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: How do you load your DE? deamon style or inittab?

I have the opposite opinion about real men. Real men do everything by hand, they do not even use PCs and probably do not write in this forum. tongue


Mortuus in anima, curam gero cutis

Offline

#34 2007-04-17 01:31:37

benplaut
Member
Registered: 2006-06-13
Posts: 383

Re: How do you load your DE? deamon style or inittab?

.

Last edited by benplaut (2021-06-25 12:26:25)

Offline

#35 2007-04-17 01:50:54

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: How do you load your DE? deamon style or inittab?

kdm


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#36 2007-04-17 03:41:04

aRcHaTe
Member
Registered: 2006-10-24
Posts: 646

Re: How do you load your DE? deamon style or inittab?

inittab tongue


Its a sick world we live in....

Offline

#37 2007-04-17 03:59:47

Echo
Member
From: Ohio, United States
Registered: 2006-05-16
Posts: 239

Re: How do you load your DE? deamon style or inittab?

I have the following in .bashrc

alias x='startx'

That way all I have to do is type "x" to "startx". smile Typing startx all the time was too much trouble, but, I really don't want to use kdm, gdm ....

Offline

#38 2007-04-17 08:41:58

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: How do you load your DE? deamon style or inittab?

dienadel, thanks, although I already found the wiki entry about that smile


To know recursion, you must first know recursion.

Offline

#39 2007-04-17 09:15:14

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: How do you load your DE? deamon style or inittab?

I have this in my .zshrc, in order to avoid to see the standard output each time, to have a synthetic log file and to have my console shell back:

alias x='startx -- -quiet -logverbose 1 &> /dev/null &'

Mortuus in anima, curam gero cutis

Offline

#40 2007-04-17 22:57:07

Zer0
Member
From: Windsor, ON, Canada
Registered: 2006-08-25
Posts: 299

Re: How do you load your DE? deamon style or inittab?

Well I tried the daemons method for a couple days and I think I'll stay with inittab (runlevel 5) style.

1) I usually jump right into X anyway.
2) When I do need command line before loading X I can use the init=# kernel option.  When loading via daemon style you can't really do this.

Even though I'm aware of the init=# option.. I seem to have forgotten about it,  creating an extra grub entry is an excellent idea.. thanks

Offline

#41 2007-04-18 03:41:25

benplaut
Member
Registered: 2006-06-13
Posts: 383

Re: How do you load your DE? deamon style or inittab?

.

Last edited by benplaut (2021-06-25 12:26:18)

Offline

#42 2007-07-02 21:29:30

mecon
Member
Registered: 2007-06-25
Posts: 31

Re: How do you load your DE? deamon style or inittab?

login and type startx least hassle


Arch Linux the best thing to come out of Canada since Rush

Offline

#43 2007-07-02 22:47:02

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: How do you load your DE? deamon style or inittab?

inittab


thayer williams ~ cinderwick.ca

Offline

#44 2007-07-03 07:28:59

kano
Member
From: Michigan
Registered: 2007-05-04
Posts: 185
Website

Re: How do you load your DE? deamon style or inittab?

gdm in DAEMONS=()

it works without hassle, and if there's an X problem, chances are it will just drop me to a console anyways so I can fix it. wink


\\ archlinux on a XPS M1530 //

Offline

#45 2007-07-03 07:35:26

Kenetixx
Member
From: /unvrs/mlkywy/earth/aust/home
Registered: 2006-09-09
Posts: 258
Website

Re: How do you load your DE? deamon style or inittab?

startx with exec gnomesession in .xinitrc
I like the command line start because i am a n00b and break my system all the time trying things so command is easy for me


http://binaryritual.net

There is no spoon.......

Offline

#46 2007-07-03 11:08:58

faw
Member
Registered: 2007-06-09
Posts: 18

Re: How do you load your DE? deamon style or inittab?

Like a few of the previous posts, I'm also using inittab with the two runlevel options in grub. It's really not that much extra work, and to me it just seems much more cleaner and polished. 'Each to their own' though... smile

Offline

#47 2007-07-03 14:05:28

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: How do you load your DE? deamon style or inittab?

SLiM from inittab, so I can disable it directly from GRUB by booting runlevel 3.

Offline

#48 2007-07-03 18:18:35

festgreifaah
Member
Registered: 2006-06-12
Posts: 51

Re: How do you load your DE? deamon style or inittab?

.bash_profile

Offline

#49 2007-07-03 19:10:46

scarney
Member
From: Wisconsin, US
Registered: 2006-07-11
Posts: 173

Re: How do you load your DE? deamon style or inittab?

kdm in DAEMONS. when i am not so lazy. i will revisit this thread and try the l33t g33k ways of doing it. wink

Offline

#50 2007-07-04 14:56:35

hongy19
Member
From: China
Registered: 2005-04-08
Posts: 83
Website

Re: How do you load your DE? deamon style or inittab?

daemon style.
it is simple and is very easy to stop gdm for installing nvidia drive.

Offline

Board footer

Powered by FluxBB