From owner-freebsd-questions@FreeBSD.ORG Tue Jan 22 10:33:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8B175201 for ; Tue, 22 Jan 2013 10:33:15 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4B22583C for ; Tue, 22 Jan 2013 10:33:15 +0000 (UTC) Received: from r56.edvax.de (port-92-195-45-17.dynamic.qsc.de [92.195.45.17]) by mx01.qsc.de (Postfix) with ESMTP id 62FAA3CA2C; Tue, 22 Jan 2013 11:33:14 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r0MAXHRf002835; Tue, 22 Jan 2013 11:33:17 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 22 Jan 2013 11:33:17 +0100 From: Polytropon To: Hrisikesh sahu Subject: Re: Upgrading 8.2 to 9.1, Gnome issue Message-Id: <20130122113317.b70d618a.freebsd@edvax.de> In-Reply-To: References: <20130121224248.GA75986@whisperer.chthonixia.net> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2013 10:33:15 -0000 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, ...