LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 12.2 & wicd problem (https://www.linuxquestions.org/questions/slackware-14/slackware-12-2-and-wicd-problem-698637/)

27thSunshine 01-20-2009 12:32 PM

Slackware 12.2 & wicd problem
 
Hello, forumfolk.
At college, I have wired internet with no option of wireless. Now that I'm home for the break, however, wireless is the only thing I have goin' for me, and I can't seem to get it going.
After a bit of googling I read a bit about wicd, so I grabbed it from /extra, installed the package, ensured via chmod that rc.wicd was executable...and now I'm stuck.

Here's how it went:

Code:

root@darkstar:/etc/rc.d# chmod +x /etc/rc.d/rc.wicd
root@darkstar:/etc/rc.d# wicd
root@darkstar:/etc/rc.d# /var/run/wicd/wicd.pid

What does that mean? How do I use wicd to tap into the wireless?

Thanks so much, sorry if I'm missing the obvious. Generally I can google out an answer but I'm really stumped this time.

repo 01-20-2009 12:34 PM

start wicd-client

27thSunshine 01-20-2009 12:46 PM

Hey, cool, a step in the right direction..thanks.
But that comes up with:

Code:

root@darkstar:/etc/rc.d# wicd-client                                       
No protocol specified                                                       
/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display                                                               
  warnings.warn(str(e), _gtk.Warning)                                         
Loading...                                                                     
Attempting to connect tray to daemon...                                       
Success.                                                                       
/usr/lib/wicd/wicd-client.py:333: Warning: invalid (NULL) pointer instance     
  self.menu = (self.manager.get_widget('/Menubar/Menu/About').                 
/usr/lib/wicd/wicd-client.py:333: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed                                         
  self.menu = (self.manager.get_widget('/Menubar/Menu/About').                 
/usr/lib/wicd/wicd-client.py:333: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed                                           
  self.menu = (self.manager.get_widget('/Menubar/Menu/About').                 
/usr/lib/wicd/wicd-client.py:333: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed                                                               
  self.menu = (self.manager.get_widget('/Menubar/Menu/About').                 
/usr/lib/wicd/wicd-client.py:333: Warning: value "TRUE" of type `gboolean' is invalid or out of range for property `visible' of type `gboolean'               
  self.menu = (self.manager.get_widget('/Menubar/Menu/About').                 
/usr/lib/wicd/wicd-client.py:445: Warning: invalid (NULL) pointer instance     
  gtk.StatusIcon.__init__(self)                                               
/usr/lib/wicd/wicd-client.py:445: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed                                         
  gtk.StatusIcon.__init__(self)                                               
/usr/lib/wicd/wicd-client.py:445: GtkWarning: Screen for GtkWindow not set; you must always set                                                               
a screen for a GtkWindow before using the window                               
  gtk.StatusIcon.__init__(self)                                               
/usr/lib/wicd/wicd-client.py:445: GtkWarning: gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed                                       
  gtk.StatusIcon.__init__(self)                                               
/usr/lib/wicd/wicd-client.py:445: GtkWarning: gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed                                           
  gtk.StatusIcon.__init__(self)                                               
/usr/lib/wicd/wicd-client.py:445: GtkWarning: gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
  gtk.StatusIcon.__init__(self)
/usr/lib/wicd/wicd-client.py:445: GtkWarning: gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed
  gtk.StatusIcon.__init__(self)
/usr/lib/wicd/wicd-client.py:445: GtkWarning: gdk_screen_get_display: assertion`GDK_IS_SCREEN (screen)' failed
  gtk.StatusIcon.__init__(self)
/usr/lib/wicd/wicd-client.py:445: GtkWarning: gdk_display_sync: assertion `GDK_IS_DISPLAY (display)' failed
  gtk.StatusIcon.__init__(self)
/usr/lib/wicd/wicd-client.py:445: GtkWarning: gdk_drawable_get_display: assertion `GDK_IS_DRAWABLE (drawable)' failed
  gtk.StatusIcon.__init__(self)
/usr/lib/wicd/wicd-client.py:445: GtkWarning: gdk_x11_get_xatom_by_name_for_display: assertion `GDK_IS_DISPLAY (display)' failed
  gtk.StatusIcon.__init__(self)
/usr/lib/wicd/wicd-client.py:445: GtkWarning: gdkdrawable-x11.c:878 drawable isnot a pixmap or window
  gtk.StatusIcon.__init__(self)
/usr/lib/wicd/wicd-client.py:445: GtkWarning: gdk_x11_display_get_xdisplay: assertion `GDK_IS_DISPLAY (display)' failed
  gtk.StatusIcon.__init__(self)
Segmentation fault

...so...a problem with gtk then? Or..?

EDIT: The first bit sounded sarcastic, and I swear I didn't intend for it to! I do appreciate the help.

repo 01-20-2009 12:50 PM

try to start it as user.

larryhaja 01-20-2009 12:51 PM

In order to get wicd to start from the command line run.
Code:

root# /etc/rc.d/rc.wicd start
root# wicd-client &

Alternatively, if wicd is already running then run.
Code:

root# /etc/rc.d/rc.wicd restart
root# wicd-client &


27thSunshine 01-20-2009 01:38 PM

Aha!
Thank you both SO much, I apologize verily for being daft.

larryhaja 01-20-2009 01:45 PM

rc.wicd should be ran as root or with root privileges. wicd-client should be ran as a normal user.

XavierP 01-20-2009 03:31 PM

You should also see Wicd as a menu item under "Internet" (if you run KDE)


All times are GMT -5. The time now is 11:28 PM.