@mitu, also a BIG thanks. I recently installed two systems with Xubuntu 22.04.1 and RetroPie. Same issue as described. First time it took me about an hour to locate this post which solved the problem. The last system I had this posting ready and after the first error message (exactly stating the parameters I needed) I fixed it.