1

I was following this tutorial about setting up i3 on wsl

startxfce4 results in error: "xfce5-panel: Failed to connect to session manager: Failed to connect to the session manager: IO error occured opening connection"

enter image description here

1 Answers1

0

this error occurs with permission issues, try: sudo -u youruser startxfce4

  • This line helps me to be able to startxfce. However, the whole session will be run as root which should not be like that. So, we still need to have solution without sudo – nguyenhoai890 Jun 10 '21 at 04:57
  • 1
    Using sudo -u phill startxfce4, will start xfce4 session as user phill and not root, but xfce4 will be running with sudo privilege. if session open is root, then is because you have forgot to specify the username after "-u". – vhjbh nk Jun 11 '21 at 06:41