Reply
 
Thread Tools Display Modes
  #1  
Old 03-16-2012, 10:27 PM
Martian Martian is offline
Junior Member
 
Join Date: Mar 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Talking pc-netmanager in xfce4
Hi

I am new to PC-BSD, but very keen on and would like to give it a good try and eventually help with testing or whatever I manage to help.

For now I need some help.

My choice for desktop environment is xfce4, because I am well familiar with and I prefer it than KDE. I already noticed that BSD is actually more comfortable using qt based environment. Anyway lets point to the main reason I opened this thread.

I want to try the pc-netmanager / pc-nettray, but I can't make it to work from xfce4. For now I installed it via pkg_add and tried to start it in different ways:

1. pc-netmanager showed me that needs to be run by root. So I tired:
Quote:
[martian@pcbsd-2794] ~> pc-su pc-netmanager
This libgtop was compiled on FreeBSD 9.0-RC3 i386
If you see strange problems caused by it,
you should recompile libgtop and dependent applications
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
Locale: "en"
/usr/local/bin/pc-netmanager: Undefined symbol "_ZN5Utils16getConfFileValueE7QStringS0_i"LibG Top-Server: pid 24427 received eof.
2. From different sources I understood that most likely kdesu would help. So I tried:
Quote:
[martian@pcbsd-2794] ~> kdesu
kdesu: Command not found.
[martian@pcbsd-2794] ~> which kdesu
kdesu: Command not found.
Strange, because if I do:
[martian@pcbsd-2794] ~> set autolist
[martian@pcbsd-2794] ~> kde (hitting tab here)
kde4-config kded4 kdeinit4 kdeinit4_shutdown kdeinit4_wrapper kdestroy kdesu
I don't know where this kdesu it comes from?
3. Anyway I tried different approach and almost worked
Quote:
[martian@pcbsd-2794] ~> pc-su /usr/local/kde4/bin/kdeinit4_wrapper pc-netmanager
This libgtop was compiled on FreeBSD 9.0-RC3 i386
If you see strange problems caused by it,
you should recompile libgtop and dependent applications
Launched ok, pid = 25171
LibGTop-Server: pid 25167 received eof.
[martian@pcbsd-2794] ~> ps aux | grep 25171
martian 25191 0.0 0.1 9748 1356 0 S+ 12:20AM 0:00.00 grep 25171
4. pc-nettray has almost the same behavior:
Quote:
[martian@pcbsd-2794] ~> pc-nettray
Locale: "en"
[martian@pcbsd-2794] ~> pc-su pc-nettray
This libgtop was compiled on FreeBSD 9.0-RC3 i386
If you see strange problems caused by it,
you should recompile libgtop and dependent applications
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
Locale: "en"
LibGTop-Server: pid 25327 received eof.
5. Later I found an icon for "Network Configuration" in pc-controlpanel, but it's not starting as well. Running Control Panel from the console and clicking over the Network Configuration icon shows me:
Quote:
[martian@pcbsd-2794] ~> pc-controlpanel
QMetaObject::connectSlotsByName: No matching signal for on_itemActivated(QListWidgetItem*)
Locale: "en"
/usr/local/bin/pc-netmanager: Undefined symbol "_ZN5Utils16getConfFileValueE7QStringS0_i"
... but nothing show up.

I wonder is it necessary to install full KDE? I would prefer to use XFce anyway

Any help would be appreciated!

P.S. Sorry, I mixed up the forum. Please move this thread to XFCE related forum!

Cheers,
Martin

Last edited by Martian; 03-16-2012 at 10:36 PM.
Reply With Quote
  #2  
Old 03-19-2012, 12:20 AM
drulavigne drulavigne is offline
Administrator
 
Join Date: Nov 2009
Posts: 1,125
Thanks: 45
Thanked 54 Times in 52 Posts
Default
Hmm, not sure what pkg_adding the netmanager did to the system (e.g. if it overwrote the one that came with the operating system), but that would explain the lib errors.

There should be a control panel icon on the desktop which contains the Network configuration tool. Control Panel is available on any desktop (e.g. you don't need KDE for it). Does that networking tool work for you or is it giving errors as well (e.g. was it overwritten by the pkg_add)?
Reply With Quote
  #3  
Old 03-19-2012, 12:37 PM
Martian Martian is offline
Junior Member
 
Join Date: Mar 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Originally Posted by drulavigne View Post
There should be a control panel icon on the desktop which contains the Network configuration tool. Control Panel is available on any desktop (e.g. you don't need KDE for it). Does that networking tool work for you or is it giving errors as well (e.g. was it overwritten by the pkg_add)?
May be you missed to read point 5 from my post. Actually the icon was missing, before I installed pc-netmanager. It wasn't installed from the fresh installation. May be, because during installation I removed KDE and choose only XFCE to be installed?
Reply With Quote
  #4  
Old 03-20-2012, 11:44 AM
drulavigne drulavigne is offline
Administrator
 
Join Date: Nov 2009
Posts: 1,125
Thanks: 45
Thanked 54 Times in 52 Posts
Default
No, control panel and all of its icons are part of the OS, regardless of window manager and should "just work" from any window manager.

Are you running an RC version of 9, or release? Were the libgtop errors before or after you installed using pkg_add? If after, it sounds like it overwrote some libs. Is this a brand new install that you can reinstall?
Reply With Quote
  #5  
Old 03-21-2012, 07:16 PM
Martian Martian is offline
Junior Member
 
Join Date: Mar 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default
It was a brand new installation (with only xfce installed no KDE), but I remember when I was reviewing the "Control Panel" for the first time the "System Manager" was working. Later when I installed pc-netmanager (because it wasn't installed by the installer) then found out that both are not working with the same problem. So it could be, because of libgtop (I used pkg_add).

At the end I decided to reinstall and this time I chose both KDE and XFCE intruded and there is no problem now. If someone is doing scratch installation with only XFCE installed can try to reproduce what happened to me.

P.S. It was a release version. And as stated I think that error starte after I installed pc-netmanager with pkg_add.

Last edited by Martian; 03-21-2012 at 07:23 PM.
Reply With Quote
  #6  
Old 08-18-2012, 03:45 PM
carles1988 carles1988 is offline
Junior Member
 
Join Date: Aug 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Cool
Any excellent word on this, guys? Seems like that everyone are not sure on threads-


_________________

http://creativesparkinteractive.com

Last edited by carles1988; 09-04-2012 at 04:06 AM.
Reply With Quote
  #7  
Old 08-22-2012, 06:25 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,568
Thanks: 0
Thanked 163 Times in 127 Posts
Default pc-netmanager in xfce4
The version from ports is super-old, and I'm sure wont work. We had
better work on fixing the existing one.

Try this:

sudo /usr/local/bin/pc-netmanager

Does it throw any errors?
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #8  
Old 09-04-2012, 03:35 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,568
Thanks: 0
Thanked 163 Times in 127 Posts
Default pc-netmanager in xfce4
pc-netmanager is already apart of the base system, and shouldn't be
installed via ports / packages. The pkg_add version was probably
compiled with old version of QT which causes this problem.

You may need to rebuild it via source:

% svn co svn://svn.pcbsd.org/pcbsd/current/src-qt4/pc-netmanager
pc-netmanager
% cd pc-netmanager
% qmake-qt4
% sudo make install

That should get it working for you.
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:46 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.