Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Installing a Desktop Environment, Display Manager (Read 6660 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

[SOLVED] Installing a Desktop Environment, Display Manager

I am trying to install LXQt and LightDM, similar to the wiki instructions

These were installed ok. I have an Nvidia hardware but use linux kernel rather than linux-lts, so I went with nvidia rather than nvidia-lts.
Code: [Select]
pacman -S xorg --ignore xorg-server-xdmx
pacman -S nvidia
pacman -S lxqt

but when it comes to the Diplay Manager, I don't know what to do. I cannot install displaymanager-openrc because I user runit. Should I then proceed just with lightdm or maybe lightdm-runit?
Code: [Select]
pacman -S lightdm-runit

The Arch wiki mentions that with lightdm I should also use a greeter, of which I would like to try the lightdm-webkit-theme-litarvan

So how should I proceedafter installing lxqt? How are all these DEs, DMs and greeters configured to work together?

Re: Installing a Destktop Environment, Display Manager

Reply #1
Install your custom greeter and set the greeter-session variable in /etc/lightdm/lightdm.conf
Code: [Select]
greeter-session=lightdm-gtk-greeter

 

Re: Installing a Destktop Environment, Display Manager

Reply #2
Ok, I installed lightdm-runit and also installed lightdm-webkit-theme-litarvan

I edited the lightdm.conf to use lightdm-webkit-theme-litarvan as greeter session.

I also told runit about the lightdm service:
Code: [Select]
ln -s /etc/runit/sv/lightdm /run/runit/service/

What now? I am still in the shell console. I tried a reboot, but except that Artix now uses a much wider shell font, nothing has changed.


Re: Installing a Destktop Environment, Display Manager

Reply #4
I have no xinitrc in /etc/X11/xnit, so I could not copy it to ~. I created ~/.xinitrc with this content
Code: [Select]
exec lxqt-session

When I try to execute lxqt-session, I get this error:
Code: [Select]
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted

Is this because I have not installed Qt? I did not install Qt explicitly, because I thought that if lxqt needs any qt components, it would install them as dependencies.

Re: Installing a Destktop Environment, Display Manager

Reply #5
maybe missing libxcb?

Re: Installing a Destktop Environment, Display Manager

Reply #6
libxcb is already installed. I reinstalled it, just to make sure. I know I could probably just reinstall the system with the lxdm-runit ISO, but I found it appealing to install only the stuff I really need, so I went with the base package.

Re: Installing a Destktop Environment, Display Manager

Reply #7
you can better use
Quote
exec dbus-launch lxqt-session

can you start now your lxqt session?


maybe /var/log/X.org.log can us help

Re: Installing a Destktop Environment, Display Manager

Reply #8
ok, I have changed the ~./.xinitrc but I still get the same error

Code: [Select]
exec dbus-launch lxqt-session

And I see that there I have no xorg log:
Code: [Select]
# ls -lA /var/log
total 224
drwx------ 2 root root     4096 Nov 14 10:42 audit
-rw------- 1 root utmp      768 Apr 19 18:48 btmp
-rw-r--r-- 1 root root    60185 Apr 21 05:01 dmesg.log
drwx--x--x 2 root lightdm  4096 Apr 21 05:14 lightdm
drwxr-xr-x 2 root root     4096 Nov 13 21:01 old
-rw-r--r-- 1 root root    62383 Apr 20 12:45 pacman.log
-rw------- 1 root root    64064 Apr 21 05:02 tallylog
-rw-rw-r-- 1 root utmp    59520 Apr 21 05:02 wtmp

Can't find it anywhere else either:
Code: [Select]
# find / -iname "*\.log"
/var/log/dmesg.log
/var/log/lightdm/lightdm.log
/var/log/pacman.log

But I have installed xorg as it was in the wiki. Btw, do we still need to ignore xmdx?
Code: [Select]
pacman -S xorg --ignore xorg-server-xdmx

Re: Installing a Destktop Environment, Display Manager

Reply #9
Ok, so try start xserver manually from terminal
Quote
startx
. Xserver will probably not starting due missing configuration, but  create Xorg.0.log.

If we will can start X server, we will start lightdm too.

Re: Installing a Destktop Environment, Display Manager

Reply #10
Aha. We're closing in on the root cause.

Code: [Select]
startx
-bash: startx: command not found

Re: Installing a Destktop Environment, Display Manager

Reply #11
you missing xorg-server ? :-)

