Can not start gnome

Hello! I am new to FreeBSD and have some questions (wow that is new xD)

I use WindowMaker and decided to try out gnome.
I have done command: pkg_add -r gnome2
and succesfully installed gnome.
Then I opened /myhomedirectory/.xinitrc and and deleted line:
Code:
exec wmaker
and put new line:
Code:
/usr/local/bin/gnome-session
!
I added gnome_enable="YES" in /etc/rc.conf too.
But when I type startx it doesn't start gnome and gives me some error message.
This is my:


xorg.conf :
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
        Option "AllowEmptyInput" "off"
        Option "AutoAddDevices" "false"
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/"
EndSection

Section "Module"
	Load  "dbe"
	Load  "dri"
	Load  "dri2"
	Load  "extmod"
	Load  "glx"
	Load  "record"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
        Option "XkbLayout" "hr"
EndSection

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

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "Dac8Bit"            	# [<bool>]
        #Option     "BusType"            	# [<str>]
        #Option     "CPPIOMode"          	# [<bool>]
        #Option     "CPusecTimeout"      	# <i>
        #Option     "AGPMode"            	# <i>
        #Option     "AGPFastWrite"       	# [<bool>]
        #Option     "AGPSize"            	# <i>
        #Option     "GARTSize"           	# <i>
        #Option     "RingSize"           	# <i>
        #Option     "BufferSize"         	# <i>
        #Option     "EnableDepthMoves"   	# [<bool>]
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "NoBackBuffer"       	# [<bool>]
        #Option     "DMAForXv"           	# [<bool>]
        #Option     "FBTexPercent"       	# <i>
        #Option     "DepthBits"          	# <i>
        #Option     "PCIAPERSize"        	# <i>
        #Option     "AccelDFS"           	# [<bool>]
        #Option     "IgnoreEDID"         	# [<bool>]
        #Option     "DisplayPriority"    	# [<str>]
        #Option     "PanelSize"          	# [<str>]
        #Option     "ForceMinDotClock"   	# <freq>
        #Option     "ColorTiling"        	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "RageTheatreCrystal" 	# <i>
        #Option     "RageTheatreTunerPort" 	# <i>
        #Option     "RageTheatreCompositePort" 	# <i>
        #Option     "RageTheatreSVideoPort" 	# <i>
        #Option     "TunerType"          	# <i>
        #Option     "RageTheatreMicrocPath" 	# <str>
        #Option     "RageTheatreMicrocType" 	# <str>
        #Option     "ScalerWidth"        	# <i>
        #Option     "RenderAccel"        	# [<bool>]
        #Option     "SubPixelOrder"      	# [<str>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "DynamicClocks"      	# [<bool>]
        #Option     "VGAAccess"          	# [<bool>]
        #Option     "ReverseDDC"         	# [<bool>]
        #Option     "LVDSProbePLL"       	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "DRI"                	# [<bool>]
        #Option     "ConnectorTable"     	# <str>
        #Option     "DefaultConnectorTable" 	# [<bool>]
        #Option     "DefaultTMDSPLL"     	# [<bool>]
        #Option     "TVDACLoadDetect"    	# [<bool>]
        #Option     "ForceTVOut"         	# [<bool>]
        #Option     "TVStandard"         	# <str>
        #Option     "IgnoreLidStatus"    	# [<bool>]
        #Option     "DefaultTVDACAdj"    	# [<bool>]
        #Option     "Int10"              	# [<bool>]
        #Option     "EXAVSync"           	# [<bool>]
        #Option     "ATOMTVOut"          	# [<bool>]
        #Option     "R4xxATOM"           	# [<bool>]
	Identifier  "Card0"
	Driver      "radeon"
	VendorName  "ATI Technologies Inc"
	BoardName   "RV530 [Radeon X1600]"
	BusID       "PCI:2:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
Section "ServerFlags"
Option "AutoAddDevices" "FALSE"
EndSection


.xinitrc :
Code:
/usr/local/bin/gnome-session


/etc/rc.conf :
Code:
# -- sysinstall generated deltas -- # Thu Nov  5 14:15:07 2009
# Created: Thu Nov  5 14:15:07 2009
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
keymap="hr.iso"
hald_enable="YES"
dbus_enable="YES"
moused_enable="YES"
gnome_enable="YES"



HELP! :stud
 
psycho said:
But when I type startx it doesn't start gnome and gives me some error message.
You have to be more specific then "some error message".
 
ok this is what I see when I type startx:
Code:
Disable CRTC 1 succes
Lock    CRTC 0 succes
Unlock  CRTC 0 succes

The XKEYBOARD keymap compiler (xkbcomp) reports:
>Warrning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
(EE) config/hal: NewInputDeviceRequest failed (8)
(EE) config/hal: NewInputDeviceRequest failed (8)
/libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: 
version LIBXML2_2.4.30 required by /usr/local/lib/libglade-2.0.s0.0 not defined

waiting for X server to shut down  info: [drm] Num pipes:1

Output CRT2 disable succes
Blank   CRTC 0 succes
Disable CRTC 0 succes
Blank   CRTC 1 succes
Disable CRTC 1 succes
Enable  CRTC 0 succes
Unblank CRTC 0 succes

