You are not logged in.

#1 2009-03-15 12:50:50

jaydoc
Member
From: Chennai/Birmingham,AL
Registered: 2008-12-30
Posts: 88

problem logging in through GUI - lack of ttys... need help

hi all....

I had logged in to my Arch linux install, and was trying to make X work in my gentoo install by chrooting to it.

I had followed this guide, but I made an error when editing this command to suit my need.

slackbox # echo "c7:1235:respawn:/usr/bin/chroot /mnt/chroot "\
           "/sbin/agetty 38400 tty8" >>/etc/inittab

I did not create a mnt/chroot as advised in the guide, as I already had gentoo installed and had a mnt/gentoo dir.

So I edited the command to put /usr/bin/gentoo and /mnt/gentoo. But I never could get gentoo to start X from the chrooted envt and I gave up on it.

Now - I am not able to log in through Entrance (log in manager of E17.) but I can start X from console. There are  error messages at the end of boot that fly past too fast for me to be able to read them. But they go something like

cannot stat /usr/bin/gentoo (about 7 lines of the same) and then some message about respawning... I am not able to get to the actual error messages through the logs as well.

So it looks like I need a way to reverse whatever that command did, and as a noob who got his foot stuck in his mouth by goofing around too much, I would appreciate some help.


It takes a very unusual mind to undertake the analysis of the obvious - A N Whitehead

Offline

#2 2009-03-15 14:10:06

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: problem logging in through GUI - lack of ttys... need help

Please paste your /etc/inittab . Most probably you inserted that line to inittab and deleting that line may fix your problem.


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#3 2009-03-15 15:48:41

jaydoc
Member
From: Chennai/Birmingham,AL
Registered: 2008-12-30
Posts: 88

Re: problem logging in through GUI - lack of ttys... need help

Thanks for the reply u_no_hu. I looked in /etc/inittab, and sure enought the line was there at the end of the file.

I deleted it, like you suggested. And did an init q.

However it did not help, and the problem still persists.

here is my inittab, as it stands now, after deleting the line.

#
# /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:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null

#End of File

Last edited by jaydoc (2009-03-15 15:58:08)


It takes a very unusual mind to undertake the analysis of the obvious - A N Whitehead

Offline

#4 2009-03-16 05:25:51

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: problem logging in through GUI - lack of ttys... need help

How are you starting slim? from rc.conf ? check the slim logs for any errors.


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

Board footer

Powered by FluxBB