Ubuntu 18.04 abiword - Unable to init server: Could not connect: Connection refused

Artur Nawrot

I have a vps with LEMP provided by digitalocean and when I am attempting to convert any pdf file to doc file I always get this error:

Unable to init server: Could not connect: Connection refused

** (abiword:2048): WARNING **: 17:08:51.861: clutter failed 0, get a life.
Unable to init server: Could not connect: Connection refused
No DISPLAY: this may not be what you want.

I used this command:

abiword --to=doc file.pdf

And even when I type abiword alone I get the same error

Of course I don't have GUI on my vps, so maybe this is an issue?

mwfearnley

Abiword seems to need an X server to convert things, even without causing any obvious windows to appear.

You could try setting up a dummy X server, or maybe SSHing in from a client with a GUI.

On Linux you could try ssh -X, or on Windows, Xming/PuTTY has worked for me in similar cases, as long as you enable X11 forwarding (in Connection -> SSH -> X11).

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Odoo container : Database connection failure: could not connect to server: Connection refused (linking odoo with localhost postgres)

Telnet [Unable to connect to remote host: Connection refused]

Unable to connect to mysql server with go and docker - dial tcp 127.0.0.1:3306: connect: connection refused

"psql: could not connect to server: Connection refused" Error when connecting to remote database

PG::ConnectionBad - could not connect to server: Connection refused

Unable to connect to the server: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it

Unable to connect to tomcat running in Docker (Connection refused)

Heroku: PG::ConnectionBad: could not connect to server: Connection refused

Could not connect to Redis at 127.0.0.1:0: Connection refused (when using init script to shut down a redis server w/ unix socket)

postgresql - django.db.utils.OperationalError: could not connect to server: Connection refused

Could not connect to Redis at 127.0.0.1:6379: Connection refused

how to configure laravel with postgres using laradock? could not connect to server: Connection refused on port 5432

Could not connect to server: Connection refused (0x0000274D/10061) - PostgreSQL on remote server

Error 'Could not connect to TraCI server at localhost: 40335 [Errno 111] Connection refused'

docker build error: psql: could not connect to server: Connection refused

WSL - GEDIT Unable to init server: Could not connect: Connection refused

Could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432?

"psycopg2.OperationalError: could not connect to server: Connection refused" error when bootstrapping

PG::ConnectionBad: could not connect to server: Connection refused

pg_dump: [archiver (db)] connection to database "development" failed: could not connect to server: Connection refused

unable to start mysql - start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

Unable to connect to the remote server: No connection could be made because the target machine actively refused it

socket connection refused: telnet: Unable to connect to remote host: Connection refused

django postgres could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1)

could not connect to server: Connection refused Is the server running on host ... and accepting TCP/IP connections on port 5432?

django.db.utils.OperationalError: could not connect to server: Connection refused

Odoo 14 in Docker: Database connection failure: could not connect to server: Connection refused

rake aborted! PG::ConnectionBad: could not connect to server: Connection refused

unable to connect to server: connection failed: connection refused is the server running on that host accepting tcp/ip connections?