Re: Upgrading 8.2 to 9.1, Gnome issue

2013-01-22 Thread Hrisikesh sahu
Hi ,
Forgive my stupidity.
Yes, i was getting so many shared library issue. So  I deleted to
rebuild the pkgdb using #portupgrade.

Now I am able to do
#portupgrade gnome2.

I followed both the following links to upgrade Xorg and Gnome2 .

On command prompt Mouse and key board functionality is proper, but
when i switched to GUI using #startx , then mouse and key stopped
working.

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



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

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

I think few libraries are getting linked when I switched from Command
prompt to GUI terminal.

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

I am new to this freebsd . Please help me out to set up this system properly.




On Tue, Jan 22, 2013 at 4:12 AM, Joe Altman free...@chthonixia.net wrote:

 On Mon, Jan 21, 2013 at 01:02:17PM +0530, Hrisikesh sahu wrote:
 
  # portupgrade -fr gnome-session
 
  But I am facing a problem shared object libz.so.5 not found freebsd

 I see libz.so.6 in my /usr/lib on:

 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r245243: Wed Jan  9 18:25:14 EST 2013
 r...@whisperer.chthonixia.net:/usr/obj/usr/src/sys/WHISPERER  amd64

 Remind me: did you buildworld and installworld prior to upgrading ports?

  I did all these steps to upgrade the ports
   Code:
 
  #pkgdb -fF
  # rm /var/db/pkg/pkgdb.db
  # portupgrade -arRn

 While I wonder why you deleted your pkgdb.db, more to the point: did you
 rebuild it?

  but i am facing a issue with -
   Code:
 
  /usr/local/sbin/portupgrade:1473:in `get_pkgname': Makefile broken
  (MakefileBrokenError)

 My guess is that you did not rebuild the pkgdb.db...

  Please help me how to come out from this Makefile broken and shared object
  libz.so.5 not found freebsd.

 and I'd do that before trying to solve fixing the libz.so.5 issue.

 Joe
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrading 8.2 to 9.1, Gnome issue

2013-01-22 Thread Polytropon
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, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrading 8.2 to 9.1, Gnome issue

2013-01-22 Thread Ralf Mardorf
On Tue, 22 Jan 2013 11:22:04 +0100, Hrisikesh sahu  
hrisikeshs...@gmail.com wrote:

#portupgrade gnome2


Is there a future for GNOME 2 on FreeBSD?
GNOME 2 forks
http://en.wikipedia.org/wiki/MATE_(desktop_environment)
http://en.wikipedia.org/wiki/Cinnamon_(user_interface)
GNOMER 3 fallback mode fork
http://solusos.com/blog/2013/01/the-consort-desktop-environment/
OT: KDE 3 fork:
https://wiki.archlinux.org/index.php/Trinity

I didn't read it myself, I've got my information from Linux mailing lists.

Regards,
Ralf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrading 8.2 to 9.1, Gnome issue

2013-01-22 Thread Polytropon
On Tue, 22 Jan 2013 13:59:44 +0100, Ralf Mardorf wrote:
 On Tue, 22 Jan 2013 11:22:04 +0100, Hrisikesh sahu  
 hrisikeshs...@gmail.com wrote:
  #portupgrade gnome2
 
 Is there a future for GNOME 2 on FreeBSD?

I assume -- on the _long_ run -- Gnome 2 will be dead,
just as Gnome 1, KDE 1 and 2, and XFCE (capitals, so
it obviously means version 3). MATE and Cinnamon
are still maintained, and if there will be FreeBSD
ports, they will probably work for some time, until
eventually the required support libraries at certain
levels of abstraction will not work (or even build)
anymore, or when security concerns grow enough to
abolish the port. Infrastructures are moving on, and
backwards compatibility isn't the biggest strength
of desktop environments. :-(




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrading 8.2 to 9.1, Gnome issue

2013-01-22 Thread Ralf Mardorf

On Tue, 22 Jan 2013 14:09:52 +0100, Polytropon free...@edvax.de wrote:

Infrastructures are moving on, and
backwards compatibility isn't the biggest strength
of desktop environments. :-(


Full ACK with the smiley ;) ... :(.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrading 8.2 to 9.1, Gnome issue

2013-01-22 Thread Ralf Mardorf

On Tue, 22 Jan 2013 11:33:17 +0100, Polytropon free...@edvax.de wrote:

Note that you shouldn't run startx from your root account


I've still tons of issues to solve, one issue is to get GDM run or to
directly start x without a display manager. It didn't work as described in
the handbook, perhaps it would work now, after the ports tree upgrade,
however, I start x from tty after login in as user ... $ startx ... IIRC,
if you start x as root, Thunar will warn you, that you run the session as
root.

I'll do an experiment now, Ctrl + Alt + F1 [snip] ...

Don't worry, I'm back in a user session, but I run a root session and got
Warning, you are using the root account, you may harm your system.
by Thunar 1.6.2.

Regards,
Ralf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Upgrading 8.2 to 9.1, Gnome issue

2013-01-21 Thread Joe Altman
On Mon, Jan 21, 2013 at 01:02:17PM +0530, Hrisikesh sahu wrote:
 
 # portupgrade -fr gnome-session
 
 But I am facing a problem shared object libz.so.5 not found freebsd

I see libz.so.6 in my /usr/lib on:

9.1-RELEASE FreeBSD 9.1-RELEASE #0 r245243: Wed Jan  9 18:25:14 EST 2013
r...@whisperer.chthonixia.net:/usr/obj/usr/src/sys/WHISPERER  amd64

Remind me: did you buildworld and installworld prior to upgrading ports?

 I did all these steps to upgrade the ports
  Code:
 
 #pkgdb -fF
 # rm /var/db/pkg/pkgdb.db
 # portupgrade -arRn

While I wonder why you deleted your pkgdb.db, more to the point: did you
rebuild it?

 but i am facing a issue with -
  Code:
 
 /usr/local/sbin/portupgrade:1473:in `get_pkgname': Makefile broken
 (MakefileBrokenError)

My guess is that you did not rebuild the pkgdb.db...
 
 Please help me how to come out from this Makefile broken and shared object
 libz.so.5 not found freebsd.

and I'd do that before trying to solve fixing the libz.so.5 issue. 

Joe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org