You are not logged in.

#1 2023-07-12 03:38:03

0xh4rtz
Member
Registered: 2023-07-12
Posts: 3

Qtile does not start on my Arch linux (VM)

Hi guys I would like some guide with this problem that I just faced. JFYI I am beginner Arch user and I had in mind that in addition to learn how to install Arch linux, learn about how to install and setup my first tilling window manager as well. So, that said I followed all instructions and step from the documentation about how to use Qtile on Arch (I mean, I have already installed qtile package and create the config file
config.py under the following path ~/.config/qtile/). Nevertheless, when I tried to run Qtile using: qtile start. I got some errors like these following:

 
File: output.txt
qtile start
Traceback (most recent call last):
  File "/usr/bin/qtile", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.11/site-packages/libqtile/scripts/main.py", line 66, in main
    options.func(options)
  File "/usr/lib/python3.11/site-packages/libqtile/scripts/start.py", line 88, in start
    q = make_qtile(options)
        ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/libqtile/scripts/start.py", line 51, in make_qtile
    kore = libqtile.backend.get_core(options.backend)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/libqtile/backend/__init__.py", line 15, in get_core
    return importlib.import_module(f"libqtile.backend.{backend}.core").Core(*args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/libqtile/backend/x11/core.py", line 82, in __init__
    raise QtileError("No DISPLAY set")
libqtile.utils.QtileError: No DISPLAY set 

I have already tried to investigate that error on Google, but there is no a specific solution for this (apparently) and most of the case there has been any solution for this one. So, I would like the support for any Arch linux guru user that can be willing to give a hand to this noobie Arch user. Thank in advance.

Please let me know if you need more information to debug correctly this issue.

Offline

#2 2023-07-12 04:43:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Qtile does not start on my Arch linux (VM)

You can't just run `qtile start`, that starts an xorg WM without starting xorg. See https://wiki.archlinux.org/title/Xinit

Offline

#3 2023-07-13 00:44:31

0xh4rtz
Member
Registered: 2023-07-12
Posts: 3

Re: Qtile does not start on my Arch linux (VM)

Yup you are right, but in my defense, it was not included in the qtile documentation for arch linux hehe. Thanks a lot anyways for pointing it out. I will improve my search skills.

I have already installed X11 ( xorg and xorg-xinit packages). And also, I have modified the xinitrc file as indicates the documentation. Nevertheless, when I tried to run the startx command I got these new errors:
https://i.imgur.com/AmYahSo.png

Do you know by any chance what now this new issue is? I have been investigating it since yesterday without success seems to be that issue can be caused by multiple things, but as you already have the context of my case might be that you know something about this issue. FYI I just installed the xf86-video-vmware package (since my arch linux is running on VMware virtual machine) in addition I have installed the nvidia and nvidia-utils as my local PC uses a nvidia videocard. Thaks in advance.

Offline

#4 2023-07-13 01:49:03

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Qtile does not start on my Arch linux (VM)

I don't, but unfortunately, you seem to be in the wrong place. Blackarch is a different distro that is not supported here.

Offline

#5 2023-07-13 01:58:39

0xh4rtz
Member
Registered: 2023-07-12
Posts: 3

Re: Qtile does not start on my Arch linux (VM)

Oh no, sorry for that misunderstanding, the Linux distro that I have is Arch Linux no BlackArch, just I named my hostname as "BlackArch".

Offline

#6 2023-07-13 02:52:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,466
Website

Re: Qtile does not start on my Arch linux (VM)

Please post text as text, not as an image.  Also post your full ~/.xinitrc and the output of the following:

pacman -Qs ttf

Posting a link to your full pacman.log could also be useful.  Note that you (most likely) do not need the nvidia packages unless you have set up some sort of video passthrough: in a VM you have virtualized hardware (by default).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB