Mario Olofo
2020-Mar-10 12:41 UTC
FBSD 12.1 - LightDM don't grab keyboard input & Xfce4 window decorator problem
Hello All, In the prccess of making the FreeBSD my main OS, I stumbled on an very uncommon problem: the LightDM don't accept any keys, and I can't even get out to the tty with ctrl+alt+F1... I build the drm-kmod from ports, installed Xorg, Xfce4 and LightDM and lightdm-gtk-greeter with pkg, and enabled it on rc.conf with lightdm_enable="YES". On boot, it don't work because the lightdm need to be on video group, so I added it to video groups and then the LightDM screen showed up, but only the mouse work. If I press a lot of keys and then use the mouse to restart the system, I can see some garbage input on the first terminal! I didn't create a custom X config, but tried to force a input conf to see if it was the problem but it appears that the config is not used at all when starting LightDM. I rebuild from source the LightDM, but the problem persists. When I use startx to go directly to Xfce4 works like a charm. Then comes the second but less important problem that I found, the topbar decorator of windows are not displaying correctly. The background img behind the title don't stretch to cover the full width. Anyone had this problem before? Thank you, Mario
Guido Falsi
2020-Mar-10 15:02 UTC
FBSD 12.1 - LightDM don't grab keyboard input & Xfce4 window decorator problem
On 10/03/20 13:41, Mario Olofo wrote:> Hello All, > In the prccess of making the FreeBSD my main OS, I stumbled on an very > uncommon problem: the LightDM don't accept any keys, and I can't even get > out to the tty with ctrl+alt+F1... > > I build the drm-kmod from ports, installed Xorg, Xfce4 and LightDM and > lightdm-gtk-greeter with pkg, and enabled it on rc.conf with > lightdm_enable="YES". > On boot, it don't work because the lightdm need to be on video group, so I > added it to video groups and then the LightDM screen showed up, but only > the mouse work. If I press a lot of keys and then use the mouse to restart > the system, I can see some garbage input on the first terminal! > I didn't create a custom X config, but tried to force a input conf to see > if it was the problem but it appears that the config is not used at all > when starting LightDM. I rebuild from source the LightDM, but the problem > persists. When I use startx to go directly to Xfce4 works like a charm. >I'm sorry I don't have much insight about this, but this one (and the following problem too) looks like a graphics hardware related problem. You should share some information about your system, which graphics adapter and chipset you are using and what driver setup.> Then comes the second but less important problem that I found, the topbar > decorator of windows are not displaying correctly. The background img > behind the title don't stretch to cover the full width. Anyone had this > problem before?There is a known problem with xfce 4.14 and window decorations on certain hardware chipsets: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240887 It has been recently reported that Xorg server 1.20.7 (available with the latest package set) fixes the issue. This update will reach quarterly packages at the start of April. If you're willing you could migrate your machine to latest packages and confirm if this fixes the issue for you. -- Guido Falsi <mad at madpilot.net>