Quote
pacman -S xorg-server

Re: Installing a Destktop Environment, Display Manager

Reply #12
Well, apparently, it's already installed

Code: [Select]
# pacman -S xorg-server
...
Total Installed Size: 3.50 MiB
Net Upgrade Size: 0.00 MiB

I reinstalled it, just in case, but startx is still not found.

Re: Installing a Destktop Environment, Display Manager

Reply #13
ohh, of course, startx contains
Quote
xorg-xinit
.sorry

my installed xorg packages:
Quote
xorg-bdftopcf
xorg-fonts-alias
xorg-fonts-encodings
xorg-fonts-misc
xorg-font-utils
xorg-font-util
xorg-mkfontscale
xorgproto
xorg-server-common
xorg-server
xorg-setxkbmap
xorg-xauth
xorg-xhost
xorg-xinit
xorg-xkbcomp
xorg-xkill
xorg-xmessage
xorg-xmodmap
xorg-xprop
xorg-xrandr
xorg-xrdb
xorg-xsetroot
xorg-xset

plus drivers:
Quote
xf86-input-libinput
xf86-video-amdgpu

Re: Installing a Destktop Environment, Display Manager

Reply #14
For what it's wort, here's my xorg packages

Code: [Select]
# pacman -Qs xorg
local/xf86-input-libinput 0.29.0-2 (xorg-drivers)
    Generic input driver for the X.Org server based on libinput
local/xf86-video-vesa 2.4.0-2 (xorg-drivers xorg)
    X.org vesa video driver
local/xorg-bdftopcf 1.1-1 (xorg xorg-apps)
    Convert X font from Bitmap Distribution Format to Portable Compiled Format
local/xorg-docs 1.7.1-2 (xorg)
    X.org documentations
local/xorg-font-util 1.3.2-1 (xorg-fonts xorg)
    X.Org font utilities
local/xorg-font-utils 7.6-5
    Transitional package depending on xorg font utilities
local/xorg-fonts-100dpi 1.0.3-4 (xorg)
    X.org 100dpi fonts
local/xorg-fonts-75dpi 1.0.3-4 (xorg)
    X.org 75dpi fonts
local/xorg-fonts-alias 1.0.3-2
    X.org font alias files
local/xorg-fonts-encodings 1.0.5-1 (xorg-fonts xorg)
    X.org font encoding files
local/xorg-iceauth 1.0.8-1 (xorg-apps xorg)
    ICE authority file utility
local/xorg-luit 1.1.1-3 (xorg xorg-apps)
    Filter that can be run between an arbitrary application and a UTF-8 terminal emulator
local/xorg-mkfontscale 1.2.1-2 (xorg-apps xorg)
    Create an index of scalable font files for X
local/xorg-server 1.20.8-1 (xorg)
    Xorg X server
local/xorg-server-common 1.20.8-1 (xorg)
    Xorg server common files
local/xorg-server-devel 1.20.8-1 (xorg)
    Development files for the X.Org X server
local/xorg-server-xephyr 1.20.8-1 (xorg)
    A nested X server that runs as an X application
local/xorg-server-xnest 1.20.8-1 (xorg)
    A nested X server that runs as an X application
local/xorg-server-xvfb 1.20.8-1 (xorg)
    Virtual framebuffer X server
local/xorg-server-xwayland 1.20.8-1 (xorg)
    run X clients under wayland
local/xorg-sessreg 1.1.2-1 (xorg-apps xorg)
    Register X sessions in system utmp/utmpx databases
