Cant log in to my admin account stuck on Guest session HELP

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
Jorge
Level 1
Level 1
Posts: 12
Joined: Sun Mar 18, 2018 10:00 pm

Cant log in to my admin account stuck on Guest session HELP

Post by Jorge » Sun Mar 18, 2018 10:10 pm

I recently changed drivers to play cs go on linux mint 18.3 sylvia after that i couldn't log in to my main profile account which is the admin account i think i changed to NVIDIA driver to the recommend one i want to change it back to the default driver but im stuck on the guest session and it says Running on software rendering mode. I cant even type the wifi password to use it or even have access to the Administration Driver manager. Please help.

Jorge
Level 1
Level 1
Posts: 12
Joined: Sun Mar 18, 2018 10:00 pm

Re: Cant log in to my admin account stuck on Guest session HELP

Post by Jorge » Sun Mar 18, 2018 10:26 pm

Please help :(

User avatar
WharfRat
Level 20
Level 20
Posts: 11137
Joined: Thu Apr 07, 2011 8:15 pm

Re: Cant log in to my admin account stuck on Guest session HELP

Post by WharfRat » Sun Mar 18, 2018 10:42 pm

Reboot the computer and select advanced options from the grub menu then recovery mode.

When the recovery mode menu appears choose drop to root shell.

In the root shell enter dpkg -l|grep nvidia

Check the results for any package name containing nvidia, except for nvidia-prime-applet, and purge them with apt purge package_name
Image ImageImage

Jorge
Level 1
Level 1
Posts: 12
Joined: Sun Mar 18, 2018 10:00 pm

Re: Cant log in to my admin account stuck on Guest session HELP

Post by Jorge » Sun Mar 18, 2018 11:13 pm

The first command didnt work it says unknown option -1 and 5 other line that says type dpkg for help and stuff

User avatar
WharfRat
Level 20
Level 20
Posts: 11137
Joined: Thu Apr 07, 2011 8:15 pm

Re: Cant log in to my admin account stuck on Guest session HELP

Post by WharfRat » Sun Mar 18, 2018 11:19 pm

The -l in dpkg -l is a lower case L
Image ImageImage

Jorge
Level 1
Level 1
Posts: 12
Joined: Sun Mar 18, 2018 10:00 pm

Re: Cant log in to my admin account stuck on Guest session HELP

Post by Jorge » Sun Mar 18, 2018 11:23 pm

Ok then the 4 nvida lines showed up how do i purge them and not prime applet??

Jorge
Level 1
Level 1
Posts: 12
Joined: Sun Mar 18, 2018 10:00 pm

Re: Cant log in to my admin account stuck on Guest session HELP

Post by Jorge » Sun Mar 18, 2018 11:41 pm

Ok i entered the first command and the nvidia packages showed up i typed in the second command to purge them and didnt work just an error i did "apt purge package_name"

User avatar
WharfRat
Level 20
Level 20
Posts: 11137
Joined: Thu Apr 07, 2011 8:15 pm

Re: Cant log in to my admin account stuck on Guest session HELP

Post by WharfRat » Sun Mar 18, 2018 11:43 pm

With apt purge package package package package

Replace package with the actual name of the package.
Image ImageImage

Jorge
Level 1
Level 1
Posts: 12
Joined: Sun Mar 18, 2018 10:00 pm

Re: Cant log in to my admin account stuck on Guest session HELP

Post by Jorge » Sun Mar 18, 2018 11:58 pm

Do you know the package name? Im having trouble sending a picture. I have four of them and the word nvidia colored in red idk how to exactly type the command

Jorge
Level 1
Level 1
Posts: 12
Joined: Sun Mar 18, 2018 10:00 pm

Re: Cant log in to my admin account stuck on Guest session HELP

Post by Jorge » Mon Mar 19, 2018 12:08 am

What will happen if i remove the nvdia prime applet with this command sudo apt-get remove --purge nvidia-* to purge everything with the name nvidia

User avatar
WharfRat
Level 20
Level 20
Posts: 11137
Joined: Thu Apr 07, 2011 8:15 pm

Re: Cant log in to my admin account stuck on Guest session HELP

Post by WharfRat » Mon Mar 19, 2018 12:16 am

Jorge wrote:
Mon Mar 19, 2018 12:08 am
What will happen if i remove the nvdia prime applet with this command sudo apt-get remove --purge nvidia-* to purge everything with the name nvidia
Then just apt-get purge nvidia*

Then apt install nvidia-prime-applet to reinstall it.
Image ImageImage

Jorge
Level 1
Level 1
Posts: 12
Joined: Sun Mar 18, 2018 10:00 pm

Re: Cant log in to my admin account stuck on Guest session HELP

Post by Jorge » Mon Mar 19, 2018 12:21 am

Not working says Reading package list...Error!
w:not using locking for read only lock file /var
E:couldnt create temporary file to work with
E:the package lists or status file could not be parsed or opened

User avatar
WharfRat
Level 20
Level 20
Posts: 11137
Joined: Thu Apr 07, 2011 8:15 pm

Re: Cant log in to my admin account stuck on Guest session HELP

Post by WharfRat » Mon Mar 19, 2018 12:37 am

Try mount -o remount,rw / first - it might be mounted read only :?
Image ImageImage

Jorge
Level 1
Level 1
Posts: 12
Joined: Sun Mar 18, 2018 10:00 pm

Re: Cant log in to my admin account stuck on Guest session HELP

Post by Jorge » Mon Mar 19, 2018 12:57 am

Ok uninstalled all of them tried to reinstall prime and says unable tp fetch some archives, maybe run apt-get update or try with --fix-missing? But i think it did reinstall it also says 1 newly installed. Need to get 30.3 kb of archives after this operation 60.4 kb of additional disk space will be used
Err:1 http://packages.linuxmint.com
Temporary failure resolving packages.linuxmint.com
E:failed to fetch http://packages.linuxmint.com/pool/main ... ime-applet_ temporary failure resolving

Jorge
Level 1
Level 1
Posts: 12
Joined: Sun Mar 18, 2018 10:00 pm

Re: Cant log in to my admin account stuck on Guest session HELP

Post by Jorge » Mon Mar 19, 2018 1:12 am

I couldnt reinstall the nvidia prime any other solutions?

Jorge
Level 1
Level 1
Posts: 12
Joined: Sun Mar 18, 2018 10:00 pm

Re: Cant log in to my admin account stuck on Guest session HELP

Post by Jorge » Mon Mar 19, 2018 2:46 am

well i deleted them and i still cant log in how do i change it back to its original source driver? any command to make a new user?? also i rather just uninstall and delete everything to start all over but i cant figure out how...

User avatar
WharfRat
Level 20
Level 20
Posts: 11137
Joined: Thu Apr 07, 2011 8:15 pm

Re: Cant log in to my admin account stuck on Guest session HELP

Post by WharfRat » Mon Mar 19, 2018 8:45 am

You can try to add a new user with adduser username, but the graphics driver is system wide.

Also it's difficult working in an environment where you can't copy/paste code and results so it might be better working booted to the live media.
Image ImageImage

Jorge
Level 1
Level 1
Posts: 12
Joined: Sun Mar 18, 2018 10:00 pm

Re: Cant log in to my admin account stuck on Guest session HELP

Post by Jorge » Tue Mar 20, 2018 9:33 pm

How do i send images?

User avatar
WharfRat
Level 20
Level 20
Posts: 11137
Joined: Thu Apr 07, 2011 8:15 pm

Re: Cant log in to my admin account stuck on Guest session HELP

Post by WharfRat » Wed Mar 21, 2018 9:27 am

Jorge wrote:
Tue Mar 20, 2018 9:33 pm
How do i send images?
You can use the attachments tab or use an image hosting site.
Image ImageImage

Post Reply

Return to “Newbie Questions”