An unofficial Debian Installer for Pinebook Pro
(02-25-2020, 04:56 AM)FeMike Wrote: After the initial set up I wanted to create a root account so it is like my factory Debian. In a terminal I created it by using ($ passwd root) gave it a password and confirmed that it worked by switching accounts in terminal with ($ su root). When I log out of the DE then relogin and this time select different user it won't accept my password for root but it works while in terminal. Did I set this up incorrectly? Also I noticed that when in terminal as normal user I have to click the x in the top right corner to close terminal but while using root in terminal as soon as my mouse hovers over the x to close, it automatically logs out of DE causing me to sign back in. I'm still noobish but that doesn't seem right. Does this happen to anyone else?

If your graphical login is via GDM, then there are GDM policies with PAM restrictions that deliberately block a root login to full X/Wayland sessions. This is normal, and good - it discourages the *nix "worst practice" of general user operations by root.

If you must have a root desktop - and they do sometimes have utility - there are 2 things to do on Debian 10:
1 — Edit (as root/sudo) /etc/gdm3/daemon.conf. In the section for security add the stanza:

Code:
[security]
AllowRoot=true

2 — Edit (as root/sudo) /etc/pam.d/gdm-password”. Comment out the line containing “auth required pam_succeed_if.so user != root quiet_success”:

Code:
# auth required pam_succeed_if.so user != root quiet_successSave the file and exit.


This is more or less the same for Ubuntu and other Debian derivatives. Probably also Manjaro, etc. as I can't see that their different packagers would much deviate for PAM policies, etc.
— Jeremiah Cornelius
"Be the first person not to do some­thing, that no one has thought of not doing before’’
— Brian Eno, "Oblique Strategies"


Messages In This Thread
RE: An unofficial Debian Installer for Pinebook Pro - by Jeremiah Cornelius - 03-02-2020, 12:57 PM
First boot - by JaredT66 - 05-19-2020, 09:49 AM
RE: First boot - by carletes - 05-19-2020, 01:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Boot Order in Pinebook Pro food 11 4,862 03-28-2025, 10:08 AM
Last Post: DrYak
  Upgrading Armbian from v24.2.1 gnome, breaks pinebook pro Sb2024 0 495 11-10-2024, 02:50 PM
Last Post: Sb2024
  Pinebook pro won't boot after bootloader installation jwensouls 4 2,076 08-21-2024, 04:17 AM
Last Post: KC9UDX
  Official Debian support moonwalkers 64 74,104 07-08-2024, 01:40 PM
Last Post: Humid Stylus
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 753 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 4,295 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 6,411 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 4,094 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 4,665 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 116,826 12-08-2023, 11:25 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 4 Guest(s)