[SOLVED] User unlock on terminal

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
User avatar
Kibiras
Level 1
Level 1
Posts: 28
Joined: Sun Jan 20, 2019 11:21 am

[SOLVED] User unlock on terminal

Post by Kibiras » Thu Feb 28, 2019 1:55 pm

Hello,

Is that possible to make this: when LinuxMint start, there is a screen where you need to write password of your user. Is there any way to see terminal after LinuxMint start and enter password in there? And then it will unlock user and show desktop.
Last edited by Kibiras on Wed Mar 06, 2019 2:44 am, edited 1 time in total.
Image

ajgringo619
Level 6
Level 6
Posts: 1212
Joined: Thu Mar 01, 2018 8:36 pm
Location: San Diego, California

Re: User unlock on terminal

Post by ajgringo619 » Thu Feb 28, 2019 2:03 pm

What exactly are you trying to accomplish?
Mint 19.1 Cinnamon
kernel 5.0.0-20-generic
AMD FX-8350 Eight-Core w/16 GB RAM
Nvidia GeForce 960 w/2GB RAM (430.26)
Image

User avatar
Kibiras
Level 1
Level 1
Posts: 28
Joined: Sun Jan 20, 2019 11:21 am

Re: User unlock on terminal

Post by Kibiras » Fri Mar 01, 2019 9:26 am

ajgringo619 wrote:
Thu Feb 28, 2019 2:03 pm
What exactly are you trying to accomplish?
Unlock PC with Terminal, but not with interface.
Image

User avatar
Moem
Level 18
Level 18
Posts: 8888
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: User unlock on terminal

Post by Moem » Fri Mar 01, 2019 9:33 am

What's the end goal here?
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

User avatar
Flemur
Level 16
Level 16
Posts: 6929
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: User unlock on terminal

Post by Flemur » Fri Mar 01, 2019 10:32 am

IGNORE ALL THAT - adding "single" to boot line just gives a weird result now.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 19.1 Xfce/fluxbox
Manjaro openbox/fluxbox

User avatar
Kibiras
Level 1
Level 1
Posts: 28
Joined: Sun Jan 20, 2019 11:21 am

Re: User unlock on terminal

Post by Kibiras » Mon Mar 04, 2019 2:15 am

Moem wrote:
Fri Mar 01, 2019 9:33 am
What's the end goal here?
As I told before: Unlock PC with Terminal, but not with interface.
Image

User avatar
Moem
Level 18
Level 18
Posts: 8888
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: User unlock on terminal

Post by Moem » Mon Mar 04, 2019 3:42 am

And to what purpose do you want to unlock using the terminal?
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

User avatar
Kibiras
Level 1
Level 1
Posts: 28
Joined: Sun Jan 20, 2019 11:21 am

Re: User unlock on terminal

Post by Kibiras » Mon Mar 04, 2019 7:09 am

Moem wrote:
Mon Mar 04, 2019 3:42 am
And to what purpose do you want to unlock using the terminal?
Sorry, but is this question related to my question in any way? I'm just asking for a help :).
Image

User avatar
Moem
Level 18
Level 18
Posts: 8888
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: User unlock on terminal

Post by Moem » Mon Mar 04, 2019 7:48 am

Well, keep it to yourself then, if it's a secret. People might be more inclined to help, or more able to, if they knew your end goal.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

aditya02
Level 3
Level 3
Posts: 101
Joined: Sun Feb 03, 2019 12:54 am

Re: User unlock on terminal

Post by aditya02 » Mon Mar 04, 2019 9:59 am

Kibiras wrote:
Fri Mar 01, 2019 9:26 am
ajgringo619 wrote:
Thu Feb 28, 2019 2:03 pm
What exactly are you trying to accomplish?
Unlock PC with Terminal, but not with interface.
What's the difference? In both ways you just type the password and press enter to unlock your pc :roll:

User avatar
Kibiras
Level 1
Level 1
Posts: 28
Joined: Sun Jan 20, 2019 11:21 am

Re: User unlock on terminal

Post by Kibiras » Tue Mar 05, 2019 1:24 am

I understand it. But if no-one can help me - that's okay, but asking about "why you need this" in every replay won't help me also :).
Image

