Printer trouble
My system is CentOS Linux 6.0 2.6.32-71.29.1.el6.i686 on i686
I having trouble to install my printer, i get this message when im typing "system-config-printer". [root@server1 ~]# system-config-printer Traceback (most recent call last): File "/usr/share/system-config-printer/system-config-printer.py", line 30, in <module> from timedops import * File "/usr/share/system-config-printer/timedops.py", line 21, in <module> import gtk File "/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module> _init() File "/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init _gtk.init_check() RuntimeError: could not open display [root@server1 ~]# Can anybody give me push in the right direction here? jan ivar |
How about the other option: install CUPS and use the web interface...
Okay, in a few steps: install CUPS install the driverset, Gutenprint is a good one get CUPS going, if it is'nt already Open the web browser, enter the loopback address (127.0.0.1) and go to port 631: http://127.0.0.1:631 Follow the "install a peinter" (or something like that) You may need to supply a root pass... Let's do this first and see where the eagle lands, okay? :) Luck Thor |
I don't use system-config-printer but it appears to be a graphical printer manager, correct? If so you wouldn't normally run it as root but maybe CentOS is different from other distros I'm more familiar with. For me, to run such a program I would have to use gksudo or something similar.
ciao, jdk |
|
Thanks Thor i wil try this :-)
jdkaye i look into the gksudo allwimb It is a Canon inkjet ip4300 |
Yes, system-config-printer is a GUI based utility. Are you running it strictly from the command line i.e no desktop or via a terminal window.
The command line version is system-config-printer-tui which may not be installed. To install: yum install python-setuptools |
michaelk it seem to be installed but not working. and im running via terminal window Putty.
[root@server1 ~]# yum install python-setuptools Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * Webmin: download.webmin.com * base: ftp.uninett.no * extras: ftp.uninett.no * updates: ftp.uninett.no Setting up Install Process Package python-setuptools-0.6.10-3.el6.noarch already installed and latest version Nothing to do [root@server1 ~]# |
Quote:
If you use Putty on the loopback, chances are you may not even be able to admin anything...as you're doing that "over the network"... I'm confused... :/ Thor |
Thor
hm sorry to noth express my self to good im new to linux so im trying to do things all by my self. I use Putty to write commands to my server, (i dont now all the terms and expressions you use sorry) My main goal is to install my printer on to my server, then i like to share it whit my win pc om my network. My install of CentOS 6 went verry good and im noth having anny other trouble whit it. So i say please be patient whit me. But thanks for manny god ideas :-) |
Quote:
do tou mean that changes i do whit Putty may noth have anny affects on my server? i do log in as root whit my password! and i do make changes! confused now!! I tryed to use webmin and Printer Administrations to add my printer, but it seems to have the same effect that it wont start or cant find my printer.Samba Windows File Sharing have Windows to Unix Printing but i get stuck here too :-( |
Oh, okay, now I've got a more complete picture. If I understand correct, the printer is to serve the print requests over a network. Well, that's pretty simple.
Oh, and by the way: Quote:
Okay. Well, first step is to physically go to the server, and install the printer on that box (software wise) and get it up and functional. Just as if it's a local printer. You'd install it using CUPS. On the server, open the webbrowser and go to 127.0.0.1:631. if all is well, CUPS will greet you with a webpage. Go tru the wizard. Make sure you share the printer, otherwise nobody will be able to see it. As soon as the printer (locally) produces a test page, you're about there. Next, it's on to the systems/PC's that need printing. At this point I must apologise, but on the windows boxes...I can not help. For this kind of thing, I'd try things on my network, but I do not run any windows anymore... Okay, well, the printer can be installed locally (and...you should get a GUI) entering Quote:
Go through the web based procedure and set things up as you did on the server, same driver, same settings, same all. Again, set up a new printer in the applet of the system, stick to the settings applied on the printer. This may seem strange, but I've discovered that you need to set this up twice. There should be a "discover" button. Try that. Seen the printer? Bingo! Try a test in the word proccessor. Did the printer do what it's supposed to do? Done! Thor |
Ohh ok
If i get you right, this is an graphic interface? on the server But i dont run a graphic interface! i hope you understand what i mean? i yust got a black screen where i run comands. I been always told to run in "console" mode ( if it is what it called), therefore i dont have this graphical mode installed. I have always runned remote to my server whit "webmin" or "putty" Jan Ivar |
|
All times are GMT -5. The time now is 02:24 AM. |