Permissions
-
Hi, ive got a Pi 3 and i want to rotate the screen 180 so ive looked online and i have to add this line in the config file display_rotate=2 180 degrees however i get permission denied! ive tried everything. how can i edit the config file?
thanks
mat -
Hello,
You have to use 'sudo' before nano or vi commande.
example : sudo vi /boot/config.txtIf you want use filezilla or WinSCP to modify config.txt file, you must be connected as root.
https://github.com/RetroPie/RetroPie-Setup/wiki/FAQ#why-cant-i-ssh-as-root-anymore -
If you're editing the file from the Raspbian desktop, Leafpad (or similar) will only open with standard permissions if you use the menu or desktop icon.
You can launch a text editor with super-user permissions from the command line:
sudo leafpad
optionally you can directly open the config.txt file in the editor with superuser rights with:
sudo leafpad /boot/config.txt
I'd always advise making a backup of config files before altering anything:
sudo cp /boot/config.txt /boot/config.txt.bak
-
so how do i boot into a command line? my pi just boots straight into emulationstation
-
press F4
or 'shutdown emulationstation' in the shutdown options. -
Awesome thanks. Ive got it all sorted and my screen is flipped, Love the raspberry Pi. Thanks for the help!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.