Now that you've run Wine as root, your ~/.wine permissions are probably all messed up. Set the owner permissions back or remove that directory... For testing, I recommend that you use different wineprefixes: normally things get installed and run in ~/.wine but you can temporarily change that so you can test apps on a 'clean' or just completely different 'installation' of the wine prefix dir. Like so: WINEPREFIX=~/.testwine wine app.exe