You are not logged in.

#1 2008-05-09 17:38:43

radoscak
Member
Registered: 2008-05-07
Posts: 20

How to start gdm automatically??

Hi I installed gnome and icewm, whent I write command startx, it starts icewm. I must write command gdm to start gdm manager, the problem there is that i can only login as other user than root, so I can do nothing in gnome and I cant su in terminal - it writes something about privileges. How to enable root in terminal???
Next problem is I want to start gdm automatically I put gdm as a first daemon in rc.conf - doesnt login automatically, just some mess in letters in non-X window and also the internet connection doesnt work - when I run command route no route shows me there - is that problem of gdm in rc.conf - before installing gdm it was ok with internet connection.
How to start gdm automatically and repair internet connection problem?? Also I cant ping any computer on my network.

Last edited by radoscak (2008-05-09 17:40:01)

Offline

#2 2008-05-09 17:43:45

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: How to start gdm automatically??

Whoa, too many questions. smile
To answer the topic: http://wiki.archlinux.org/index.php/Add … on_startup

Offline

#3 2008-05-09 17:55:00

Misbah
Member
Registered: 2008-02-27
Posts: 218

Re: How to start gdm automatically??

deleted

Last edited by Misbah (2012-02-14 04:21:56)

Offline

#4 2008-05-09 18:02:17

drag0nl0rd
Package Maintainer (PM)
From: Czech Republic
Registered: 2007-10-24
Posts: 127
Website

Re: How to start gdm automatically??

I thought this is about getting GDM started at start automatically. But there are far more questions. With gDM you might be interested in this file:

#
# /etc/inittab
#

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

## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5: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

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux

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

# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/opt/kde/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null

# End of file

the lines of interest are 18 and 38 for you with GDM.

The thing with terminal root is you have to add your regular user to the wheel group, I guess. It's for sure somewhere in the wiki. And the last thing, not sure what can be wrong with your internet connection after installing GDM, doublecheck your config files, maybe there went something wrong.
I hope this helpes, good luck!

Last edited by drag0nl0rd (2008-05-09 18:13:35)

Offline

#5 2008-05-09 18:16:18

radoscak
Member
Registered: 2008-05-07
Posts: 20

Re: How to start gdm automatically??

OK thanks for some advices, I uninstalled gdm(I was thinking it is the reason of problems but not). When the system starts it ask from me login(in non X window) but the letters there are disorderly(like rc-lapt  login: op), also the internet connection doesnt work - the network setting in rc.conf is good). I dont understand why that command route doesnt work, problem with X???

This is my rc.conf

LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="yes"
TIMEZONE="Canada/Pacific"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
MODULES=(slhc tg3 ipw2200 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)
USELVM="no"
HOSTNAME="r-c-laptop"
eth0="eth0 192.168.1.99 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(eth0)
gateway="default gw 192.168.1.1"
ROUTES=(gateway)
DAEMONS=(syslog-ng network netfs crond)

Offline

#6 2008-05-09 18:22:33

quarK
Member
From: Karlsruhe, Germany
Registered: 2008-02-22
Posts: 39

Re: How to start gdm automatically??

Hi!

Well, looking at your rc.conf, I think you are quite sure about your network settings. Can you ping your router?

ping -c 4 $insert_your_router_ip_here

About the gdm stuff: Have you tried to start gdm as the last demon and start hal and fam before gdm?

DAEMONS=(syslog-ng network netfs crond hal fam gdm)

Just a thought....

cheers
quarK

Offline

#7 2008-05-09 18:32:20

radoscak
Member
Registered: 2008-05-07
Posts: 20

Re: How to start gdm automatically??

The problem is that i cant ping anything, so i have no idea what can be wrong, it worked but now, after putting gdm in daemons it stopped. I uninstaled gdm and I cant install it back I have no internet connection.

Last edited by radoscak (2008-05-09 18:32:36)

Offline

#8 2008-05-09 18:48:21

radoscak
Member
Registered: 2008-05-07
Posts: 20

Re: How to start gdm automatically??

Maybe the reinstall is the only way, Can you give me some advices after installing for best way to get X windows working(i have ati card) and use gnome, fluxbox,kde,icewm(and make them switchable - to use gdm, xdm??).

Offline

#9 2008-05-09 20:01:45

Zepp
Member
From: Ontario, Canada
Registered: 2006-03-25
Posts: 334
Website

Re: How to start gdm automatically??

You should check your route table, resolv.conf, and ifconfig if you can't ping anything tongue.

Offline

#10 2008-05-09 20:28:37

radoscak
Member
Registered: 2008-05-07
Posts: 20

Re: How to start gdm automatically??

When i check ifconfig it shows mi only lo device, no eth0 like before. What can be problem, it worked and it showed me eth0 in ifconfig. Thats the reason why in route table is nothing. Does anybody know how to solve it?

Offline

#11 2008-05-09 20:55:34

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: How to start gdm automatically??

Try to establish your connection with ifconfig etc from command line. Then you will get a better idea where your problem is.

Concerning how to get up X, login managers etc, the Beginners Guide in the Wiki should give you all advice you will need. If you get stuck at a specific point, report back here.

Offline

#12 2008-05-09 21:28:06

radoscak
Member
Registered: 2008-05-07
Posts: 20

Re: How to start gdm automatically??

when i tried ifconfig eth0 it showed my device with no ip, no broadcast only MAC address, using ifconfig lo it showed me local ip 127.0.0.1 broadcast....
Then I tried route, it showed me nothing, then I tried route add default gw 192.168.1.1 dev eth0 and it showed me: network is down
Maybe driver problem, but it worked, after installing system.

Offline

#13 2008-05-10 01:51:38

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: How to start gdm automatically??

before setting the gateway, i am sure you first brought up the device and assigned yourself an ip.
so what did you get with:

ifconficg eth0 up
ifconfig eth0 192.168.1.99

?

Last edited by hokasch (2008-05-10 01:56:12)

Offline

#14 2008-05-10 07:40:15

radoscak
Member
Registered: 2008-05-07
Posts: 20

Re: How to start gdm automatically??

I reinstalled the system, now need to wait if it happens again

Offline

Board footer

Powered by FluxBB