Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Traceback (most recent call last):
File "/usr/bin/arandr", line 42, in <module>
main()
File "/usr/lib/python3.9/site-packages/screenlayout/gui.py", line 344, in main
app = Application(
File "/usr/lib/python3.9/site-packages/screenlayout/gui.py", line 113, in __init__
self.window = window = Gtk.Window()
File "/usr/lib/python3.9/site-packages/gi/overrides/Gtk.py", line 519, in __init__
raise RuntimeError(
RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.
It is and is there to make things easier to set up with i3. There is something missing here. It could be any of several issues but with the current information it is almost impossible.
You didn’t verify the ISO and it is a corrupted image.
The USB stick you used is faulty.
You changed something in the default installation process.
That NVME has some left over data stuck on it and needs to be secure erased or DD’ed and start over.
I get this after running lightdm --test-mode --debug:
What is strange into my newbie-eyes is “acquired bus name org.freedesktop.displaymanager”. Should it really be that way?
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=4543
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: [Seat:*] contains unknown option logind-check-graphical
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
[+0.01s] DEBUG: Monitoring logind for seats
[+0.01s] DEBUG: New seat added from logind: seat0
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating user session
[+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.01s] DEBUG: Seat seat0: Creating display server of type x
[+0.01s] DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory)
[+0.01s] DEBUG: Using VT 7
[+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.01s] DEBUG: XServer 2: Logging to /var/log/lightdm/x-2.log
[+0.01s] DEBUG: XServer 2: Writing X server authority to /run/lightdm/root/:2
[+0.01s] DEBUG: XServer 2: Launching X Server
[+0.01s] DEBUG: Launching process 4549: /usr/bin/X :2 -seat seat0 -auth /run/lightdm/root/:2 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: XServer 2: Waiting for ready signal from X server :2
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?
This laptop is from 2015 or 2016. Nvidia website doesn’t list this M1000M-GPU any longer but according to this page it is Optimus compatible:
If I run xrandr still says “Can’t open display” if I run it. I thought everything that comes through display comes from xrandr, that is controlled by arandr in this case.
Maybe @keybreak can answer that. I’m not really up on Hybrid Graphics. I do run Nvidia and i have helped install a lot of Hybrid setups but things have seemed to change and stuff isn’t working as it was prior.
Well, as i’ve heard about this bug (it’s all over the place and pretty random, meaning active only for some GPUs and with displayport) basically you don’t have display output at all after boot…