Upgrading 8.2 to 9.1, Gnome issue

Polytropon freebsd at edvax.de
Tue Jan 22 10:33:15 UTC 2013


On Tue, 22 Jan 2013 15:52:04 +0530, Hrisikesh sahu wrote:
> On command prompt Mouse and key board functionality is proper, but
> when i switched to GUI using #startx , then mouse and key stopped
> working.

This looks like a typical configuration error, not quite
uncommon today. :-)

Note that you shouldn't run "startx" from your root account
(which I assume you do because of "#startx"). For your local
user account, make sure you've configured Gnome 2 to start
automatically via ~/.xinitrc or ~/.xsession respectively.
Refer to the FreeBSD Gnome FAQ for details.

As you're also using GDM (Gnome display manager) for login,
your ~/.xsession should contain "exec gnome2-session" (which
I think to remember is the name of the Gnome desktop
executable, but check the documentation to be sure).



> I have included HLAD and DBUS to the rc.conf .
> /etc/rc.conf  --
> -------------------------
> keymap="us.iso"
> gdm_enable="YES"
> gnome_enable="YES"
> hald_enable="YES"
> dbus_enable="YES"
> sshd_enable="YES"
> moused_port="/dev/psm0"

Looks correct.



> Now I installed wireshark , but I am getting a Gtk-warning **: cannot
> open display.

You can only run this program when in X (e. g. calling it from
an X terminal).



> Please help me what are ports used to upgrade mouse and Key Board
> functionality with X terminal.

Check your X configuration: If both input methods work in
text mode, but not within X, that's often the error.



> Please let me know if there is any command used to rebuild all the
> installed ports and update pkgdb.

If I remember correctly, it's "portupgrade -arf", but as you're
using portupgrade, see "man portupgrade", the EXAMPLES section
should show the proper options.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list