I am using Raspberry Pi 2
with Jessie
raspbian release. I ran into a problem when i was trying to make vncserver start at boot. I followed the instructions present in raspberry pi's website to start vncserver on boot. But after following the instructions specified, my raspberry pi's command line always stays in root mode.
root@raspberry pi:/home/pi#
I guess it was because of the command that's specified in those instructions which had - sudo su
command. How do i get pi
user back in the command line like this -
pi@raspberrypi~$
I tried with these instructions but they didn't help.
Update: I am using my mac to login into Pi and then start vncserver. Now,
- when i run command
whoami
in mac -> i getpi
as output. - when i run command
whoami
in pi console -> i getroot
as output. (I start vncserver in mac command line, then open vnc connection to work on pi console).
Any suggestions on what's happening?
Thanks.
root
as the output of whoami. – giri-sh Dec 27 '15 at 06:46