You are not logged in.
Hi guys, I am running Arch Linux with GNOME on my laptop. I was trying to configure my battery settings ( /etc/UPower/UPower.conf) following the instructions (https://wiki.archlinux.org/index.php/GN … E_Sessions). However, I get the following error:
No protocol specified
Unable to init server: Could not connect: Connection refused
(gedit:2030): Gtk-WARNING **: cannot open display: :0
I found this thread (https://bbs.archlinux.org/viewtopic.php?id=218908), followed some advices there but still couldn't solve the issue. For instance, one advice is to use gsku instead of gedit. I did follow this, no success.
Any suggestions?
Last edited by thanosfrag (2018-01-16 14:36:02)
Offline
gedit admin:///etc/UPower/UPower.confOffline
thanks loqs. Your suggestion works.
I just used 'nano' (sudo nano /etc/UPower/UPower.conf) instead of 'gedit', and it does work very well.
Before marking this thread as solved, does anyone know why gedit results in 'GTK warnings'?
Offline