LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ultra Noob-stuck on Login screen after first reboot-Fedora9 (https://www.linuxquestions.org/questions/linux-newbie-8/ultra-noob-stuck-on-login-screen-after-first-reboot-fedora9-667059/)

isaliveart 09-02-2008 06:43 AM

Ultra Noob-stuck on Login screen after first reboot-Fedora9
 
Hi-I need someone to walk me thru Login fix. I successfully installed Fedora 9, when I reboot, I get text Login prompt: computer name login: however, during set up, I never establisherd a local user, and password. Therefore, whatever I type at the prompt yields: incorrect login errfor. I can however, login as root, b ut have no idea what to do from here.

Thanks,
Laurence

odcheck 09-02-2008 06:46 AM

ok just press ALT+F2
login as root

then

Code:

useradd ted
then
Code:

passwd ted
then press
ALT+F7
or simple reboot and you should be able to login as ted

isaliveart 09-02-2008 07:16 AM

Hi-Ok I logged in as root, set up "ted" as user and password, rebooted, I now get a $ prompt: When I try "startX" I get a fatal error message and no GUI

Nylex 09-02-2008 07:18 AM

Quote:

Originally Posted by isaliveart (Post 3267103)
Hi-Ok I logged in as root, set up "ted" as user and password, rebooted, I now get a $ prompt: When I try "startX" I get a fatal error message and no GUI

Post the error message. Also, startx should be all lowercase.

isaliveart 09-02-2008 07:23 AM

Errors like:
no screens found

xinit: connection refused (errno 111) unable to connecxt to x server
xinit: No such process (errno 3) Server error

isaliveart 09-02-2008 07:23 AM

Unable to find frame buffer device

isaliveart 09-02-2008 07:33 AM

Still stuck -Can't startx
 
Thanks all-I can now login with new user and password, but can't startx: fatal error, no screens found, unable to find valid framebuffer device, unable to connect to xserver. I was asked to consult log files for warnings, but don't know how to do this.

Agrouf 09-02-2008 07:39 AM

tail -100 /var/log/Xorg.0.log

BTW please post a link to your old thread, so I see what you are talking about.

odcheck 09-02-2008 07:47 AM

Issue this command
Code:

X -configure
afterwards a new xorg.conf will be written.
And you'll get an Info on how to start as test with this new xorg.conf if it works just copy it over the old one
that is located /etc/X11/xorg.conf


-->

Code:

X -config /root/xorg.conf.new

isaliveart 09-02-2008 07:47 AM

I don't know how to post link. However, It's in Linux-newbie Login failure thread with Isaliveart

odcheck 09-02-2008 07:49 AM

BTW: There about 3 Threads started from you "Ultra noob-Login failure" and this one and another

isaliveart 09-02-2008 07:52 AM

I can now login as local user, but startx command yields fatal error: as above

isaliveart 09-02-2008 07:59 AM

Thanks-I have to go out-I'll do as you say when I return -Sorry for ineptitude- BTW how do I copy over new X -config? must I go into a text editor-I literally have never done this stuff before-Thanks

Agrouf 09-02-2008 08:48 AM

Please post the output of
tail -100 /var/log/Xorg.0.log

student04 09-02-2008 10:30 AM

Quote:

Originally Posted by isaliveart (Post 3267133)
I don't know how to post link. However, It's in Linux-newbie Login failure thread with Isaliveart

??

Navigate to your original thread. Copy the contents of the address bar in your browser, then paste it into a reply here.

Nylex 09-02-2008 11:53 AM

Use the command cp, the syntax for which is

cp source destination,

where the source and destination operands are where you're copying from and to, respectively. Manual pages provide information about commands - usually you get the man page by running "man command" (without the quotes).

odcheck 09-02-2008 01:24 PM

If this works
Quote:

X -config /root/xorg.conf.new
then go on an
Code:

cp /root/xorg.conf.new /etc/X11/xorg.conf
but as already suggested, you'll need to get known with the command line,
some basics are important like
- mv
- ls
- find
- cp
- chmod
- chown, chgrp
- some more...

Code:

man cp
where
Quote:

man
is a command to display the "manuals" of the specified commands using groff to show it on
the stdout (standard output)

odcheck 09-02-2008 01:25 PM

I would say this case is closed (even if I am not a mod)
continued here "Ultra Noob-stuck on Login screen after first reboot-Fedora9"

isaliveart 09-02-2008 01:42 PM

Cant X -configure
 
Hi all,

I tried to run X -configure Got fatal server error:
Caught signal 7. Server aborting

isaliveart 09-02-2008 01:46 PM

How bout if I re-install? Can someone give me a map exactly what to enterf during installation so I don't muck it up again?

odcheck 09-02-2008 03:31 PM

1. at which point did you issue the command X -configure ?
2. however turn on the pc
3. at the point it stops booting press ALT+F2
4. login as root
5. issue the command init 3
6. run the command X -configure again
7. issue X -config /root/xorg.conf.new if it works and you see an X close it with CTRL+ALT+BACKSPACE
8. copy that file over cp /root/xorg.conf.new /etc/X11/xorg.conf

regrads

ReInstall = surrender

and we'll never surrender.

chrism01 09-02-2008 07:06 PM

Its possible the OP didn't ask for a GUI/X-win to be installed. If this is a brand new install, re-install would be simpler & quicker for a newbie, rather than trying to fix it manually.

henry_shadowjet 09-02-2008 07:17 PM

I agree with chrism01 - if this is a new install, re-installation should definitely be much easier.

To get Fedora to startup sequence 3, there are many ways, so if you're not successful with one, try the other.

Path 1: As outlined by odcheck

Path 2: as root, edit the /etc/inittab, at the bottom you should be able to find "5" between this line "id:5:initdefault:". Edit that "5" to "3", and when you start up your computer, you should be on startup sequence 3, edit it back to 5 once you're ready to start X server again.

Path 3: If you use GRUB, then just press anything during the countdown, you'll be taken into a list of OS you want to boot (or different kernel versions, but I doubt you'll have one at this stage). Anyway, press the key "e" to edit the one you want, then you'd usually come across 3 lines, once again, press "e" on the second line that usually ends with "rhgb quiet". Just put a 3 at the end there, so it becomes "rhgb quiet 3", press enter. Then press the key "b" to boot it.

