Configuring a printer on a server without a GUI

poma pomidorabelisima at gmail.com
Wed Nov 12 03:57:39 UTC 2014


On 12.11.2014 00:01, Robert Moskowitz wrote:
> 
> On 11/11/2014 12:15 AM, poma wrote:
>> On 11.11.2014 04:15, Robert Moskowitz wrote:
>>> I have a server here that has no GUI installed.
>>>
>>> No gnome, xfce, or any other.  And I want to install a printer.  It is
>>> an HP8610 and I have the url for it.  I strangely thought that
>>> system-config-printer would work, but that also requires more than just
>>> a text window as I get:
>>>
>>> # system-config-printer
>>> Unable to init server: Could not connect: Connection refused
>>> Unable to init server: Could not connect: Connection refused
>>> Unable to init server: Could not connect: Connection refused
>>>
>>> (system-config-printer.py:15388): Gtk-WARNING **: cannot open display:
>>>
>>>
>>> Oh, yes, no monitor at ALL.  Only a serial console or SSH terminal.
>>>
>>>
>> $ ssh server -l user
>> user at server's password:
>> X11 forwarding request failed on channel 0
>> Last login: ...
>>   
>> $ system-config-printer
>> Unable to init server: Could not connect: Connection refused
>> Unable to init server: Could not connect: Connection refused
>> Unable to init server: Could not connect: Connection refused
> 
> .....
> 
>> ** (system-config-printer.py:2227): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-YjDPTOKg4c: Connection refused
>> GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
>>
>>
>>
> So you did not get any further than I.  Seems like printer support is 
> requiring a desktop to configure?  That is sad.
> 

:)
On the contrary, output shows it works, just needed is 'xorg-x11-xauth' i.e. 'xauth' and  re-log.

man 1 xauth




More information about the users mailing list