Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i have dell laptop.i am unable to login with my login name.then i pressed ctrl+alt+f1.
then i entered my login name and password .this is not in gui window.
then to get back my gui desktop i entered
sudo apt-get clean
i got error message as 'unable to resolve host yaswanth'
and i am unable to shutdown.
please help me to solve this problem...
Very unclear. Give info about distro. it is GNU/Linux Debian?? or what?. Please explain clearly. When you tried to logging in not using GUI, were you able to login or not?. Why you are trying to apt-get clean?. When you say "unable to shut down" tell how you are trying to shutdown e.g command?? pressing the power button??? Make it more clear.
Also show the contents of /etc/apt/sources.list if it is debian
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802
Rep:
Are you saying that you are unable to login through the graphical login, so you logged in through the first tty,... and there is something running that is preventing shutdown?
If that's the case,... login to the tty, as you did,... type top at the command line, see what's hogging system resources,... quit top with the Q key,... issue a killall -9 followed by the name of the process and again hit enter,... That ought to kill whatever was running and hogging resources. You may have to issue the command with sudo if the application or process is owned by root.
To shut down without using the graphical interface,... you can issue a sudo shutdown -h now command,... That should kill any running processes and turn the machine off...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.