local/xorg-setxkbmap 1.3.2-1 (xorg-apps xorg)
    Set the keyboard using the X Keyboard Extension
local/xorg-smproxy 1.0.6-2 (xorg-apps xorg)
    Allows X applications that do not support X11R6 session management to participate in an X11R6 session
local/xorg-util-macros 1.19.2-1
    X.Org Autotools macros
local/xorg-x11perf 1.6.1-1 (xorg-apps xorg)
    Simple X server performance benchmarker
local/xorg-xauth 1.1-1 (xorg-apps xorg)
    X.Org authorization settings program
local/xorg-xbacklight 1.2.3-1 (xorg-apps xorg)
    RandR-based backlight control application
local/xorg-xcmsdb 1.0.5-2 (xorg-apps xorg)
    Device Color Characterization utility for X Color Management System
local/xorg-xcursorgen 1.0.7-1 (xorg-apps xorg)
    Create an X cursor file from PNG images
local/xorg-xdpyinfo 1.3.2-3 (xorg-apps xorg)
    Display information utility for X
local/xorg-xdriinfo 1.0.6-1 (xorg-apps xorg)
    Query configuration information of DRI drivers
local/xorg-xev 1.2.3-1 (xorg-apps xorg)
    Print contents of X events
local/xorg-xgamma 1.0.6-2 (xorg-apps xorg)
    Alter a monitor's gamma correction
local/xorg-xhost 1.0.8-1 (xorg-apps xorg)
    Server access control program for X
local/xorg-xinput 1.6.3-1 (xorg-apps xorg)
    Small commandline tool to configure devices
local/xorg-xkbcomp 1.4.3-1 (xorg-apps xorg)
    X Keyboard description compiler
local/xorg-xkbevd 1.1.4-2 (xorg-apps xorg)
    XKB event daemon
local/xorg-xkbutils 1.0.4-3 (xorg-apps xorg)
    XKB utility demos
local/xorg-xkill 1.0.5-1 (xorg-apps xorg)
    Kill a client by its X resource
local/xorg-xlsatoms 1.1.3-1 (xorg-apps xorg)
    List interned atoms defined on server
local/xorg-xlsclients 1.1.4-1 (xorg-apps xorg)
    List client applications running on a display
local/xorg-xmodmap 1.0.10-1 (xorg-apps xorg)
    Utility for modifying keymaps and button mappings
local/xorg-xpr 1.0.5-1 (xorg-apps xorg)
    Print an X window dump from xwd
local/xorg-xprop 1.2.4-1 (xorg-apps xorg)
    Property displayer for X
local/xorg-xrandr 1.5.1-1 (xorg-apps xorg)
    Primitive command line interface to RandR extension
local/xorg-xrdb 1.2.0-1 (xorg-apps xorg)
    X server resource database utility
local/xorg-xrefresh 1.0.6-1 (xorg-apps xorg)
    Refresh all or part of an X screen
local/xorg-xset 1.2.4-1 (xorg-apps xorg)
    User preference utility for X
local/xorg-xsetroot 1.1.2-1 (xorg-apps xorg)
    Classic X utility to set your root window background to a given pattern or color
local/xorg-xvinfo 1.1.4-1 (xorg-apps xorg)
    Prints out the capabilities of any video adaptors associated with the display that are accessible through the X-Video extension
local/xorg-xwd 1.0.7-1 (xorg-apps xorg)
    X Window System image dumping utility
local/xorg-xwininfo 1.1.5-1 (xorg-apps xorg)
    Command-line utility to print information about windows on an X server
local/xorg-xwud 1.0.5-1 (xorg-apps xorg)
    X Window System image undumping utility
local/xorgproto 2019.2-2
    combined X.Org X11 Protocol headers

I have installed xorg-xinit
Code: [Select]
...
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

it created /var/log/Xorg.0.log
Spoiler (click to show/hide)