You are not logged in.

#1 2006-08-12 19:18:35

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

How make, that be Gnome after computer start?

How start Gnome without login?
There my /etc/inittab:
#
# /etc/inittab
#

#  Runlevels:
#    0    Halt
#    1(S)       Single-user
#    2    Not used
#    3    Multi-user
#    4    Not used
#    5    X11
#    6    Reboot

id:3:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

c1:2345:respawn:/sbin/agetty 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty 38400 vc/6 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

#x:5:once:/bin/su al -l -c "/bin/bash --login -c startx >/dev/null
2>/dev/null"
x:5:respawn:/opt/kde/bin/kdm -nodaemon
# End of file


Goodbye!

Offline

#2 2006-08-12 19:44:05

kill
Member
Registered: 2004-09-30
Posts: 126

Re: How make, that be Gnome after computer start?

1) Install gdm.
2) Add gdm to your DAEMONS=() array in /etc/rc.conf.
3) Set gdm to auto login for your user. /opt/gnome/sbin/gdmsetup or use setup in the login screen.

Offline

#3 2006-08-12 23:38:40

detto
Member
Registered: 2006-01-23
Posts: 510

Re: How make, that be Gnome after computer start?

or proceed as described here http://wiki.archlinux.org/index.php/Start_X_at_boot
let your ~/.xinitrc contain

exec dbus-launch --exit-with-session /opt/gnome/bin/gnome-session

and ur set to autologin into gnome without gdm.

if u have it already installed/want to have it u can of course do it the way it was mentioned already by kill.


cheers,
detto

Offline

#4 2006-08-13 00:10:21

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: How make, that be Gnome after computer start?

But GDM method might come in handy, as when he wants to autologin into a user in X I doubt he wants to shutdown from console...

Offline

#5 2006-08-13 09:28:33

detto
Member
Registered: 2006-01-23
Posts: 510

Re: How make, that be Gnome after computer start?

jaboua wrote:

But GDM method might come in handy, as when he wants to autologin into a user in X I doubt he wants to shutdown from console...

Idd wink
Just wanted to give 2nd option if he might have mixed feelings with GDM or just doesnt want to have it tongue  roll

Offline

Board footer

Powered by FluxBB