LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error in sys-confg-printer command in ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/error-in-sys-confg-printer-command-in-ubuntu-789383/)

achtani_jeetu 02-16-2010 12:37 AM

Error in sys-confg-printer command in ubuntu
 
well I am facing one error in running the command syste-conf-printer. this is my output
if u suggest anything i will really appreciate
thanks so much in advance



/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
libnotify-Message: Unable to get session bus: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.

/usr/share/system-config-printer/system-config-printer.py:136: GtkWarning: gdk_cursor_new_for_display: assertion `GDK_IS_DISPLAY (display)' failed
busy_cursor = gtk.gdk.Cursor(gtk.gdk.WATCH)
Traceback (most recent call last):
File "/usr/share/system-config-printer/system-config-printer.py", line 136, in <module>
busy_cursor = gtk.gdk.Cursor(gtk.gdk.WATCH)
RuntimeError: could not create GdkCursor object

knudfl 02-16-2010 01:37 PM

Probaly update / reinstall "system-config-printer-gnome"
and the other packages involved.
You can do that with Synaptic.

Or use the "CUPS Administration" to set up the printer.

It is done with Firefox and this URL : http://localhost:631/

You may have to create a root password : sudo passwd root

When asked for user name : type root ( and password.)
.. If your ordinary "username" is not accepted.
.....


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