LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   raspberry pi 4 with touchscreen: how to show a keyboard at first login? (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/raspberry-pi-4-with-touchscreen-how-to-show-a-keyboard-at-first-login-4175706526/)

floppy_stuttgart 01-17-2022 11:16 AM

raspberry pi 4 with touchscreen: how to show a keyboard at first login?
 
According this post, I installed a keyboard on the 7 inch touchscreen
https://pimylifeup.com/raspberry-pi-...#comment-79558
Works.

Now, for having the keyboard at login, I included (according
https://raspberrypi.stackexchange.co...hen-logging-in )
in
Code:

/etc/lightdm/lightdm-gtk-greeter.conf
the command to start the virtual keyboard during login:

Code:

keyboard=matchbox-keyboard --focus &
but no keyboard appear.
Any hint/suggestion what should be done better?

rokytnji 01-17-2022 01:38 PM

On Icewm I would have

Code:

prog keyboard=matchbox-keyboard --focus &
and flux box would have

Code:

[exec] keyboard=matchbox-keyboard --focus &
Probably won't help in your case but I figured I'd throw it out there.

rokytnji 01-17-2022 01:40 PM

Code:

which keyboard
I'd also check the full path with the command

dburke8088 01-18-2022 07:17 AM

onboard
 
install onboard, add to launch app.

floppy_stuttgart 01-18-2022 01:03 PM

I tried several things:
- onboard activated with xdm (instead of lightdm)
- onboard in lightdm
whatever.. the first login screen dont show any button/icon to activate any virtual keyboard.
It ok for me for now: I will go into the login with my bluetooth keyboard then start to use the keyboard on the screen after the first login. It means only somebody with the predefined bluetooth keyboard will be able to log in and to use the touchscreen. But fo far, I am the only one using that touchscreen on the raspberry pi4 = why should I use a mechanical keyboard only in the first login phase.
It would have been 100% good, a mechanical keyboard free (blootooth or usb) use of the touchscreen from boot till shutdown would have been possible.

However, any solution is welcome (not a nogo situation for me; I can live with it).

gdm3 https://raspberrypi.stackexchange.co...ng-touchscreen show the keyboard; but after the login, the screen stay dark.
So, lets go back to lightdm.

rokytnji 01-18-2022 01:43 PM

Have you tried after keyboard installs

Code:

sudo apt-get install --reinstall xserver-xorg-input-all
Just another poke and hope.

floppy_stuttgart 01-19-2022 12:55 PM

Quote:

Originally Posted by rokytnji (Post 6319660)
Have you tried after keyboard installs

Code:

sudo apt-get install --reinstall xserver-xorg-input-all
Just another poke and hope.

Thanks. I have done it. No success.
In fact, its going black because the error is seen in dmesg "v3d fec00000.v3d: MMU error from client CLE (4) at 0x2921040, pte invalid"
Seems to be a widespreaded error.
So, lets go back to lightdm.

rokytnji 01-19-2022 02:20 PM

Quote:

So, lets go back to lightdm.
Good Luck

Found this also

Quote:

When you boot up Ubuntu desktop, the boot procedure ends with launch of a display manager (or login manager) with Greeter interface, where you type in your login info. By default, Ubuntu desktop uses LightDM with Unity Greeter interface. Without a hardware keyboard, you cannot enter username and password at the login screen.

To be able to launch a virtual keyboard at the login screen, install GTK+ Greeter, which comes with on-screen keyboard support.
From

https://www.xmodulo.com/onscreen-vir...ard-linux.html

floppy_stuttgart 01-20-2022 03:11 AM

Haha. Well done.

My findings:

- the GTK+ Greeter from the indicated link above was installed on my pi4

Quote:

sudo nano /etc/lightdm/lightdm-gtk-greeter.conf
Quote:

..
[greeter]
keyboard=onboard
keyboard-position=0 70%;100% 30%
..
- by reading the link above "click on a human symbol icon on the top right corner. You will see On Screen Keyboard menu option as follows."
then, yes, the on-board screen was already there, hidden behind the human symbol icon (in lxde).

Remark: lxde works; not raspberrypi-ui-mods https://raspberrytips.com/upgrade-ra...te-to-desktop/

CLOSED. THANKS.


All times are GMT -5. The time now is 12:26 PM.