Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2013 11:33:17 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Hrisikesh sahu <hrisikeshsahu@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Upgrading 8.2 to 9.1, Gnome issue
Message-ID:  <20130122113317.b70d618a.freebsd@edvax.de>
In-Reply-To: <CAMB42mz4u3WeoJDrpYXEHi_o2wNYqDM6x3U4YAJM7xxKdG_7Vg@mail.gmail.com>
References:  <CAMB42mwYoCrRJiwXprLcgk-qgZy=qSg366msj1KwF6esE8X3VA@mail.gmail.com> <20130121224248.GA75986@whisperer.chthonixia.net> <CAMB42mz4u3WeoJDrpYXEHi_o2wNYqDM6x3U4YAJM7xxKdG_7Vg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130122113317.b70d618a.freebsd>