I’m having problem with my personal templateVM. I can’t open any apps on my templateVM (terminal, browser, file browser, etc.), However, I can access it thru xl console, but the problem is it doesn’t have any internet connection. I already try to change the connection to sys-net, and VPN but still doesn’t work. I also try to change the config in /etc/qubes-rpc/policy/qubes.Updateproxy and still didn’t work. I checked the netstat -nlptu from my template and it looks like it doesn’t have the 8082 proxy something.
I also tried update with http_proxy=http://127.0.0.1:8082 https_proxy=http://127.0.0.1:8082 sudo apt-get update and still did not work.
Maybe you can just create a new personal templateVM from a default Qubes OS template and delete this faulty one?
You can try to recover your personal templateVM as well, but you’ll need to check its log (for example using sudo journalctl in its terminal) for errors and then try to fix them.
Are you aware that you’re not supposed to either run apps or connect your templateVMs to the internet?
If I’m understanding correctly and you intended to use applications in the template, I recommend you to read through the basics of the Qubes OS templating system:
The gist is:
install software in the TemplateVM (no need to connect it to the internet for that, you’ll still be able to sudo apt install ... or sudo dnf install ...)
do not run the software in the TemplateVM
shutdown the TemplateVM
start an AppVM based on that template
run the software in that AppVM
If this is obvious to you, I misunderstood what you said and I’m sorry. If any of this doesn’t quite make sense, please don’t hesitate to ask, those are really the fundamentas and it matters to understand them right.
Is downloading a fresh template and using that an option? The Updates Proxy usually just works out of the box with no tinkering required. It sounds like you might have inadvertently broken the Updates Proxy while tinkering with this template.
actually, the templateVM’s OS kernel has a problem and its already addressed with the respective team. What I did is I update it and it automatically shutdown for no reason, when I restart it, I can’t open any apps.
Whenever I tweak something, I revert it back from its original state like nothing happened.