Author Topic: Problems creating a new user on Peppermint 3  (Read 856 times)

0 Members and 1 Guest are viewing this topic.

Offline Keith

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Problems creating a new user on Peppermint 3
« on: July 22, 2018, 12:21:42 pm »
I have a Dell Latitude D505 that I want to give to a friend.  It's running Peppermint 3 very well and here's the uname  info:
Linux D505 3.2.0-126-generic #169-Ubuntu SMP Fri Mar 31 14:16:01 UTC 2017 i686 i686 i386 GNU/Linux

I kept my account as administrator and added my friend as a "custom user"; both with "enter password on login" status. 
When I rebooted, the machine went straight to my account without asking for my password.  Just to check that the new account was present I did ls -l home/olwen which showed no files but no error.  Trying ls -al home/olwen showed that the account was there (a few hidden files) but nothing else, although I was expecting the usual Desktop, Documents, etc.  Hmmm!

I would be grateful for advice.
Thanks

(p.s.  Why haven't tried the latest Peppermint?  We tried and failed:  https://linuxforums.org.uk)/index.php?topic=13317.msg108540#msg108540
« Last Edit: July 22, 2018, 12:53:15 pm by Keith »

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17820
  • Karma: 459
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Problems creating a new user on Peppermint 3
« Reply #1 on: July 23, 2018, 12:58:26 am »
What's the contents of
Code: [Select]
gedit /etc/lightdm/lightdm.conf
?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Problems creating a new user on Peppermint 3
« Reply #2 on: July 23, 2018, 09:49:09 am »
Here it is:

[SeatDefaults]
autologin-guest=false
autologin-user=keith
autologin-user-timeout=0
autologin-session=lightdm-autologin
greeter-session=lightdm-gtk-greeter
user-session=Peppermint

Interesting that it says autologin-session=lightdm-autologin.  I've just checked the user accounts again and they are definitely set to ask for passwords. 


Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17820
  • Karma: 459
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Problems creating a new user on Peppermint 3
« Reply #3 on: July 23, 2018, 03:22:10 pm »
if you run:
Code: [Select]
peppermint-logout
then select the "Logout" option.

Are you able to log into the new account from the login screen ?
(ie. Is this just a problem because the "keith" account is set to autologin ?)

If so, run:
Code: [Select]
sudo gedit /etc/lightdm/lightdm.conf
and change the line
Code: [Select]
autologin-user=keith
to
Code: [Select]
autologin-user=
SAVE the file, and reboot to test you now end up at the login screen
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Problems creating a new user on Peppermint 3
« Reply #4 on: July 23, 2018, 03:47:26 pm »
I was able to login as the other user after logging out then back in again, and changing the .conf file now shows the proper login screen.  Thank you.

An interesting effect is that I can't shut down the computer by clicking on "shutdown" at the login screen, so had to hard-stop it.  But I shall try a few times and report back.
By the way:  how do I add a user to the sudoer list? 


Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17820
  • Karma: 459
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Problems creating a new user on Peppermint 3
« Reply #5 on: July 23, 2018, 07:52:43 pm »
In "users and groups", make the account an "Administrator".
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Problems creating a new user on Peppermint 3
« Reply #6 on: July 23, 2018, 08:01:50 pm »
I did that to start with, Mark, but checking just now shows it has been reset.  Perhaps editing the *.conf file reset it. 
Anyway, everything seems to be working well - many thanks. 

As an aside, I still haven't been able to persuade the machine to accept a Peppermint 8 live usb,  so I'll have to give it to my friend until it dies a natural death.

My thanks again,
   Keith

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17820
  • Karma: 459
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Problems creating a new user on Peppermint 3
« Reply #7 on: July 23, 2018, 08:59:28 pm »
Peppermint 9 is out.

AFAIK the D505 should work with Peppermint 8 or 9 (32bit) .. though you might need to add the forcepae kernel boot parameter.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Problems creating a new user on Peppermint 3
« Reply #8 on: July 23, 2018, 09:03:07 pm »
Yeah, we tried that in https://linuxforums.org.uk/index.php?topic=13317.msg108540#msg108540 but the system didn't respond.  Just sat and looked at me. 

If you have any other ideas about that perhaps we should go back to that post and try again?   


 


SimplePortal 2.3.3 © 2008-2010, SimplePortal