LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 07-02-2009, 04:32 PM   #1
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45
startx not working with xorg-server-1.5.3-r6


I followed the http://www.gentoo.org/proj/en/deskto...rade-guide.xml doc to install the xorg-sever.

Using the command X with or with out /etc/X11/xorg.conf works fine. I can move the mouse around and the keyboard can be used to kill X (ctrl+alt+delete). But using startx I get a black screen with the mouse working and the keyboard disabled, I have shut the computer off and reboot.

Thanks in advance for helping.
 
Old 07-02-2009, 05:21 PM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
startx usually calls
~/.xinitrc I believe.
(maybe a system one too, /usr/local/X11/??)
have a look in there.
 
Old 07-02-2009, 06:36 PM   #3
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by bigearsbilly View Post
startx usually calls
~/.xinitrc I believe.
(maybe a system one too, /usr/local/X11/??)
have a look in there.
True but in the absence of ~/.xinitrc X should use twm window manager and the system wide xinitrc does just that if I'm reading it right.

Took another look at /etc/X11/xinit/xinitrc and see that it's calling chooser.sh, have to temporally disable it and see what happens. brb.
 
Old 07-02-2009, 07:32 PM   #4
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
Ahh, I have to ask ... were you trying to upgrade your Xorg to v1.5 ... or were you installing Xserver for the first time ?
 
Old 07-02-2009, 07:32 PM   #5
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Original Poster
Rep: Reputation: 45
Renamed chooser.sh and tried startx, gave me twm but the screen was garbage. Had to change consoles to shut X down.

Added ~/.xinitrc for startx and had to shut computer off.

Putt chooser.sh back had to shut computer off.

Tryed using xorg.conf because Xorg.0.log was tring to use the wrong mouse. had to turn compuer off.

~/.xinitrc is just making thing worse. But it was worth a try.
 
Old 07-02-2009, 07:34 PM   #6
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by dxqcanada View Post
Ahh, I have to ask ... were you trying to upgrade your Xorg to v1.5 ... or were you installing Xserver for the first time ?
First time install. Is there a difference?
 
Old 07-02-2009, 07:36 PM   #7
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
Yes it is a different doc: The X Server Configuration HOWTO

The doc you referenced was for those that had an older version of Xserver and wanted to upgrade to the new v1.5.x version ... so it assumes you already have a working Xserver installed.
 
Old 07-02-2009, 09:14 PM   #8
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by dxqcanada View Post
Yes it is a different doc: The X Server Configuration HOWTO

The doc you referenced was for those that had an older version of Xserver and wanted to upgrade to the new v1.5.x version ... so it assumes you already have a working Xserver installed.
That's the first one I used and had the same problems but wanted hal. Setting up hal did not seem to help. I even had to compile xorg-sever a second time so it would use hal's modules.
 
Old 07-03-2009, 10:21 AM   #9
NathanZachary
Gentoo support team
 
Registered: May 2009
Posts: 21

Rep: Reputation: 17
If you are going to use HAL, then some things need to be done. For one, you need to have evdev support in your kernel:

Code:
Device Drivers  --->  
  Input device support  --->
    < >   Event interface
You also need to have INPUT_DEVICES="evdev" in your /etc/make.conf. If you need another driver (like synaptics), you will need that appended in your INPUT_DEVICES as well (e.g. INPUT_DEVICES="evdev synaptics")

Then you also need to make sure that your user is a member of the plugdev group. Lastly, you need to make sure that dbus and hal are both installed and running (you can also add them to the default runlevel):

Code:
emerge -av dbus hal
/etc/init.d/dbus start && /etc/init.d/hald start
rc-update add dbus default && rc-update add hald default
If you made changes to your kernel and/or your /etc/make.conf INPUT_DEVICES, you will need to reinstall xorg-server with the HAL flag enabled.

Last edited by NathanZachary; 07-03-2009 at 10:23 AM.
 
Old 07-03-2009, 11:11 AM   #10
d2_racing
Gentoo support team
 
Registered: May 2009
Location: Ste-Foy,Québec,Canada
Distribution: Gentoo
Posts: 115

Rep: Reputation: 17
And for the record, you should run this too :

Code:
# qlist -I x11-drivers
# emerge -av the_list_that_qlist_listed
Xorg-Server 1.6 break all the x11-drivers, so you need to recompile your evdev,synaptic,mouse,keyboard and your video driver I think.
 
Old 07-03-2009, 04:29 PM   #11
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Original Poster
Rep: Reputation: 45
Thanks guys that should get me headed in the right direction. But because of the holiday I might not get to it till Sunday or Monday.

I did a genkernel install shouldn't that have the evdev module? I'll look at the .config and see, if not time to recompile.
 
Old 07-31-2009, 03:52 PM   #12
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Original Poster
Rep: Reputation: 45
Sorry for the long delay in posting bit work and vacations can take it's toll.


I had to recompile my kernel, xorg-server and then start with a fresh /etc/xorg.conf using

Code:
X -configure
Now X or startx work but no fonts. twm is ugly and with no fonts it's even uglier. When X is stable I'll emerge Gnome.

Here is my /var/log/Xorg.0.log

http://dpaste.com/73840/

Last edited by 62chevy; 07-31-2009 at 03:53 PM. Reason: dpaste not dpast
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X Server working, but can't startx remotely ocgltd Fedora 6 10-29-2008 04:43 AM
Building Xorg 7.2 unable to startx ecook Linux - Desktop 16 09-29-2008 08:41 AM
xorg.conf cannot startx SVwander SUSE / openSUSE 8 02-18-2008 02:41 PM
startx isn't working fatal server error no screen found icrangirl Linux - Laptop and Netbook 3 04-04-2006 02:45 PM
fedora 3 startx xorg problem Gregster Fedora 3 01-03-2005 07:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 05:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration