LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-16-2010, 01:37 AM   #1
achtani_jeetu
LQ Newbie
 
Registered: Feb 2010
Posts: 13

Rep: Reputation: 0
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
 
Old 02-16-2010, 02:37 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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.
.....

Last edited by knudfl; 02-16-2010 at 02:39 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lpq command do not display error for network printer managed by a Windows server powah Linux - Software 0 04-28-2009 09:18 AM
printer setup via command line in ubuntu Mr.J Linux - Desktop 4 11-04-2008 01:27 AM
Can I use crontab command with sys account? xuebof Linux - Server 1 03-04-2008 01:01 PM
cannot add a printer with the lpadmin command (client-error-not-possible) rocordial Linux - Hardware 2 03-22-2005 03:20 AM
Command 2 Show sys Spec Thom_Redhat Linux - General 1 11-11-2003 01:32 PM


All times are GMT -5. The time now is 06:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration