LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-16-2012, 09:38 PM   #1
yaswanthkv
LQ Newbie
 
Registered: Sep 2012
Posts: 2

Rep: Reputation: Disabled
unable to login and shutdown


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...
 
Old 09-16-2012, 09:53 PM   #2
KinnowGrower
Member
 
Registered: May 2008
Location: Toronto
Distribution: Centos && Debian
Posts: 347

Rep: Reputation: 34
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
 
Old 09-17-2012, 07:43 AM   #3
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
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: Reputation: 157Reputation: 157
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...
 
Old 09-17-2012, 12:21 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
try
Quote:
Ctrl+Alt+F7
or F8 to go back to Gui
or you can just shutdown when logged in console
Quote:
sudo shutdown -h now
Or root
Quote:
shutdown -h now

Last edited by EDDY1; 09-17-2012 at 12:24 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu/AD/KRB5/LDAP/NIS able to use domain user login with putty, unable in gui login Nitroglycerine Linux - Server 0 06-28-2012 04:17 AM
unable to login any user through the console but users can login in GUI p kumar Linux - Server 1 04-19-2012 06:09 AM
unable login via GUI but can login via Putty (command line) linuxandtsm Linux - Newbie 10 06-09-2011 02:08 PM
Unable to shutdown/reboot server, no shutdown process running dctw Linux - Server 5 03-31-2010 05:46 AM
unable to 'shutdown' from x... need to shutdown using 'halt' guitarnix Linux - Newbie 5 11-24-2003 01:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration