Re: Circumventing keyboard problem on Lenovo R64
Hi Richard,
Am Donnerstag, 12. September 2024, 13:43:49 CEST schrieb Richard Owlett:
> I have a Lenovo R61 running 64 bit Buster.
> It has a keyboard failure - the "h" key is intermittent and my primary
> account is "Richard" ;/
>
> I have no problem logging in as root.
>
> Two primary questions:
> 1. is there someway that I can use a USB connected keyboard
> as workaround while root?
I am not sure, what you mean. If you connect an USB-keyboard into a notebook,
then both should work.
> 2. is there some way to switch from "root" to "Richard" without
> having to type to the pop-up that shows when using
> System->Logout... ?
>
You can login as Richard, then do "su -" and become root. After this, type
"CTRL + d" and you are Richard again.
In X (i.e. in konsole or term or any other terminal), started as normal user
Richard, you can type "su -p", then start any graphical programm you nee fro
this console. It will run with root rights.
After it just close the terminal or type in "CTRL + d" and you arte back to
Richard again.
This is handy, when you need only few applications as root. For eample, when
you need to edit a *.conf file as root and you might want edit with "kwrite"
for eample. So you need not to logoff and logon as root, just do as described
above: start terminal, su -p, start kwrite, CTL + d = finished.
Does this help?
> TIA
Best
Hans
Reply to: