Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299166 - Followed the gentoo-x86-quickinstall.xml guide and had major grief with X
Summary: Followed the gentoo-x86-quickinstall.xml guide and had major grief with X
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-31 22:02 UTC by Anthony Youngman
Modified: 2010-01-02 00:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Youngman 2009-12-31 22:02:15 UTC
As above, I followed the quickinstall guide, and X wouldn't start.

First of all, am I blind? I got to 2.39, installed Kde, and wondered why it wouldn't start :-) Kde doesn't depend on X, and nowhere are you told to install X, so of course it blew up :-) So that's just a missing section that needs adding.

Secondly, once I'd installed X, it kept crashing as I tried to start it. There's a post (by someone else) at http://forum.soft32.com/linux/gentoo-user-X11-start-breaks-ftopict501993.html that describes both the problem and the solution. This isn't documented in xorg-config.xml, but I admit that the problem could well be that I installed Kde before X ... :-) However I was only following the quickinstall guide :-) And as the post says, I was blaming X for a session problem so I went a long way up the garden path.

Thirdly, and this is not a bug but a "would be nice". Any chance of the quick-install having links to the longer versions elsewhere for its sections? Okay, I can look in the install manual for a lot of this stuff if I need to, but there were several occasions where the quickinstall was a bit too curt and I had to hunt for the relevant info elsewhere. Especially (for me) where it said to set config variables "to the relevant value" - it would be nice to have a link to where those values are documented :-)

Cheers,
Wol

Reproducible: Didn't try

Steps to Reproduce:
1. Build new system
2. Follow quickinstall guide
3. Swear because startx won't start X

Actual Results:  
See post at 

http://forum.soft32.com/linux/gentoo-user-X11-start-breaks-ftopict501993.html

The following bit seems to be the major clue:

expected keysym, got XF86TouchpadToggle: line 122 of inet
expected keysym, got XF86TouchpadToggle: line 122 of inet
expected keysym, got XF86TouchpadToggle: line 122 of inet
expected keysym, got XF86TouchpadToggle: line 122 of inet
/etc/X11/xinit/xinitrc: line 58: twm: command not found
/etc/X11/xinit/xinitrc: line 59: xclock: command not found
/etc/X11/xinit/xinitrc: line 60: xterm: command not found
/etc/X11/xinit/xinitrc: line 61: xterm: command not found
/etc/X11/xinit/xinitrc: line 62: exec: xterm: not found 

X then bombed and dropped back to the CLI

Expected Results:  
Kde should have started :-)

My system (pretty irrelevant really) is a Gigabyte MA785GMT-UD2H with an Athlon II X3
Comment 1 nm (RETIRED) gentoo-dev 2010-01-01 03:22:11 UTC
You didn't read the beginning of the quickinstall guide, I think:

"This guide contains all commands you should use to complete a stage3 installation of Gentoo. You need a connection to the Internet to download the stage3 and Portage snapshots.

New users should read the Handbook as it gives a better overview about the installation process."

That "Handbook" is the full installation handbook. The quickinstall guides state a few times that they are for EXPERIENCED users only, folks who just need a quick cheat sheet while they perform an installation mostly from memory.

As stated in the handbooks and elsewhere, the installation handbooks are only intended to get a basic system up and running -- that is, a kernel and tools you need to compile whatever it is you want to. Xorg is beyond the scope of the handbooks and the quick install guides.

For the record, our xorg guide DOES cover xinitrc, and it also covers how startx works. That's further expanded in our desktop environment guides for Gnome, KDE, Xfce, LXDE, Fluxbox, and Openbox.

Not a bug; closing.
Comment 2 Anthony Youngman 2010-01-02 00:26:13 UTC
Well, I'm having a HELL of a lot of grief trying to get a working desktop !!!

Firstly, are you saying it's okay for someone TO FOLLOW THE QUICK INSTALL GUIDE and be left with a system that DOESN'T WORK?

I know X is complicated but the quick install should at least mention it. 2.37 leaves you with a *working* CLI system. 2.39 then does NOTHING FUNCTIONAL but leaves you with a NON-WORKING kde. As a cheat sheet it should at least say "install X" :-)

As for X. Yes I know the guide covers xinitrc. But the following section is wrong ...

Using startx

Now try startx to start up your X server. startx is a script that executes an X session, that is, it starts the X servers and some graphical applications on top of it. It decides which applications to run using the following logic:

    * If a file named .xinitrc exists in the home directory, it will execute the commands listed there.
    * Otherwise, it will read the value of the XSESSION variable and will execute one of the sessions available in /etc/X11/Sessions/ accordingly. You can set the value of XSESSION in /etc/env.d/90xsession to make it a default for all the users on the system. For example, as root, run echo XSESSION="Xfce4" > /etc/env.d/90xsession. This will create the 90xsession file and set the default X session to Xfce4.
    * If all of the above fail, it will fall back to a simple window manager, usually twm.


I didn't have an xinitrc.
I didn't have a 90xsession.

And I DIDN'T GET a simple window manager - I got a session crash and was dumped back to the command line! That was the point of my link - apparently this isn't uncommon. Surely this also warrants a line in the docu?

And now, for root I have a xinitrc and everything works fine. But I also have a 90xsession, set to KDE-4, and my users get twm (at least I guess that's what it is :-(

Oh. As for the desktop environment guides. If I've found the right docu, I can't find anywhere it tells me how to set XSESSION to get a default desktop (as I say I think I've done it - and it doesn't work :-(

And I can't find anywhere it tells me how to set up xdm/kdm to get a gui login level either :-(

Sorry to be a pain, but I'm finding the docu painful because I'm not finding the docu ... and sorry if I shouldn't reopen it, but I don't know how to know if somebody is looking at responses to closed bugs ...

Cheers,
Wol
Comment 3 David Abbott (RETIRED) gentoo-dev 2010-01-02 00:34:40 UTC
Anthony,
Bugzilla is for reporting bugs.
For support you will be best served by checking out;
http://www.gentoo.org/main/en/support.xml
I can recommend  on irc #gentoo-desktop, the forums and gentoo-user mailing list.