aditya02
Level 3
Level 3
Posts: 101
Joined: Sun Feb 03, 2019 12:54 am

Re: User unlock on terminal

Post by aditya02 » Tue Mar 05, 2019 1:46 am

Kibiras wrote:
Tue Mar 05, 2019 1:24 am
I understand it. But if no-one can help me - that's okay, but asking about "why you need this" in every replay won't help me also :).
Sorry kibiras if you don't like it. Yes i don't know how to accomplish it but was curious to know why you want to do this. 0nce again, I apologize. :!:

User avatar
catweazel
Level 18
Level 18
Posts: 8881
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: User unlock on terminal

Post by catweazel » Tue Mar 05, 2019 2:35 am

Kibiras wrote:
Tue Mar 05, 2019 1:24 am
I understand it. But if no-one can help me - that's okay, but asking about "why you need this" in every replay won't help me also :).
The people asking why you want to do it do not understand what you are asking for so, to them, the quickest way to find out is to ask why. Personally, the why question is totally out of bounds; a completely unwarranted, and very nosy question. It's akin to asking someone when was the last time they kissed their partner.

It is possible to start linux in a terminal, log in via the terminal then start an X session, yes. I believe the command you want to issue after logging in to a terminal is startx, but don't quote me on that.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

hcentaur13
Level 4
Level 4
Posts: 463
Joined: Sat May 18, 2013 5:13 pm

Re: User unlock on terminal

Post by hcentaur13 » Tue Mar 05, 2019 4:02 am

The traditional way is simply to gogin to terminal and have no GUI available. That is even the WAY DOS was working. There was no mouse available.

Ctrl + Alt + F{1-6] gives you always a fullscreen session. With Ctrl + Alt + F7 you comes back to the graphical shell. Unxexperiented users love the graphical shell and don like commanline.Mint is defined to be userfriendly for exwindows users. They need a graphical shell. The login procedure fires X up after login is completed.

gm10
Level 17
Level 17
Posts: 7442
Joined: Thu Jun 21, 2018 5:11 pm

Re: User unlock on terminal

Post by gm10 » Tue Mar 05, 2019 4:54 am

catweazel wrote:
Tue Mar 05, 2019 2:35 am
The people asking why you want to do it do not understand what you are asking for so, to them, the quickest way to find out is to ask why. Personally, the why question is totally out of bounds; a completely unwarranted, and very nosy question. It's akin to asking someone when was the last time they kissed their partner.
Well, I have to admit, reading his request the first question coming to my mind is also "what are they trying to accomplish?". Because depending on knowing that my answer would be vastly different. For example, they might just want a different looking login screen, so I could suggest that. Or I could take them at face value and suggest to remove lightdm from /etc/init.d and to create a ~/.bash_login script to load the desktop as soon as they log in on a virtual terminal.

But why speculate when asking them what the problem they're trying to solve is is so much simpler?

So I don't think the question is unwarranted. I've had to save many newbies from themselves by ignoring the question they actually asked and finding out their real problem instead. Sure, I could tell someone how to remove / when they ask but I don't think I should.

User avatar
Kibiras
Level 1
Level 1
Posts: 28
Joined: Sun Jan 20, 2019 11:21 am

Re: User unlock on terminal

Post by Kibiras » Wed Mar 06, 2019 2:43 am

Okay, guys, thanks for answers
Image

User avatar
lsemmens
Level 8
Level 8
Posts: 2160
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: [SOLVED] User unlock on terminal

Post by lsemmens » Wed Mar 06, 2019 3:20 am

I think the "why" question was in hopes of determining what you hope to achieve, in that way a more targetted answer can be given. It's fine saying I want to travel to London, but, without more information, the means to that end will be elusive. A person living in China will need a completely different answer to someone living in Leeds.
Kernel: 4.15.0-46-generic x86_64 bits
Desktop: Cinnamon 3.8.9
Distro: Linux Mint 19 Tara

Laptop HP-ProBook-470-G2 8Gb RAM SSD
Server AMD Phenom 9650 - GEForce 9400GT 6Gb RAM
+ three other Mint machines
Out of my mind - please leave a message

Post Reply

Return to “Newbie Questions”