N
N
Nikolay Baranenko2019-05-23 14:37:43
ubuntu
Nikolay Baranenko, 2019-05-23 14:37:43

How to solve the problem with an error when trying to run nautilus: cannot open display: :2?

Hello.
My Ubuntu 19.04
update arrived today, I installed it,
the first problem fell off the additional display, BUT after a while everything was cured, the guys wrote that a gnome bug surfaced.
The screen appeared super, everything else seemed to start, BUT the file browser in folders - Nautilus stopped running.
trying to check version

[email protected]:~# nautilus --version
GNOME nautilus 3.32.0
Ошибка сегментирования (стек памяти сброшен на диск)

error in system log
May 23 14:35:01 work01 dbus-daemon[1845]: [session uid=1000 pid=1845] Activating service name='org.gnome.Nautilus' requested by ':1.13' (uid=1000 pid=1976 comm="/usr/bin/gnome-shell " label="unconfined")
May 23 14:35:02 work01 dbus-daemon[1845]: [session uid=1000 pid=1845] Successfully activated service 'org.gnome.Nautilus'
May 23 14:35:02 work01 org.gnome.Nautilus[1845]: Unable to init server: Не удалось подключиться к: В соединении отказано
May 23 14:35:02 work01 nautilus[11461]: cannot open display: :2

How to solve the problem with an error when trying to run nautilus: cannot open display: :2?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
Johnny Gat, 2017-05-28
@renya555

For the "name" field, set the "UNIQUE" property and add an entry to the database with the query:INSERT IGNORE INTO

M
Michael, 2017-05-28
@mak_ufo

Several options:
1) Make the 'name' field unique. Also try to write down in a DB of each new user. If an error occurs, then return the information to the client that such a name already exists.
2) Store in a separate table just all the names. And with the help of it already check

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question