221d0 Gnome Issues and Possibly X issues - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > X.Org

X.Org X.Org on FreeBSD installation & configuration.

Reply
 
Thread Tools Display Modes
  #1  
Old June 3rd, 2009, 21:05
haibane haibane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 38
Thanks: 15
Thanked 0 Times in 0 Posts
Default Gnome Issues and Possibly X issues

Having trouble getting gnome to boot up in Freebsd 7.2 on a HP dv1240us. I have tried both nikobordx's method in http://forums.freebsd.org/showthread.php?t=3892 , and also the method where you just set gnome_enable="YES" in the rc.conf file.
Both methods have caused my laptop to load up to where freebsd asks me to log in as if X was not running, and then attempt to boot Gnome. When it tries to boot up Gnome it flashes between a black screen with a mouse cursor that is busy and the command prompt/Shell whatever you want to call it indefinitely. Is there a suggested fix to this?
Reply With Quote
  #2  
Old June 3rd, 2009, 21:14
haibane haibane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 38
Thanks: 15
Thanked 0 Times in 0 Posts
Default

Just tried stepping through the Xorg config again. I can start X by itself, but I can't do anything in it. My mouse won't work. It works with the sysinstall test daemon though.
Reply With Quote
  #3  
Old June 3rd, 2009, 21:29
ale's Avatar
ale ale is offline
Senior Member
 
Join Date: Nov 2008
Location: Roma
Posts: 1,064
Thanks: 0
Thanked 160 Times in 146 Posts
Default

Before going on, did you read the sticky ?
Reply With Quote
The Following User Says Thank You to ale For This Useful Post:
haibane (June 4th, 2009)
  #4  
Old June 3rd, 2009, 21:31
haibane haibane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 38
Thanks: 15
Thanked 0 Times in 0 Posts
Default

yes I have read the sticky. Thanks for asking. That's actually what I was referring to as my second attempt
Reply With Quote
  #5  
Old June 3rd, 2009, 21:42
ale's Avatar
ale ale is offline
Senior Member
 
Join Date: Nov 2008
Location: Roma
Posts: 1,064
Thanks: 0
Thanked 160 Times in 146 Posts
Default

Please answer the following questions:
What is the output of $ /usr/local/etc/rc.d/hald status ?
Your mouse isn't working, what about the keyboard?
Are you using /etc/X11/xorg.conf? If so, can you show us the InputDevice section about your mouse?
Do you see any warning/error in /var/log/Xorg.0.log (try egrep '(WW)|(EE)' /var/log/Xorg.0.log) ?
Reply With Quote
  #6  
Old June 3rd, 2009, 21:55
haibane haibane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 38
Thanks: 15
Thanked 0 Times in 0 Posts
Default

The above gives me no output when run as the standard user. I get no mouse or keyboard in X, but they both run fine in sysinstall. I did an autobuild of xorg.conf. the log fille shows intel (0) driect rendering failed. Failed to load module "i810" (already loaded, 2). Cannot locate core keyboard device. Cannot locate a core pointer device. failed to create listner for inet(but no internet was connected at the time). I am going to look at the xorg file
Reply With Quote
  #7  
Old June 3rd, 2009, 21:56
haibane haibane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 38
Thanks: 15
Thanked 0 Times in 0 Posts
Default

using ee /etc/X11/xorg.conf tells me there is no xorg.conf file hmm
Reply With Quote
  #8  
Old June 3rd, 2009, 22:02
haibane haibane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 38
Thanks: 15
Thanked 0 Times in 0 Posts
Default

I might have skipped a step in the xorg.conf setup I guess
Reply With Quote
  #9  
Old June 3rd, 2009, 22:09
haibane haibane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 38
Thanks: 15
Thanked 0 Times in 0 Posts
Default

hmm fixed xorg.conf appears to give me dashes on the top of the screen. checking error log
Reply With Quote
  #10  
Old June 3rd, 2009, 22:26
ale's Avatar
ale ale is offline
Senior Member
 
Join Date: Nov 2008
Location: Roma
Posts: 1,064
Thanks: 0
Thanked 160 Times in 146 Posts
Default

What after running as root the above commands and starting x again?
Code:
/usr/local/etc/rc.d/dbus start
/usr/local/etc/rc.d/hald start
Reply With Quote
The Following User Says Thank You to ale For This Useful Post:
haibane (June 4th, 2009)
  #11  
Old June 3rd, 2009, 22:26
haibane haibane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 38
Thanks: 15
Thanked 0 Times in 0 Posts
Default

Alright so I am back to the startx giving me errors with two xterms and a login this time. No mouse and keyboard that is. here is the mouse and keyboard section of the xorg file.
Code:
Section "InputDevice"
             Identifier     "Keyboard0"
             Driver          "kbd"
EndSection

Section "InputDevice"
             Identifier     "Mouse0"
             Driver          "mouse"
             Option         "Protocol" "auto"
             Option         "Device" "/dev/sysmouse"
             Option         "ZAxisMapping" "4 5 6 7"
EndSection

Last edited by DutchDaemon; June 3rd, 2009 at 23:11. Reason: [code] added
Reply With Quote
  #12  
