Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: No programs open due some display issue (Read 1876 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

No programs open due some display issue

So I'm working on setting up my new system: and now disaster hits home big time.
Code: [Select]
(gimp:4506): Gtk-WARNING **: 22:11:54.884: Locale not supported by C library.
        Using the fallback 'C' locale.
No protocol specified
Cannot open display:

What has gone wrong here, because no programs wants to open..?!

Re: No programs open due some display issue

Reply #1
Code: [Select]
inkscape 

(process:6264): Gtk-WARNING **: 22:41:54.002: Locale not supported by C library.
        Using the fallback 'C' locale.
No protocol specified
Unable to init server: Could not connect: Connection refused
ConcreteInkscapeApplication<T>::create_window: Should not be called!

Nothing in X starts. Can execute terminal apps tho. But not x-apps from the terminal.

Re: No programs open due some display issue

Reply #2
turns out that I have to log off wireless to open applications. :o  Then they open (!)

Re: No programs open due some display issue

Reply #3
I have exactly the same problem  :o

After the last system update, no program can be started.
The problem exists on both a KDE machine and an xfce machine.
The KDE machine at least still starts up to the desktop, the xfce machine only has a blinking cursor.

Does anyone have your idea which update can be the culprit?

Thanks in advance.

Greetings
Roberto

Re: No programs open due some display issue

Reply #4
Hi,

On my XFCE desktop, with WiFi on, everything is ok



However, as it seems, based on your terminal output, you have to set the proper locales on your system

Code: [Select]
(process:6264): Gtk-WARNING **: 22:41:54.002: Locale not supported by C library.
        Using the fallback 'C' locale.


Re: No programs open due some display issue

Reply #6
I have just found out who the culprit is.

I use networkmanager and there was an update of this package.
After downgrade from version 1.30.0-1 to the previous version 1.28.1dev+16+gdaad4e2fee-1 everything works fine again.

I hope this information helps others.

greets
Roberto

Re: No programs open due some display issue

Reply #7
I have just found out who the culprit is.

I use networkmanager and there was an update of this package.
After downgrade from version 1.30.0-1 to the previous version 1.28.1dev+16+gdaad4e2fee-1 everything works fine again.

I hope this information helps others.

greets
Roberto
I also use NetworkManager 1.30.0-1, w/o such issues.

Btw, keeping old releases, is not a good practice.

In any case, fix your locales, because this may breaks other things in the future.

So edit your /etc/locale.gen and uncomment your locales, and after saving the file, execute
Code: [Select]
sudo locale-gen

 

Re: No programs open due some display issue

Reply #8
I followed the steps on one machine and edited /etc/locale.gen.
Code: [Select]
X220:[roberto]:~$ sudo nano /etc/locale.gen
[sudo] Passwort für roberto:
.
.
.
.

# Locales enabled by Calamares
en_US.UTF-8 UTF-8
de_DE.UTF-8 UTF-8

Then I ran sudo locale-gen
Code: [Select]
X220:[roberto]:~$ sudo locale-gen
Generating locales...
  en_US.UTF-8... done
  de_DE.UTF-8... done
Generation complete.
After that I removed the entry networkmanager from the line IgnorePKG in /etc/pacman.conf and I installed the version 1.30.0-1.

Unfortunately, after a reboot, the programs still do not start.

Re: No programs open due some display issue

Reply #9
Here is my locale
Code: [Select]
X220:[roberto]:~$ locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=


Re: No programs open due some display issue

Reply #11
I found out something else.

When I connect my computer with the LAN cable and then boot, I can start the programs.
However, when I open the terminal, it doesn't just show my user, as it usually has been, but also a combination of numbers and letters.
Code: [Select]
2a0a-a543-ebb4-0-2c14-9838-9259-88e6:[roberto]:~$

After unplugging the cable, I have the issue again.


Re: No programs open due some display issue

Reply #13
With
I found out something else.

When I connect my computer with the LAN cable and then boot, I can start the programs.
However, when I open the terminal, it doesn't just show my user, as it usually has been, but also a combination of numbers and letters.
Code: [Select]
2a0a-a543-ebb4-0-2c14-9838-9259-88e6:[roberto]:~$

After unplugging the cable, I have the issue again.
With the previous version there is the hostname:
Code: [Select]
X220:[roberto]:~$

Re: No programs open due some display issue

Reply #14
Roberto,
Did you properly set hostname?
For me after update to me version of nm has nothing changed

Put here please "cat /etc/hosts"