xauth: (argv):1: bad displayname ":0" in "remove" command
xauth: (argv):1: bad displayname ":0" in "remove" command
 
ok I solved this problem, but now when I start Gnome It gives me error message that something is wrong gnome-power-manager, and I only have black screen with dialog box in the middle giving me option to shutdown or restart computer and in the right bottom corner I have this message with gnome-power-manager.

note: I can't restart nor shut down computer from that dialog box.
 
Did you solve this problem too...

Code:
xauth: (argv):1: bad displayname ":0" in "remove" command
xauth: (argv):1: bad displayname ":0" in "remove" command
 
i added
Code:
gnome_enable="YES"
to /etc/rc.conf
and when i start freebsd it launches gnome and gnome is corrupted(as I said I only have option to turn off/restart computer) so I can't do anything. Pls help.
 
yes but where to enter that command??
That is the problem.
Every time when I start freebsd gnome is automatically started.
 
you can switch to console by pressing CTRL-ALT-Fn

do you have
Code:
hald_enable="YES"
dbus_enable="YES"
in /etc/rc.conf

also did you compile Xorg with hal support?
If not recompile xserver with hal

as for screenshot...
Code:
$ import -window root test.jpg
in terminal will make screenshot, but that I don't need no more, in your pm, i get the picture of about what is going on


I assume you have ImageMagick... installed
 
any of F1, F2, F3, .... F12

normally you have 8 terminal that you can switch to with F1 to F8
F9 will take you to X if it's running
 
gnome apparently installed, cannot find its installation

I also tried installing gnome2 on my desktop (actually a virtual machine running vmware) using the ports collection (make install clean) and also tried pkg_add -r gnome2. I am running into issues starting gnome. On checking if gnome actually was installed, I followed it up with a pkg_info | grep gnome which returns:

Code:
gnome_subr-1.0
gnomehier-2.3_12
system-tools-backend-2.6.0_1

This is quite strange since I was actually hoping to see some kind of a meta port showing the installation of gnome. Please do guide me as to where am I going wrong. Should I try installing gnome again?

Kindly help me with this.
 
If you installed from the x11/gnome2 meta port, it should have pulled a lot more packages than that. # pkg_info | grep gnome shows a pretty long list on my system, including an entry for the meta port. Did the installation error out prematurely?
 
did you put
Code:
/usr/local/bin/gnome-session
in your ~/.xinitrc file?
what error messages do you get when you [CMD=""]startx[/CMD] ?
and how come that [CMD=""]pkg_info | grep gnome[/CMD] gives this line of output:
Code:
system-tools-backend-2.6.0_1
??
Try this command without | grep ... and go through the output to see if there is gnome.
 
psycho said:
and how come that [CMD=""]pkg_info | grep gnome[/CMD] gives this line of output:
Code:
system-tools-backend-2.6.0_1
??

Must be because of its description:

Code:
od@meh:~#psearch system-tools-backend
sysutils/system-tools-backends Backend system admin scripts for gnome-system-tools
 
mre info

Hello fellas,

@pyscho
I do not have a gnome-session entry in /usr/local/bin/ which is probably because gnome did not get installed. And even I was a lil shocked to see that backend entry since grep is supposed to do something similar to a stream parser so ideally it shouldn't show up now isn't it?! :p

@pyscho & @atomicplayboy
Well, my pkg_info does not show me anything that shoes a meta port of gnome2 as you can see from the attached files.

I have installed kde-lite using pkg_add as pkg_add -r kde-lite and I added an entry in the /etc/ttyv8 file so now it automatically starts up on tty8. Nonetheless I always liked gnome over kde so would like to have that as well.

Keen to hear from u,

AB
 

Attachments

  • mypackages.txt
    12.3 KB · Views: 210
  • mypackages1.txt
    8.7 KB · Views: 195
aijazbaig1 said:
@pyscho
I do not have a gnome-session entry in /usr/local/bin/ which is probably because gnome did not get installed. And even I was a lil shocked to see that backend entry since grep is supposed to do something similar to a stream parser so ideally it shouldn't show up now isn't it?! :p

Like I've mentioned in my earlier post, the word 'gnome' is in the description.

Code:
system-tools-backends-2.6.0_1 Backend system admin scripts for [B]gnome[/B]-system-tools

If you run pkg_info | awk {'print $1'} | grep -i gnome, the result will only list the first 2 entries (gnome_subr-1.0, gnomehier-2.3_12).
 
Hello,

Well..thnks for the tip :)
And what do you think would be the cause of the gnome-session not showing up? As I wrote, I did try doing a pkg_add and a make install clean but nothing showed up in the /usr/local/bin/.

Any clues? :p
 
Well you don't have x11/gnome2 installed. Guess that's pretty much says about it. If it was successfully installed, it would've been listed when you ran the pkg_info command.
 
first try to update ports tree if you haven't. if it is your first time updating do it with:
[CMD=""]portsnap fetch && portsnap extract[/CMD]
but if it is NOT first time updating using portsnap you just do:
[CMD=""]portsnap update[/CMD]
when you are done with updating ports tree then try to reinstall gnome2 from ports.
[CMD=""]cd /path/to/gnome2/
make reinstall[/CMD]
or
[CMD=""]cd /path/to/gnome2/
make deinstall
make install[/CMD]
 
Back
Top