So I'm working on setting up my new system: and now disaster hits home big time.
(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..?!
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.
turns out that I have to log off wireless to open applications. :o Then they open (!)
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
Hi,
On my XFCE desktop, with WiFi on, everything is ok
(https://imgur.com/GVfPwQu.png)
However, as it seems, based on your terminal output, you have to set the proper locales on your system
(process:6264): Gtk-WARNING **: 22:41:54.002: Locale not supported by C library.
Using the fallback 'C' locale.
Please post the output from
locale
IF there is the issue, maybe this can help you:
https://wiki.artixlinux.org/Main/Installation#Localization
Read the Section "Localization"
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
sudo locale-gen
I followed the steps on one machine and edited /etc/locale.gen.
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
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.
Here is my locale
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=
It is rather strange. Can you use another $HOME for a test?
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.
2a0a-a543-ebb4-0-2c14-9838-9259-88e6:[roberto]:~$
After unplugging the cable, I have the issue again.
What do you mean?
Creating another user?
With
With the previous version there is the hostname:
X220:[roberto]:~$
Roberto,
Did you properly set hostname?
For me after update to me version of nm has nothing changed
Put here please "cat /etc/hosts"
Hi alium,
I have properly set the hostname during the installation.
sudo nano /etc/hosts
# Host addresses
127.0.0.1 localhost
127.0.1.1 X220
Greetings
Roberto
sudo nano /etc/hostname
X220
127.0.1.1 X220 is not properly set up hostname
Read it again and set it properly
https://wiki.artixlinux.org/Main/Installation#Network_configuration
https://wiki.archlinux.org/index.php/Network_configuration#Local_hostname_resolution
Because you not properly sset hostname, did it networkmanager, because he have this feature.
" 127.0.1.1 X220.localdomain X220"
Should be right setting
Since I have the same problem on my T450S, I applied the settings to this machine.
This is what the files look like now:
sudo nano /etc/hostname
'T450S'
I have set the entry both with the quotation marks and without.
sudo nano /etc/hosts
# Host addresses
127.0.0.1 localhost
::1 localhost
127.0.1.1 T540S.localdomain T450S
getent hosts
127.0.0.1 localhost
127.0.0.1 localhost
127.0.1.1 T450S.localdomain T450S
Unfortunately without success :(
my settings:
[picasso alois]# cat /etc/hosts
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost
127.0.1.1 picasso.localdomain picasso
# End of file
have you file /etc/conf.d/hostname ? here can you give your hostname too (maybe OpenRC specific setting):
[picasso conf.d]# cat /etc/conf.d/hostname
# Set to the hostname of this machine
hostname='picasso'
[picasso etc]# cat /etc/hostname
picasso
Hi alium,
after I changed the entry in /etc/conf.d/hostname from "lcoalhost" to "T450S", the programs are now starting again :)
T450S:[roberto]:~$ cat /etc/conf.d/hostname
# Set to the hostname of this machine
hostname="T450S"
Unbelievable :o ???
Thanks a lot for your patience and your help :D
Greetings
Roberto
Hi,
I can confirm that the hostname setting (as shown in Roberto' s post above) has fixed the problems that I've been having for the last couple of days with two Artix installations on my main laptop.
This laptop has hybrid graphics and I'm having significant problems getting the Nvidia drivers to work properly in Artix. I run other distros and these "mostly" work.. most are defaulting to the Intel GPU even if the Nvidia driver is installed.
My test Artix install started playing up with identical problems as described in the earlier posts above. I initially thought that I had "just borked" the installation again... I then ran my main Artix installation, updated it, and hit exactly the same problem.
Several full reinstalls (from various ISOs) later I found this thread.. Many thanks!.. I thought that I was going bonkers!
A good way to learn.. ho hum!
Bodge99
which inits you used/installed? I'm thinking of adding the third file with hostname to the wiki (just in case)
Hi,
If it helps.. I use OpenRC.
Bodge99
but that helped ;) https://forum.artixlinux.org/index.php/topic,2300.msg15439.html#msg15439