User login change
#1
Hey, Is it possible to logout out as mobian and login as a different user? For example on boot?
I like create a user that has controll of ex. keepassxc but one other user can access it. Similiar to what
https://wiki.gentoo.org/wiki/Simple_sandbox does.
  Reply
#2
I think phosh.service acts as the display manager and does the autologin, so I think you'd need to disable phosh.service and install an alternative display manager like lightdm to let you pick the user to use.
  Reply
#3
Been trying using lightdm but cant get to the login screen to change user. After enabling lightdm and reboot only get black screen.
  Reply
#4
Following https://wiki.debian.org/DisplayManager I guess? I think the logs will be under /var/lib/lightdm/ and might give some hint as to what's failing.
  Reply
#5
I have created the user and installed lightdm, without problems. But it is not functional because you need a keyboard to be able to write the username and password.

does anyone know how to invoke the mobian on-screen keyboard for lightdm? with that it would work.

Sorry but I don't speak English, I use a translator.
  Reply
#6
(04-02-2022, 11:13 AM)onubatux Wrote: I have created the user and installed lightdm, without problems. But it is not functional because you need a keyboard to be able to write the username and password.

does anyone know how to invoke the mobian on-screen keyboard for lightdm? with that it would work.

Sorry but I don't speak English, I use a translator.

You need a mobile-friendly greeter, such as raatty's lightdm-mobile-greeter.
  Reply
#7
(04-02-2022, 11:13 AM)onubatux Wrote: I have created the user and installed lightdm, without problems. But it is not functional because you need a keyboard to be able to write the username and password.

does anyone know how to invoke the mobian on-screen keyboard for lightdm? with that it would work.

Sorry but I don't speak English, I use a translator.

How did you install it and configured it? When using the https://wiki.debian.org/LightDM instructions when rebooting I only get a blank screen.
  Reply
#8
(04-02-2022, 02:28 PM)usagi Wrote:
(04-02-2022, 11:13 AM)onubatux Wrote: I have created the user and installed lightdm, without problems. But it is not functional because you need a keyboard to be able to write the username and password.

does anyone know how to invoke the mobian on-screen keyboard for lightdm? with that it would work.

Sorry but I don't speak English, I use a translator.

How did you install it and configured it? When using the https://wiki.debian.org/LightDM instructions when rebooting I only get a blank screen.

use the command: sudo apt install lightdm It installed without problems, I restarted the phone and started with lightdm the same one from pc, but that is not functional you need one that invokes the on-screen keyboard
  Reply
#9
It looks like lightdm-mobile-greeter isn't packaged for mobian yet. Someone did manage to build it though:
https://forum.pine64.org/showthread.php?...1#pid91271

If you aren't wedded to mobian you could use PmOS instead - they have it packaged.
https://wiki.postmarketos.org/wiki/Confi...s_or_users
  Reply
#10
I got it using gdm3
First you register a new user from the console with the command: (change diego for your name)

sudo adduser diego

Install gdm3 this is the process
first update the repositories using:

sudo apt update

then we install gdm3

sudo apt install gdm3

It is not necessary to restart, and do not despair that it takes a little while for the gdm3 screen to appear, but it appears as you can see in the images above.

when you get the gdm3 screen you will see the two users:
the touch screen works normally. You select the new user (if not, it's not funny)

important in bottom gear select phosh environment

and to make the keyboard appear you drag from bottom to top.
and enjoy the new user.

=========================

I have found a small bug in the use of gdm3. When you start the phone, you barely have time to see the gdm3 screen.

The solution I have found right now is the following:
You enter with the default user, the first on your list. In my case it is mobian as you can see in the first photo that I have passed.

When you are with that user you go to a command console and use the following command:

sudo systemctl restart gdm3

and it is fixed until the next reboot of the phone.

You can exit and change users as many times as you want, gdm3 will only fail when starting the phone. but we already have a solution.

Enjoy whoever wants to use it.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Auto start application on Phosh login Zebulon Walton 8 5,099 10-14-2023, 06:29 AM
Last Post: alaraajavamma
Exclamation Impossible to login since the latest update anonymous 12 6,071 02-26-2023, 01:01 PM
Last Post: anonymous
  Change GUI from Phost to Gnome (or anything else) johnpine 0 1,076 05-27-2022, 06:52 AM
Last Post: johnpine
  How to do automatic login or shorten the login number amosbatto 0 1,246 12-08-2021, 09:29 PM
Last Post: amosbatto
  GDM3 Receiving call on login screen d-.-b 4 4,403 10-07-2021, 06:59 PM
Last Post: d-.-b
  Change default program for a file type 3x5co 1 2,064 09-01-2021, 05:26 PM
Last Post: Zebulon Walton
  Change locking of Ctrl modifier? vandys 1 2,065 05-08-2021, 02:46 AM
Last Post: MtnSk8
  Debian / mobian Pine64 - User Manual? Harry27 1 2,635 03-03-2021, 04:50 PM
Last Post: LibrePhoneUser
  How to change the minimum password length when changing from default passwords arturo2bodegas 3 5,186 07-18-2020, 01:51 PM
Last Post: arturo2bodegas
  power management change? pjsf 1 3,813 06-05-2020, 05:16 PM
Last Post: a-wai

Forum Jump:


Users browsing this thread: 1 Guest(s)