View Full Version : Problem with Gnome
yandzee
January 30th, 2010, 16:42
I install gnome on freebsd 7.2.
1)After pkgdb -Ff and portupgrade gnome-session gnome not view pictures. He doesn't see pictures, maybe i delete it? What me to do?
2)Gnome after login make reboot gnome.
How to fix this problems?
paulfrottawa
January 30th, 2010, 17:21
http://forums.freebsd.org/showpost.php?p=56966&postcount=3
Did you add
proc /proc procfs rw 0 0
to /etc/fstab
------------------------
Plus you should sync your ports collection first.
run portsnap fetch extract
then portupgrade
yandzee
January 30th, 2010, 18:51
proc /proc procfs rw 0 0
is already ok.
I use Csup, is it correctly?
mdg583
January 30th, 2010, 21:59
csup is fine, as long as you use it right (you can follow the handbook). But I think portsnap is easier.
I would recommend running pkg_version -vs gnome to see what version you gnome packages are at.
(What do you mean by that it can view pictures?)
yandzee
January 31st, 2010, 13:42
http://itmages.ru/src/preview/20060/fb7fb6.png (http://itmages.ru/image/view/20060/fb7fb6)
dennylin93
January 31st, 2010, 14:33
Ah... I had this problem as well after I accidentally deleted some files in /usr/local/. I reinstalled everything that x11/gnome2 depended on, and it went back to normal.
Perhaps someone can point out the port that is causing this.
yandzee
January 31st, 2010, 15:40
Oh, thanks! Pictures is ok. But i can't login. Gnome have reboot after type login and pass. How to fix this?
dennylin93
February 2nd, 2010, 06:12
Try to see if there's anything relevant in the logs. Usually errors get logged.
SirDice
February 2nd, 2010, 09:12
How are you starting GDM? If you did it using /etc/ttys remove that. GDM won't work properly that way. Just add to /etc/rc.conf:
hald_enable="YES"
dbus_enable="YES"
gdm_enable="YES"
Or all in one go:
gnome_enable="YES"
yandzee
February 2nd, 2010, 16:43
If you did it using /etc/ttys remove that.
I'm noob in freebsd, and i don't know what is /etc/ttys. Please tell me how to do it?
sixtydoses
February 3rd, 2010, 00:14
I'm noob in freebsd, and i don't know what is /etc/ttys. Please tell me how to do it?
Take a look at the file /etc/ttys. The display manager is turned off by default.
ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure
http://www.freebsd.org/doc/handbook/x-xdm.html
yandzee
February 3rd, 2010, 13:40
ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure
I change off in on, but nothing.
Write: No such file. ???
sixtydoses
February 3rd, 2010, 14:05
Write: No such file. ???
What do you mean no such file? To be honest I've never enabled xdm or kdm or gdm before on my machine, but anyway I just tried and it worked fine.
I just did the following:
Switch on xdm the /etc/ttys file:
ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure
Create an .xsession file in my home directory with the following content(since am using xfce4):
exec /usr/local/bin/startxfce4
SirDice
February 3rd, 2010, 14:45
Oh... FFS! DO NOT EDIT /etc/ttys!!
Just add to /etc/rc.conf
gnome_enable="YES"
Forget everything else that's been said here.
sixtydoses
February 3rd, 2010, 15:05
Oh yea he's using gnome..
Edit: Just read more on xdm and yea editing /etc/ttys is a bad thing. Thanks SirDice.
yandzee
February 3rd, 2010, 15:43
Matter is not in etc/ttys. Simply gnome gives reboot at input a login and the password!
mdg583
February 3rd, 2010, 23:45
I would press ctrl-alt-f1 and look for any messages from gnome-session or some other gnome service. They sometimes have a tendency to fail if the system isn't set up right. Also look at the log messages in /var/log, especially /var/log/gdm. (You have to be the super-user to look in there, at least on my system.)
Or you could try running gnome-session from inside X just to see if that is the issue.
I would also try re-installing all gnome components and dependencies. Or did you already do this?
And there is this thing in UPDATING:
20100122:
AFFECTS: users of sysutils/policykit and sysutils/polkit
AUTHOR: gnome@FreeBSD.org
Due to a recent change in sysutils/policykit, both
sysutils/policykit, and sysutils/polkit need to be rebuilt,
but in a certain order. First, upgrade sysutils/policykit
to 0.9_6. Then, force a rebuild and reinstall of
sysutils/polkit. If you do not do this, applications which
depend on polkitd will fail.
yandzee
February 4th, 2010, 16:31
I think that GDM (authorization) -> gnome-session(desktop).
/etc/rc.conf
dbus_enable="YES"
hald_enable="YES"
#gnome_enable="NO"
In console:
gdm (open a auth window)
Login root;
Pass root;
Failed, gnome reboot this.
Reboot.
In console:
gnome-session
"Failed to open display"
Maybe it is that error?
GDM login - but gnome-session give error, here reboot.
Have you got idea?
How to fix Failed to open display??
mdg583
February 4th, 2010, 23:56
You are logging in as root? That should work, but I would try as a normal user first. I don't think it is ever suggested to run gnome as root.
Maybe do this:
put this in ~/.xinitrc for a normal user:
exec ck-launch-session gnome-session
and then run startx as that normal user. Then if it fails, it should tell you something about why.
The learning curve can be steep. Just to warn you, things don't generally just work on freebsd as a desktop - for now the user pretty much needs to do a lot of learning about how the system works.
Here (http://www.freebsd.org/doc/handbook/users.html) is info on user management on freebsd. And it is worthwhile to read more of the handbook - if you plan to use freebsd as your desktop you will need to work through quite a few other things. Maybe it is available in your language (http://www.freebsd.org/doc/ru/books/handbook/)?
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.
0