I can´t run retroarch by linux (Ubuntu 21.10

Try these

Put these into your terminal, without quotation marks:

“sudo apt purge retroarch”

“whereis retroarch.cfg”

Head to that folder for retroarch.cfg file, delete it.

“sudo apt install retroarch”

1 Like

so… I delete retroarch First? or I delete the cfg First and then I delete retroarch?

Purge, find and delete cfg file, install again. Probably will remove everything though

1 Like

Ok I gonna try thanks :slight_smile:

Yeah but probably will remove all, playlists too. Just saying. Try deleting cfg first. See if it helps.

Done and the same problem…

Look at home folder, isn’t a folder there named /.config/retroarch? See if cfg is there.

Or else probably “XDG_RUNTIME_DIR not set in the eviroment” is your problem. Which means it cannot access some things (probably your apt get update touched some other files too, like video driver).

1 Like

yeah and when I used the terminal , sudo retroarch appear that message

That is an environment variable that is set automatically when you log in. It tells any program you run where to find a user-specific directory in which it can store small temporary files.

1 Like

So , What I can do to fix that problem? :frowning:

If I had a working Linux mint I could try to find a working solution. Now I only have windows 10. Try this I hope it won’t break your system lol

mkdir -pv ~/.cache/xdgr

export XDG_RUNTIME_DIR=$PATH:~/.cache/xdgr

I don´t know rick xd I don´t want loose my pc hahaha

I am going to install Mint on a spare usb 3.0 32gb to check if it runs or not.

1 Like

the god of the gaming bless you

Installing on usb failed miserably (not booting even though i had done the same some months ago lol), persistence too (extremely slow), so i will install alongside Win10, either way i want to check some things in Linux.

Please provide the log as describe in the documentation. If you click on the GUI it won’t give us information to help you…

Open a terminal then copy & paste retroarch --menu --verbose >> retroarch.log 2>&1

Send us or copy the content of the file retroarch.log

Don’t launch RetroArch with sudo.

Thank you.

1 Like

“Segment Violation (`core’ generated)” that message appear

Once you exit RetroArch, a file called retroarch.log should be stored in your logs directory. So you have to check that.