Once you're in, put in your username and password, and you're ready to issue the following command:

X -configure

Good luck!

/usr/darien 09-02-2008 10:39 PM

Quote:

Originally Posted by isaliveart (Post 3267081)
Hi-I need someone to walk me thru Login fix. I successfully installed Fedora 9, when I reboot, I get text Login prompt: computer name login: however, during set up, I never [established] a local user, and password. . . .

From what and how you describe your installation, it sounds as if you did not install the required components to enable X sessions. If you don’t have the required RPMs for X and either Gnome or KDE, there is nothing you can do to get into runlevel 5.

You now have a couple of options. One, do a reinstall and ensure you do a GUI install and select the appropriate X packages. Second, you can do a yum –y groupinstall “X Windows System” “GNOME Desktop Environment” to make sure you install all required packages for a GUI session.

odcheck 09-03-2008 02:25 AM

I don't agree, if you don't know what you're doing and you install Fedora 9 without any precognition.
So just press Enter... Enter... yes blahfassel, yes agree... then GNOME with all the default would be installed.
However REINSTALL and keep an eye on the Installation that you leave everything default.

billymayday 09-03-2008 02:35 AM

Either an option not to install the gui was selected, or more likely, the install screwed up somewhere.

The default behaviour for Fedora is to go through the install process, reboot, then set up a non-root user during this first reboot. The fact that this didn't happen suggests something has gone awry. It that's a case, who knows what else is wrong, and a re-install would be a better solution, not to mention way quicker.

If this happens again, the real question then becomes why? As I recall, it would not be all that easy to tell Fedora not to install any gui (you'd need to customise the install and de-select gnome for example). I'd still expect it to as for a non-root user - not that I've ever tried this.

Tinkster 09-03-2008 04:21 PM

I merged your two closely related threads; next time please don't start
a new thread for a response, but carry on where you left of.


All times are GMT -5. The time now is 01:03 AM.