Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installation completed but ...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
belva
n00b
n00b


Joined: 22 Mar 2011
Posts: 4

PostPosted: Tue Mar 22, 2011 1:44 pm    Post subject: Installation completed but ... Reply with quote

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 :cry:

Is there any command to launch for getting the GUI? or any troubleshooting?

cheers to all|
Back to top
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Tue Mar 22, 2011 1:50 pm    Post subject: Reply with quote

command to launch the X server is
Code:
startx
try that.

also post
Code:
cat /var/lib/portage/world

and
Code:
lspci -k
if you have problems
Back to top
View user's profile Send private message
belva
n00b
n00b


Joined: 22 Mar 2011
Posts: 4

PostPosted: Tue Mar 22, 2011 2:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Tue Mar 22, 2011 2:04 pm    Post subject: Reply with quote

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:

Code:

nano ~./xinitrc


For gnome, type

Code:

exec gnome-session


For Xfce, type

Code:

exec startxfce4


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
View user's profile Send private message
belva
n00b
n00b


Joined: 22 Mar 2011
Posts: 4

PostPosted: Tue Mar 22, 2011 2:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
h2sammo
Veteran
Veteran


Joined: 11 Mar 2009
Posts: 1025
Location: Michigan

PostPosted: Tue Mar 22, 2011 2:45 pm    Post subject: Reply with quote

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
Code:
nano ~./xinitrc
then follow what audiodef said with the exec command
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Tue Mar 22, 2011 2:48 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Desktop Environments as the installation is now complete.

I'd recommend looking at the relevant desktop-related documents.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
belva
n00b
n00b


Joined: 22 Mar 2011
Posts: 4

PostPosted: Wed Mar 23, 2011 7:43 am    Post subject: Reply with quote

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 :D
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Wed Mar 23, 2011 1:30 pm    Post subject: Reply with quote

Awesome! :D

Gentoo people tend to be as helpful as they know how when it comes to Gentoo. I think we have to be because it's a source-based distro and it's community-driven.

Welcome to Gentoo! 8)
_________________
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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum