28627
![]() |
|
|
|
|
#1
|
|||
|
|||
|
Dear Friends:
FreeBSD installed properly. But when start gdm for gnome2-lite, problem as: Code:
**(gdm-binary:1693): WARNING **: Could not acquire name; bailing out Last edited by DutchDaemon; February 10th, 2012 at 06:05. Reason: Capitalization: http://en.wikipedia.org/wiki/Capitalization |
|
#2
|
||||
|
||||
|
Set a proper hostname in /etc/rc.conf:
Code:
hostname="something.example.com"
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#3
|
|||
|
|||
|
Quote:
There's a host name already. Thanks your help |
|
#4
|
||||
|
||||
|
Make sure both HAL and DBUS are running. Also make sure /proc/ is mounted.
It's also possible it's already running.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
| The Following User Says Thank You to SirDice For This Useful Post: | ||
xwwu (February 9th, 2012) | ||
|
#5
|
|||
|
|||
|
Quote:
Code:
hostname="xxx.xxx.xxx.xxx" wlans_ath0="wlan0" ifconfig_wlan0="WPA DHCP" sshd_enable="YES" moused_enable="YES" ntpd_enable="YES" powerd_enable="YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="NO" dbus_enable="YES" hald_enable="YES" gnome_enable="YES" gdm_enable="YES" Code:
proc /proc procfs sw 0 0 Last edited by DutchDaemon; February 10th, 2012 at 06:06. |
|
#6
|
||||
|
||||
|
Did you verify it's not already running?
ps -aux | grep gdm
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#7
|
|||
|
|||
|
Code:
# ps -aux | grep gdm root 1722 0.0 0.0 16424 1404 0 R+ 8:33PM 0:00.01 grep gdm |
|
#8
|
||||
|
||||
|
I'm a bit at a loss now.. Is there anything in /var/log/Xorg.0.log or /var/log/messages that might give us a clue?
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#9
|
|||
|
|||
|
Quote:
Code:
hasee# vi Xorg.0.log
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 9.0-RELEASE amd64
Current Operating System: FreeBSD xxx.xxx.xxx.xxx 9.0-RELEASE FreeBSD 9.0-RE
LEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj
/usr/src/sys/GENERIC amd64
Build Date: 09 February 2012 02:57:26PM
Current version of pixman: 0.24.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 9 20:50:58 2012
(II) Loader magic: 0x7ba500
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
Xorg.0.log: unmodified: line 1
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 9.0-RELEASE amd64
Current Operating System: FreeBSD xxx.xxx.xxx.xxx 9.0-RELEASE
FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.bu
ffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
Build Date: 09 February 2012 02:57:26PM
Current version of pixman: 0.24.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 9 20:50:58 2012
(II) Loader magic: 0x7ba500
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9
(!!) More than one possible primary device found
(--) PCI: (0:0:2:0) 8086:0116:152d:0875 Intel Corporation 2nd
Generation Core Processor Family Integrated Graphics Controller
rev 9, Mem @ 0xe
2400000/4194304, 0xd8000000/134217728, I/O @ 0x00005000/64, BIOS
@ 0x????????/65536
(--) PCI: (0:1:0:0) 10de:0dce:152d:0875 NVIDIA Corporation GF106
[GeForce GT 555M] rev 161, Mem @ 0xe0000000/33554432,
0xc0000000/268435456, 0xd0000000/67108864, I/O @ 0x00004000/128,
BIOS @ 0x????????/65536 Primary device is not PCI
(==) Using default built-in configuration (21 lines)
(==) --- Start of built-in configuration ---
Section "Device"
Identifier "Builtin Default vesa Device 0"
Driver "vesa"
EndSection
Section "Screen"
Identifier "Builtin Default vesa Screen 0"
Device "Builtin Default vesa Device 0"
EndSection
Section "Device"
Identifier "Builtin Default fbdev Device 0"
Driver "fbdev"
EndSection
Section "Screen"
Identifier "Builtin Default fbdev Screen 0"
Device "Builtin Default fbdev Device 0"
EndSection
Section "ServerLayout"
Identifier "Builtin Default Layout"
Screen "Builtin Default vesa Screen 0"
Screen "Builtin Default fbdev Screen 0"
EndSection
(==) --- End of built-in configuration ---
(==) ServerLayout "Builtin Default Layout"
(**) |-->Screen "Builtin Default vesa Screen 0" (0)
(**) | |-->Monitor "<default monitor>"
(**) | |-->Device "Builtin Default vesa Device 0"
(==) No monitor specified for screen "Builtin Default vesa Screen 0".
Using a default monitor configuration.
(**) |-->Screen "Builtin Default fbdev Screen 0" (1)
(**) | |-->Monitor "<default monitor>"
(**) | |-->Device "Builtin Default fbdev Device 0"
(==) No monitor specified for screen "Builtin Default fbdev Screen 0".
Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/local/lib/X11/fonts/misc/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/local/lib/X11/fonts/Type1/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/local/lib/X11/fonts/100dpi/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/local/lib/X11/fonts/75dpi/" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF
(==) ModulePath set to "/usr/local/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable AutoAddDevices.
(II) LoadModule: "extmod"
(II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX disabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "vesa"
(II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 2.3.0
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "fbdev"
(II) Loading /usr/local/lib/xorg/modules/drivers/fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 0.4.2
ABI class: X.Org Video Driver, version 6.0
(II) VESA: driver for VESA chipsets: vesa
(II) FBDEV: driver for framebuffer: fbdev
(II) Primary Device is:
(WW) Falling back to old probe method for vesa
(WW) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/local/lib/xorg/modules/linux/libfbdevhw.so
(EE) LoadModule: Module fbdevhw does not have a fbdevhwModuleData data object.
(II) UnloadModule: "fbdevhw"
(II) Unloading /usr/local/lib/xorg/modules/linux/libfbdevhw.so
(EE) Failed to load module "fbdevhw" (invalid module, 0)
(EE) No devices detected.
Fatal server error:
no screens found
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
Last edited by DutchDaemon; February 10th, 2012 at 06:09. Reason: Proper capitalization: http://en.wikipedia.org/wiki/Capitalization |
|
#10
|
|||
|
|||
|
Code:
...
(!!) More than one possible primary device found
(--) PCI: (0:0:2:0) 8086:0116:152d:0875 Intel Corporation 2nd
Generation Core Processor Family Integrated Graphics Controller
rev 9, Mem @ 0xe
2400000/4194304, 0xd8000000/134217728, I/O @ 0x00005000/64, BIOS
@ 0x????????/65536
(--) PCI: (0:1:0:0) 10de:0dce:152d:0875 NVIDIA Corporation GF106
[GeForce GT 555M] rev 161, Mem @ 0xe0000000/33554432,
0xc0000000/268435456, 0xd0000000/67108864, I/O @ 0x00004000/128,
BIOS @ 0x????????/65536 Primary device is not PCI
...
(EE) No devices detected.
|
|
#11
|
||||
|
||||
|
Ah. D'oh. Yes, you need to make sure Xorg works before you enable GDM.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#12
|
|||
|
|||
|
Quote:
|
|
#13
|
|||
|
|||
|
Thank you all. I installed brand now driver from homepage of nvidia, but the driver does not support
Last edited by DutchDaemon; February 10th, 2012 at 06:13. Reason: Write proper posts! Infracted. |
|
#14
|
|||
|
|||
|
But fedora-release not found and linux_base-f10-10_4 linuxulator is not (kld)loaded. Quite easy, just kldload linux, nvidia-driver will be installed.
Linux compatible is huge. Last edited by DutchDaemon; February 10th, 2012 at 06:10. |
|
#15
|
|||
|
|||
|
nvidia-driver installed. But
Last edited by DutchDaemon; February 10th, 2012 at 06:14. Reason: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043 |
|
#16
|
|||
|
|||
|
The video card is i915 + nvidia GT555M. so:
Code:
kldload i915 kldload nvidia nvidia0: <GeForce GT 555M> on vgapci0 vgapci0: chili nvidia0 requested pci_enable_io vgapci0: chili nvidia0 requested pci_enable_io Last edited by DutchDaemon; February 10th, 2012 at 06:14. Reason: Proper capitalization: http://en.wikipedia.org/wiki/Capitalization |
|
#17
|
|||
|
|||
|
|
|
#18
|
|||
|
|||
|
Quote:
Code:
Xorg -configure (++) Using config file: "/root/xorg.conf.new" (EE) LoadModule: Module fbdevhw does not have a fbdevhwModuleData data object. (EE) Failed to load module "fbdevhw" (invalid module, 0) Last edited by DutchDaemon; February 11th, 2012 at 05:46. |
|
#19
|
||||
|
||||
|
You don't need it. Remove it from your xorg.conf.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#20
|
|||
|
|||
|
Yes, but Xorg -configure stopped there.
Last edited by DutchDaemon; February 11th, 2012 at 05:46. |
|
#21
|
||||
|
||||
|
Here, use mine. Copy it to /usr/local/etc/X11/xorg.conf:
Code:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
EndSection
Section "Files"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
FontPath "/usr/local/lib/X11/fonts/bitstream-vera/"
FontPath "/usr/local/lib/X11/fonts/cyrillic/"
FontPath "/usr/local/lib/X11/fonts/webfonts/"
FontPath "/usr/local/lib/X11/fonts/dejavu/"
FontPath "/usr/local/lib/X11/fonts/terminus-font/"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
#BoardName "G73 [GeForce 7600 GT]"
#BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#22
|
|||
|
|||
|
Quote:
Code:
Primary Device is: No devices detected Fatal server error no screen found Last edited by DutchDaemon; February 11th, 2012 at 05:46. |
|
#23
|
|||
|
|||
|
As you can see in the log file, that machine has both an nvidia and intel GPU. I'm guessing it's one of the new laptops with Optimus, in which case you can not use the nvidia GPU as nvidia only supports Optimus on Windows (and maybe OS X).
If I'm right, you have to use the intel GPU, but to get that working with the intel driver, you need to patch your kernel and update various ports: http://wiki.freebsd.org/Intel_GPU Adam |
|
#24
|
|||
|
|||
|
Quote:
Last edited by DutchDaemon; February 11th, 2012 at 23:57. Reason: Proper capitalization: http://en.wikipedia.org/wiki/Capitalization |
|
#25
|
|||
|
|||
|
But this is not Linux. If you are unable to disable the Intel GPU via the BIOS, then you will be unable to use the nvidia driver here. You will also be unable to use the Intel driver without going through the steps outlined in the link I already provided.
Adam Last edited by DutchDaemon; February 11th, 2012 at 23:57. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GDM 2.26 looks | alie | GNOME | 13 | November 7th, 2010 05:13 |
| Missing GDM? | mac2x | GNOME | 10 | October 24th, 2010 02:48 |
| Gdm | nu2fbsd | GNOME | 4 | April 13th, 2010 07:38 |
| [Solved] Gdm | hitchup | GNOME | 2 | December 20th, 2009 01:39 |
| gdm and bus problem | SIFE | GNOME | 6 | November 7th, 2009 00:45 |