RasPi.TV

Raspberry Pi, Electronics & Making
  • Home
  • Site Map
  • Shop
  • Downloads
  • I²C
  • raspberry pi
  • Linux usage
  • Python prog.
  • Input & Output

Can’t type password – can’t login to Raspberry Pi

 Linux usage, raspberry pi  Add comments
Jul 082012
 

This one is a bit basic, but I think a new blog post is called for. At least three times now, I’ve seen queries on the Raspberry Pi forums from people who think they are unable to type their login password.

The reason for this is that in Linux, when you type in your login password, nothing comes up on the screen. All you have to do is type it and press <ENTER>. The keys you press are still being read by the computer, but nothing is being displayed (echoed) on the screen. In Windows and many other operating systems, you get XXXXX or ***** coming up (usually one for each character you type). But in Linux, this doesn’t happen. Don’t worry, as long as you type your password correctly you will log in. Type it carefully, press <ENTER> and you should be logged in. If you get it wrong, it will tell you. And even then you will get to try again  until you get it right.

It’ll work – you’ll see. :yes:

 Posted by alex at 9:40 am  Tagged with: can't login to raspberry pi, can't type password on raspberry pi, problem logging into raspberry pi, problem typing password on raspberry pi

  22 Responses to “Can’t type password – can’t login to Raspberry Pi”

  1. Len says:
    July 25, 2012 at 6:38 pm

    At least one other person on the pi forum has my problem. Using latest Raspbian image. I can’t login using pi and my chosen password. It doesn’t come back with password incorrect (which it does if I type rubbish in) it just goes away (black screen) has a think and comes back with a new login prompt. So it’s stuck in a loop. I can however login over the wifi to Putty (using same u/n & p/w) on my laptop and I can start VNC and get the standard pi screen. So I can probably fix it if I knew what to do!

    Reply
    • alex says:
      July 25, 2012 at 7:58 pm

      The more I think about this, the more it sounds like a bug to me.

      Reply
    • Len says:
      July 25, 2012 at 9:17 pm

      Found a reference to using ‘root’ as u/n, no p/w. This works but it would be nice to get back to normal ?:-)

      Reply
      • alex says:
        July 25, 2012 at 9:57 pm

        I wonder if it’s your password itself? Have you tried logging in via ssh and changing the password? Just for experiment’s sake I would choose a simple one with just letters. You can change it with sudo passwd pi then it should prompt you for new password twice. See if that works? I just wonder if for some reason, the RasPi doesn’t work well with your chosen password? If that works, you can try more complex/secure ones.

        Reply
        • alex says:
          July 25, 2012 at 11:00 pm

          Having seen your forum post, I’m now thinking it’s likely something to do with your VNC setup.

          Reply
  2. Mick says:
    January 15, 2013 at 9:36 pm

    Thanks for the password info. It also helps if you (as in my case) remeber there is a “p” in raspberry.

    Reply
    • alex says:
      January 16, 2013 at 8:20 am

      That one has caught a surprisingly large number of people out ;)

      Reply
  3. chris du plessis says:
    November 20, 2013 at 10:49 pm

    yes and then after video what is next ? i am stuck just there

    Reply
  4. chris du plessis says:
    November 20, 2013 at 10:51 pm

    startx … for goodness how long to get that word !!! thanks nice clip

    Reply
  5. docdoob says:
    February 5, 2014 at 11:12 am

    I have the same problem of not being able to login as pi locally, or as a new user, only as root. It seemed to happen after installing a VNC server (tightvncserver). If I login via VNC or ssh (also ssh -Y) there is no problem.

    I haven’t tried uninstalling tightvncserver.

    If it is a bug can I work around it?

    Reply
  6. DrWaste says:
    July 12, 2014 at 3:26 pm

    Does it ever happen that a Raspbian image is corrupt and default login doesn’t work ? I’ve got 2014-06-20-wheezy-raspbian.img and pi::raspberry doesn’t work.

    On my first trial I got caught because default keyboard layout is qwerty and mine is azerty but I checked I type properly using the login line to see if “raspberry” is typed properly and it’s OK but I still get a login incorrect every time I try. I’ve tried dozens and dozens of times to no avail. I’m not exactly a noob, I’m a sysadmin and I manage hundreds of servers so login in is something I do daily, all the time, so I don’t think it’s a case of PEBKAC but in that case I’m confused, I don’t see what could be wrong…
    Any lights on the subject welcome.

    Cheers

    Reply
    • DrWaste says:
      July 13, 2014 at 7:40 am

      I re-downloaded the archive, expanded it and dd’ed it to the sdcard anew and hey presto, problem is no more… I noticed with the previous install that upon boot a whole series of errors concerning system accounts were displayed but I thought it was simply because they were disabled by default in Raspbian. Obviously that was not the case. Either the image I had was corrupt or dd failed to properly copy image to sdcard. Both possibilities are odd. Anyway, if you don’t get the initial raspi-config screen before initial login and default pi::raspberry login doesn’t work, then start from scratch again is my best recommendation.

      Reply
  7. Kevin Kerr says:
    November 29, 2014 at 11:00 pm

    I had the same problem but the cause was a cheapo Tesco keyboard where the 1 q a and z keys stopped working and so when I typed raspberry it was entered as rspberry and not displayed so it was incorrect. Just by luck in frustration I typed something rude with an a in it and noticed

    Reply
  8. Ray says:
    November 22, 2015 at 10:12 pm

    thx very helpful

    Reply
  9. Ron_C says:
    January 9, 2016 at 6:07 am

    Like docdoob, I experienced the same login symptom immediately after installing tightvncserver. I cannot log in locally, but can log in via ssh. Via ssh, I did a sudo apt-remove tightvncserver and rebooted, but still can’t log in locally. I’ve seen this same symptom on LUBUNTU that was installed in a very small hard drive partition. Once memory was low, the log-in symptom was the same as here. Freed up hard-drive space and the problem went away. Given this system has only 8 GB of drive space and 1 GB of ram, it’s likely loading tightvncserver may have pushed it over the memory edge? I’m inclined to start remove games and other miscellaneous apps. Anyone find a recovery method?

    Reply
    • alex says:
      January 9, 2016 at 9:37 am

      Have you expanded the partition to fill the available space on the SD card?

      Reply
      • Ron_C says:
        January 10, 2016 at 12:27 am

        I have not expanded the partition. But, low memory was not the issue. I did clean out a bunch of unused programs and freed up more than half of the available SD card. The problem was definitely caused by installing tightvncserver. Uninstalling tightvncserver doesn’t fix the login issue, btw. The symptom is the screen going black for a few seconds after log in and then back to the login screen. Using SSH from a remote machine, I logged into the the default user pi account. Then, I added a new user with sudo rights using adduser and visudo commands. At the local PI 2 machine, I was able to log into a graphical session using the new user name and password. However, the original PI user name login still didn’t work. Screen goes blank for a few seconds and then back to the log in screen. I’m confident the purist fix is to go in and manually modify an X configuration file for the PI user somewhere. There seems to be a conflict between tightvncserver :0 X session and the default :0 X session. I’m not sure where or what to change without more research. However, I did work around the login problem by adding a new user.

        Reply
        • alex says:
          January 10, 2016 at 8:28 am

          I had a similar issue with an unexpanded partition. Expanding it cleared the problem

          Reply
  10. vennila says:
    March 5, 2016 at 1:19 pm

    I forget my raspberry pi username?what can i do?

    Reply
  11. Benparker says:
    June 13, 2016 at 8:49 am

    hey there !
    I am unable to login to my Raspberry pi…………I am connecting Pi to my Lappy for first time……….
    In the PuTTy window I put Pi as username
    But I forgot the Password :(

    Is there anyway in which I can reset it to default password ?

    Reply
    • AndrewS says:
      June 14, 2016 at 4:55 am

      You could try http://www.raspberrypi-spy.co.uk/2014/08/how-to-reset-a-forgotten-raspberry-pi-password/

      Reply
  12. David Glaude says:
    April 29, 2018 at 8:28 am

    All the documentation failed for me… so here is what I did when the remount fail it:

    If the remount fail and complain about PARTUUID, maybe your fstab is wrong, so use this:

    mount -o remount,rw /dev/mmcblk0p2 /

    It worked for me.

    Reply

Leave a Reply to chris du plessis Cancel reply

  How to install Fuse ZX Spectrum emulator on raspberry pi   Install and use TightVNC remote desktop on raspberry pi – through windows, Android or IOS
RasPi.TV Site Map - click here

Follow Me

RSS Twitter YouTube

NEW Product

NEW RasPiO® Breadboard Pi Bridge New RasPiO Breadboard Pi Bridge

Pi Ports to Breadboard in Numerical Order

Products Designed by Alex

RasPiO® Night Light - great gift idea! New RasPiO Night Light RasPiO® Analog Zero - Read sensors, make a weather station, thermometer or voltmeter RasPiO Analog Zero

Recent Posts

  • Back up your Garmin activity data on a Raspberry Pi
  • How much power does the Pi4B use? Power Measurements
  • Raspberry Pi 4 launches with BCM2711 quad-core Cortex-A72 64-bit SoC running at 1.5GHz with dual 4K display capability
  • Development of a new product – RasPiO Breadboard Pi Bridge (BBPi)
  • Making a fairly simple bike dashcam with Raspberry Pi – “Live project blog” pt5 Road Testing

Recent Comments

  • Dirk Broer on New Raspberry Pi Family Photo including Pi3A+ plus Zero WH
  • Dirk Broer on New Raspberry Pi Family Photo including Pi3A+ plus Zero WH
  • Peter Capon on Ethernet On Pi Zero – How To Put An Ethernet Port On Your Pi
  • Giles on How to drive a 7 segment display directly on Raspberry Pi in Python
  • Ben on Review of ISO-TECH IDM99III Digital Multimeter
Tweets by @RasPiTV

Categories

  • Electronics
  • Gertboard
  • get_iplayer
  • Input and Output
  • interfacing
  • Laser Cutting
  • Linux usage
  • Mailbag
  • Making
  • Product Launch
  • python programming
  • raspberry pi
  • Raspberry Pi Camera
  • Raspberry Pi Hardware
  • raspberry pihardware
  • RasPiO Duino
  • Review
  • software installation
  • Uncategorized
  • Wemos

Blogroll

  • Makersify
  • Oxford Raspberry Jam
  • Raspberry Pi Foundation
  • Raspberry Pi Spy
  • Raspberry PiPod
  • Robotics and Add-ons
  • See – Adafruit Industries

Archives

  • July 2020
  • June 2019
  • March 2019
  • December 2018
  • July 2018
  • June 2018
  • May 2018
  • March 2018
  • February 2018
  • January 2018
  • November 2017
  • October 2017
  • September 2017
  • July 2017
  • June 2017
  • May 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012
  • August 2012
  • July 2012
  • June 2012

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Stats since June 2012

blog posts: 305
word count: 210,404
© 2012-19 RasPi.TV Site Map | Reviews Policy Suffusion theme by Sayontan Sinha