View previous topic :: View next topic |
Author |
Message |
belva n00b
Joined: 22 Mar 2011 Posts: 4
|
Posted: Tue Mar 22, 2011 1:44 pm Post subject: Installation completed but ... |
|
|
Hello everyone,
I followed the handbook instructions and everything looked fine during the installation process (minimal cd)
when I completed the first part I rebooted, got the grub with gentoo and then ... command line.
I was happy because I did not see any error ... but no GUI!
I started then the second part, launched several emerge commands ... nothing changed.
I am always root in the command line, no GUI.
I tried even to emerge gnome, X11 etc ... but it is time for me to admit it .. I am stuck
Is there any command to launch for getting the GUI? or any troubleshooting?
cheers to all| |
|
Back to top |
|
|
h2sammo Veteran
Joined: 11 Mar 2009 Posts: 1025 Location: Michigan
|
Posted: Tue Mar 22, 2011 1:50 pm Post subject: |
|
|
command to launch the X server is try that.
also post Code: | cat /var/lib/portage/world |
and if you have problems |
|
Back to top |
|
|
belva n00b
Joined: 22 Mar 2011 Posts: 4
|
Posted: Tue Mar 22, 2011 2:00 pm Post subject: |
|
|
thanks for the reply!
start x
and
lspci -k
give me command not found
cat /var/lib/portage/world
app-admin/syslog-ng
app-portage/gentoolkit
dev-haskell/x11
dev-lang/python
dev-util/ccache
net-misc/dhcpcd
sys-apps/mlocate
sys-boot/grub
sys-kernel/genkernel
sys-kernel/gentoo-sources |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
Posted: Tue Mar 22, 2011 2:04 pm Post subject: |
|
|
You've probably missed something small here.
It looks like you want Gnome.
Since you're new at this, I suggest you switch to a desktop profile. This will pull in packages related to desktop use by setting certain use flags for you.
Type this as root:
Code: |
eselect profile list
|
Look for one ending with "desktop" (it shows up as number 2 on my system) and then type
Code: |
eselect profile set 2
|
(Or whatever number "desktop" is.)
You can then emerge gnome. I recommend gnome-light, as gnome will pull in everything and its grandma whether you need it or not. With gnome-light, you'll get a basic Gnome desktop and then you can emerge whatever extra stuff you need. If you're not too fixated on Gnome, I recommend XFCE, which is lighter than Gnome but looks and behaves similar, with fewer problems. For that, emerge xfce4-meta. You'll also want xorg-server, obviously, so your command should be either
Code: |
emerge gnome-light xorg-server terminal firefox
|
or
Code: |
emerge xfce4-meta xorg-server terminal firefox
|
(I added "terminal firefox" to these commands to make sure you have a terminal emulator and a web browser the first time you go into your GUI. You can choose whatever terminal and browser you want.)
Once that's done, you need to create a regular user. You should never log into a desktop (DE) or window manager (WM) as root, for security reasons. When you install a new system and create a regular user, you should never even log into your terminal as root. Log in as your regular user and then su as necessary.
Create a regular user like this:
Code: |
useradd -m -G users,wheel,audio -s /bin/bash (username)
|
Now you want to edit a file called .xinitrc to start your GUI. Log out of root, log in as your regular user and type the following:
For gnome, type
For Xfce, type
This last step might be what you've missed.
Type <Ctrl>-x, answer "yes" to save changes. You'll be back at your prompt. Type "startx" and you should be in your GUI.
If you want a graphical login, you can emerge gdm or my favourite - slim. Whichever one you use, you need to edit /etc/conf.d/xdm and replace "xdm" in the last line with either "gdm" or "slim". Then you can add xdm to your default runlevel by typing
[code]
rc-update add xdm default
[code]
This will present you with a graphical login prompt when your computer boots.
Let us know if you're still stuck. _________________ decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN |
|
Back to top |
|
|
belva n00b
Joined: 22 Mar 2011 Posts: 4
|
Posted: Tue Mar 22, 2011 2:38 pm Post subject: |
|
|
followed your advice,
selected desktop version from eselect profile list
then tried to emerge xfce4 but got a message saying:
there are no ebuilds built with USE flags to satisfy ">=x11-libs/cairo-1.10.0[-qt4]"
and also ... if I try to modify xinitrc get a message saying that there is not such file or directory |
|
Back to top |
|
|
h2sammo Veteran
Joined: 11 Mar 2009 Posts: 1025 Location: Michigan
|
Posted: Tue Mar 22, 2011 2:45 pm Post subject: |
|
|
Quote: | there are no ebuilds built with USE flags to satisfy ">=x11-libs/cairo-1.10.0[-qt4]" | means you have to change the use flags for cairo by disabling qt4 component in the /etc/portage/package.use folder. you can do that with nano and add the following line int he file Code: | x11-libs/cairo -qt4 | or with the command Code: | echo "x11-libs/cairo -qt4" >> /etc/portage/package.use |
now re-emerge
xinitrc needs to be created with nano in whatever user you want to run the X server. so login into your main user and type then follow what audiodef said with the exec command |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
belva n00b
Joined: 22 Mar 2011 Posts: 4
|
Posted: Wed Mar 23, 2011 7:43 am Post subject: |
|
|
Gents,
Thanks Thanks Thanks Thanks!!!
Never received a faster and so professional help.
I was a bit stuck and even when done I was insisting trying startx as root .... but at the end I logout and voilà
I got the gui ... amazing!
I did not believe was possible and at the end I did it in less than 2 days (I expected months!)
Of course ... without your help would have been impossible
will ask you again in other threads ... even though I am very happy now ... it is a starting point |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
|