RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    1. Home
    2. Tags
    3. sudo
    Log in to post
    • All categories
    • Alturis

      pkexec root password?
      Help and Support • sudoers sudo chmod • • Alturis

      5
      0
      Votes
      5
      Posts
      167
      Views

      Alturis

      Ah cool I see it works with themes too. Ah well. ;)

    • johnblund

      Emulationstation run without sudo
      Help and Support • root sudo dietpi • • johnblund

      2
      0
      Votes
      2
      Posts
      177
      Views

      mitu

      EmulationStaton doesn't need sudo to run and never has.
      We don't support DietPi on the Pi, so I'm not sure you're using the RetroPie main repository or some fork that supports DietPi.

    • wavking

      How do I open a terminal window?
      Help and Support • sudo terminal window • • wavking

      3
      0
      Votes
      3
      Posts
      2389
      Views

      IanDaemon

      If by "Arcade Mode" you mean EmulationStation then:
      Pressing F4 will exit EmulationStation and drop you to the Terminal. Or you could use the ES main menu by pressing "Start" and selecting "Quit" and then "Quit EmulationStation".

      If you bought a custom premade image then I have no idea what software you're using and only the original seller can help you,

    • polygaryd

      Dunelegacy in retropie 4.7.1 needs sudo to run?
      Help and Support • dunelegacy xinit ports sudo • • polygaryd

      8
      0
      Votes
      8
      Posts
      516
      Views

      polygaryd

      @polygaryd
      so to run this from emulationstation @mitu said to add XINIT: /opt/retropie/ports/dunelegacy/dunelegacy in the emulators.cfg file in /opt/retropie/configs/ports/dunelegacy folder and retropie's run command will handle xinit. So I removed xserver-xorg-legacy package and tested what he told me to do. It does in fact work, no need for sudo before the xinit command with his suggestion.

      As a side note he actually told me to do this for glhexen2 which needs xinit but couldnt find the game data files if you run "sudo xinit". I used what he told me and applied it to dunelegacy.

      There are two more issues, one I have overcome the other I need help with. The issue I overcame was that when you run dunelegacy it says it cant find the pak files to run the game and wants them either in the "data" folder or /home/pi/.configs/dunelegacy/data". So in the start script located in /home/pi/Retropie/roms/ports/dunelegacy.sh I added "cd /opt/retropie/ports/dunelegacy" before the runcommand line. This first puts you in the dunelegacy directory with the executable and the data folder it wants, then runs the runcommand to execute the dunelegacy executable. I wish I could have the data under /home/pi/RetroPie/roms/ports like every other game ran in emulationstation but I havent figured out how to do that yet if its even possible.

      The issue I need help with is I have no keyboard in dune legacy, but the mouse works. The game works fine otherwise. I cannot figure out how to get the keyboard working.

      Keyboard does work in glhexen2 using XINIT: string so it must be something wrong with dunelegacy??

      Any help on this would be great.

    • Spectreman

      Need to reset permisions all the time
      Help and Support • permission sudo video mode reset • • Spectreman

      8
      0
      Votes
      8
      Posts
      310
      Views

      Spectreman

      @BuZz

      Yes. It was that. Changed back the bluetooth connect mode to default and is solved. It was in background mode because my SNES30 joystick was temperamental about connecting with Retropie.

      I did an update from the the old Retropie version rather than a new install. And maybe because that the bug still present.

      Thanks a lot.

    • webodan

      RetroPie asking for sudo when I run RetroArch
      Help and Support • retropie mint 19.3 sudo • • webodan

      3
      0
      Votes
      3
      Posts
      111
      Views

      webodan

      @mitu oh, ok, i just fixed it by editing my sudoers file.

    • 77slevin

      Retropie asks for password every 1st game I start. Annoying when running in arcade cabinet w/o keyboard.
      Help and Support • retropie linux mint 19 sudo arcade cabinet • • 77slevin

      8
      0
      Votes
      8
      Posts
      777
      Views

      rael_gc

      As from time to time I still have the sudo password prompt hitting me back on a system where I can't change /etc/sudoers and this is one of the first Google results: sudo password will be requested if you changed the runcommand configuration to set the CPU governor to something that is not default. It'll request password during game launch and after the game ends (to restore previous value).

      So, solutions are, like described above, add entries to /etc/sudoers or change runcommand config to not touch CPU governor.

    • Dwarfboysim

      sudo apt autoremove - is it safe for Retropie?
      Help and Support • sudo apt autoremove retropie advice • • Dwarfboysim

      2
      0
      Votes
      2
      Posts
      196
      Views

      mitu

      @Dwarfboysim said in sudo apt autoremove - is it safe for Retropie?:

      Will I break anything? Is it recommended?

      No, it will not break anything.

    • madmodder123

      Running script from RetroPie menu as root?
      Help and Support • sudo retropiemenu script shell • • madmodder123

      3
      0
      Votes
      3
      Posts
      826
      Views

      madmodder123

      @mitu Seems a bit odd to launch a shell script for the sole purpose of launching another shell script, but it works. Thank you

    • fabio78

      Permission structure of filesystem destroyed
      Help and Support • filesystem permission sudo • • fabio78

      8
      0
      Votes
      8
      Posts
      1099
      Views

      ChuckyP

      @fabio78 glad it worked. It’s one of the first huge issues I ran into when I started to make more advanced changes.

    • Project_Gamer

      Sudo stopped working
      Help and Support • sudo configuration • • Project_Gamer

      2
      0
      Votes
      2
      Posts
      627
      Views

      mitu

      @project_gamer You messed up the permissions on the /etc/sudoers file. Boot the PI in safe mode and restore the permissions on the file - it should be owned by root and not by the pi user. You probably chown-ed the /etc folder to the pi user :(.

    • hayful59

      USB Audio, alsa-base.conf (file not found)
      Help and Support • usb audio sudo file not found alsa • • hayful59

      5
      0
      Votes
      5
      Posts
      3664
      Views

      hayful59

      Hi again,
      Sorry about that, after entering amixer -i the output is amixer: Mixer default error: No such file or directory and entering amixer -l just gave the above error when I thought you said amixer -1,

      And would you have any idea about how I would even read the boot/config.txt file

      Thanks

    • misterbung

      Lost access to sudo in RP 4.1, help!
      Help and Support • error sudo retropie • • misterbung

      5
      0
      Votes
      5
      Posts
      1508
      Views

      edmaul69

      @kormik home/pi is owned by pi not root