Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with 'startx'
View unanswered posts
View posts from last 24 hours

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


Joined: 23 Dec 2012
Posts: 11

PostPosted: Mon Dec 24, 2012 2:45 am    Post subject: Problem with 'startx' Reply with quote

Okay, so im starting to solve problems with this forum, its really usefull!
So, here its whats happening, i get this : http://i.imgur.com/wpt71.png
I dont know how to solve it, also i dont understand why i dont have the Xorg --configure command.
Thanks a lot!!!!!
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1492

PostPosted: Mon Dec 24, 2012 2:53 am    Post subject: Reply with quote

--configure is dead upstream. You should not use it. There should be no need as X now auto detects most configurations by its itself.

It looks like you did not install X. Emerge xorg-server
You can test it with X -retro && sleep 5 && killall X This should give you a grey screen for 5 seconds and then kill it. You should be able to see your mouse cursor.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
c0bra
n00b
n00b


Joined: 23 Dec 2012
Posts: 11

PostPosted: Mon Dec 24, 2012 3:28 am    Post subject: Reply with quote

The Doctor wrote:
--configure is dead upstream. You should not use it. There should be no need as X now auto detects most configurations by its itself.

It looks like you did not install X. Emerge xorg-server
You can test it with X -retro && sleep 5 && killall X This should give you a grey screen for 5 seconds and then kill it. You should be able to see your mouse cursor.

X command not found
Also, yes i did emerge the xorg-server.
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2404
Location: UK

PostPosted: Mon Dec 24, 2012 3:34 am    Post subject: Reply with quote

According to here you installed xorg-server with the option to build the X server explicitly disabled, thus rendering it useless.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Mon Dec 24, 2012 3:41 am    Post subject: Reply with quote

c0bra

First
Code:
emerge app-portage/gentoolkit

then paste back the output of
Code:
equery u xorg-server

_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
c0bra
n00b
n00b


Joined: 23 Dec 2012
Posts: 11

PostPosted: Mon Dec 24, 2012 4:55 am    Post subject: Reply with quote

Ant P. wrote:
According to here you installed xorg-server with the option to build the X server explicitly disabled, thus rendering it useless.

You are right, im sorry.

BillWho: i added all the blue flags (the only i didnt is the minimal one, since i want the full installation) .
Now i get this : http://i.imgur.com/GQjbG.png

You guys are so wise, im learning a lot.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Mon Dec 24, 2012 5:17 am    Post subject: Reply with quote

c0bra

Before things get too confusing here, this is what would need to be set for xorg-server:
Code:
[ebuild   R    ] x11-base/xorg-server-1.13.0-r1  USE="ipv6 nptl suid udev xorg -dmx -doc -kdrive -minimal (-selinux) -static-libs -tslib -xnest -xvfb" 0 kB

You shouldn't have to change anything to get these settings. If you made any other changes in make.conf, please undo them :wink:

As for the other errors first try
Code:
emerge -uavDN @world

If this gives you any trouble then:
Code:
echo ">=app-text/docbook-sgml-utils-0.6.14-r1 jadetext" >> /etc/portage/package.use

echo "media-libs/mesa-9.0 xa" >> /etc/portage/package.use

Then try the world update again.

If all the above succeed, then
Code:
emerge -av xorg-server


If that works, remember that you have to install a window manager to test it. You can emerge twm and xterm to test X. That info is outlined on this page http://www.gentoo.org/doc/en/xorg-config.xml

UPDATE:

One thing I might of forgot is:
Code:
echo "x11-base/xorg-server udev" >>/etc/portage/package.use

I have it in my package.use and I'm not sure if it's necessary, but just in case :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
c0bra
n00b
n00b


Joined: 23 Dec 2012
Posts: 11

PostPosted: Mon Dec 24, 2012 8:56 pm    Post subject: Reply with quote

BillWho wrote:
c0bra

Before things get too confusing here, this is what would need to be set for xorg-server:
Code:
[ebuild   R    ] x11-base/xorg-server-1.13.0-r1  USE="ipv6 nptl suid udev xorg -dmx -doc -kdrive -minimal (-selinux) -static-libs -tslib -xnest -xvfb" 0 kB

You shouldn't have to change anything to get these settings. If you made any other changes in make.conf, please undo them :wink:

As for the other errors first try
Code:
emerge -uavDN @world

If this gives you any trouble then:
Code:
echo ">=app-text/docbook-sgml-utils-0.6.14-r1 jadetext" >> /etc/portage/package.use

echo "media-libs/mesa-9.0 xa" >> /etc/portage/package.use

Then try the world update again.

If all the above succeed, then
Code:
emerge -av xorg-server


If that works, remember that you have to install a window manager to test it. You can emerge twm and xterm to test X. That info is outlined on this page http://www.gentoo.org/doc/en/xorg-config.xml

UPDATE:

One thing I might of forgot is:
Code:
echo "x11-base/xorg-server udev" >>/etc/portage/package.use

I have it in my package.use and I'm not sure if it's necessary, but just in case :wink:

Its working! Thanks a lot. Im now installing XFCE and the Awesome windows manager.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Tue Dec 25, 2012 12:57 am    Post subject: Reply with quote

c0bra

Don't forget to unmerge twm and/or xterm if you installed them to test X :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1696

PostPosted: Sun Dec 30, 2012 3:26 pm    Post subject: Reply with quote

I generally build xterm, xclock and twm directly after xorg-server, and run them
as a test of X, but I've never had to unmerge them - they just stay as a fallback
if starting the main WM fails.

Will
Back to top
View user's profile Send private message
Deathwing00
Moderator
Moderator


Joined: 13 Jun 2003
Posts: 4078
Location: Barcelona, Spain

PostPosted: Wed Jan 02, 2013 9:59 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Desktop Environments.
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