I am running Ubuntu 20.04 on Windows 10. Running uname -r returns: 5.4.72-microsoft-standard-WSL2. I am trying to run deja-dup, but am having no luck. When I try kicking it off from a Ubuntu terminal, I get the message:
Unable to init server: Could not connect: Connection refused
(org.gnome.DejaDup:29): Gtk-WARNING **: 14:01:49.822: cannot open display:
Searching for how to run it, it looks like most people kick it off using something called Dash (which I am not familiar with). I do have something installed at /usr/bin/dash which when I run it get the following message: dash: 0: Bad substitution
It was awhile ago since I installed Ubuntu, but I don't believe I did anything to it to run apps with a GUI.
Can someone help point me in the right direction?
Thank you very much.
Based on the comment to add notes on what I did to allow Ubuntu to run apps with a GUI, I just now did a search and tried the following: https://linuxconfig.org/ubuntu-20-04-gui-installation
I got to step 6 where it said to do a reboot, but that failed due to: System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
So, I tried starting it via startx. When doing that, I got an error: /usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server
I found that I could update the file Xwrapper.config in /etc/X11 from allowed_users=console to allowed_users=anybody.
Now when I run startx, I get: (EE) Fatal server error: (EE) no screens found(EE) (EE)
Any ideas?