RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Permissions

    Scheduled Pinned Locked Moved Help and Support
    6 Posts 4 Posters 3.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mat03111984
      last edited by mat03111984

      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

      1 Reply Last reply Reply Quote 0
      • H
        Hyell
        last edited by

        Hello,

        You have to use 'sudo' before nano or vi commande.
        example : sudo vi /boot/config.txt

        If 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

        1 Reply Last reply Reply Quote 0
        • R
          RetroResolution
          last edited by RetroResolution

          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

          If a post has helped you, please encourage the author by up-voting via the ^ icon located in the bottom-right corner.

          RetroResolution.com - Adventures in retro gaming on original hardware and via emulation with RetroPie on the Raspberry Pi.

          1 Reply Last reply Reply Quote 0
          • M
            mat03111984
            last edited by

            so how do i boot into a command line? my pi just boots straight into emulationstation

            1 Reply Last reply Reply Quote 0
            • dankcushionsD
              dankcushions Global Moderator
              last edited by

              press F4
              or 'shutdown emulationstation' in the shutdown options.

              1 Reply Last reply Reply Quote 0
              • M
                mat03111984
                last edited by

                Awesome thanks. Ive got it all sorted and my screen is flipped, Love the raspberry Pi. Thanks for the help!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                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.