Old June 3rd, 2009, 22:28
haibane haibane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 38
Thanks: 15
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by ale View Post
What after running as root the above commands and starting x again?
Code:
/usr/local/etc/rc.d/dbus start
/usr/local/etc/rc.d/hald start
Same story. Login terminal and two xterms. I can't do anything in either
Reply With Quote
  #13  
Old June 3rd, 2009, 22:36
haibane haibane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 38
Thanks: 15
Thanked 0 Times in 0 Posts
Default

Got my mouse working... shows what I know. Read the Handbook solves everything. Option "AutoAddDevices" "false". Now I just need to get into gnome
Reply With Quote
  #14  
Old June 3rd, 2009, 22:41
ale's Avatar
ale ale is offline
Senior Member
 
Join Date: Nov 2008
Location: Roma
Posts: 1,064
Thanks: 0
Thanked 160 Times in 146 Posts
Default

Did you build xorg without hal?
Reply With Quote
The Following User Says Thank You to ale For This Useful Post:
haibane (June 4th, 2009)
  #15  
Old June 3rd, 2009, 22:43
haibane haibane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 38
Thanks: 15
Thanked 0 Times in 0 Posts
Default

I believe so.
Reply With Quote
  #16  
Old June 3rd, 2009, 23:29
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,713
Thanks: 47
Thanked 2,022 Times in 1,861 Posts
Default

Quote:
Originally Posted by haibane View Post
Got my mouse working... shows what I know. Read the Handbook solves everything. Option "AutoAddDevices" "false". Now I just need to get into gnome
Add to ~/.xinitrc:
Code:
exec gnome-session
A startx will then start Gnome instead of the default twm.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
haibane (June 4th, 2009)
  #17  
Old June 4th, 2009, 04:21
haibane haibane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 38
Thanks: 15
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SirDice View Post
Add to ~/.xinitrc:
Code:
exec gnome-session
A startx will then start Gnome instead of the default twm.
so ee ~/.xinitrc . That doesn't appear to exist on my system
Reply With Quote
  #18  
Old June 4th, 2009, 04:32
DrJ DrJ is offline
Member
 
Join Date: Nov 2008
Posts: 283
Thanks: 1
Thanked 40 Times in 30 Posts
Default

Quote:
Originally Posted by haibane View Post
so ee ~/.xinitrc . That doesn't appear to exist on my system
So create it. I'd use vi, but that's just me.

You should also rebuild xorg with hal. You will need it. Do a "make config", select hal, then do a make deinstall, make install clean and you will have it. That assumes you have cleaned xorg before this; if not clean it first to get rid of the work files.
Reply With Quote
  #19  
Old June 4th, 2009, 04:48
haibane haibane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 38
Thanks: 15
Thanked 0 Times in 0 Posts
Default

Well looks like I am most of the way there, but now I am getting
intel(0): ch701x not detected, got 29: from DV0I2C_E Slave 234
Reply With Quote
  #20  
Old June 4th, 2009, 04:55
DrJ DrJ is offline
Member
 
Join Date: Nov 2008
Posts: 283
Thanks: 1
Thanked 40 Times in 30 Posts
Default

I *think* that is one of the Intel video drivers. If you are not using them, get rid of them in the config menu. If you are, then you will have to dig into it more. I'm still on nVidia 32 bit, and that works pretty well. Beyond that, I'm not much help.
Reply With Quote
The Following User Says Thank You to DrJ For This Useful Post:
haibane (June 4th, 2009)
  #21  
Old June 4th, 2009, 05:04
haibane haibane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 38
Thanks: 15
Thanked 0 Times in 0 Posts
Default

The computer does use an intel extreme graphics 2 card.
Reply With Quote
  #22  
Old June 4th, 2009, 10:07
adamk adamk is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,605
Thanks: 6
Thanked 262 Times in 243 Posts
Default

Despite that message, does X work? If not, attach your full /var/log/Xorg.0.log file.

Adam
Reply With Quote
  #23  
Old June 4th, 2009, 16:46
haibane haibane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 38
Thanks: 15
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by adamk View Post
Despite that message, does X work? If not, attach your full /var/log/Xorg.0.log file.

Adam
X server closes itself. I will attach the full file when I get time, but for now I can't type that much
Reply With Quote
  #24  
Old June 4th, 2009, 16:54
adamk adamk is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,605
Thanks: 6
Thanked 262 Times in 243 Posts
Default

You don't have to type the log file out. You have a number of options. You could switch to the vesa driver to start up X, for example. Or simply install pastebinit from ports, and use that to upload the log file to one of the pastebin services and then just give us the link.

Adam
Reply With Quote
  #25  
Old June 4th, 2009, 16:59
haibane haibane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 38
Thanks: 15
Thanked 0 Times in 0 Posts
Default

Adam, how do I go about switching to the vesa driver?
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues updating to openssl-0.9.8j boga Installing & Upgrading 5 December 3rd, 2009 19:00
Expect issues upgrading? rainman82 Installation and Maintenance of FreeBSD Ports or Packages 6 May 16th, 2009 22:21
Almost There: CARP Issues Fatman Networking 4 February 17th, 2009 10:53
where do you post 7.1 Rc.1 issues? H-300 General 4 December 21st, 2008 17:05


All times are GMT +1. The time now is 03:51.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0