TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Virtual Linux Remote Desktop

28 pointsby wheresvic1almost 6 years ago

7 comments

amanzialmost 6 years ago
I do this often but a little less complicated than what is proposed here.<p>* Start with an Ubuntu Server base<p>* Install tasksel: sudo apt install tasksel<p>* Install the Xubuntu core desktop: sudo tasksel install xubuntu-core<p>* Install XRDP: sudo apt install xrdp<p>Then two small changes to make XRDP work:<p>* sed -i &#x27;s&#x2F;allowed_users=console&#x2F;allowed_users=anybody&#x2F;g&#x27; &#x2F;etc&#x2F;X11&#x2F;Xwrapper.config<p>* echo &quot;startxfce4&quot; &gt; ~&#x2F;.Xclients<p>Give the machine a reboot and you&#x27;re good to go. You can log in with an RDP client and continue configuring as you see fit.
评论 #20354435 未加载
viraptoralmost 6 years ago
&gt; systemctl disable unattended-upgrades<p>That&#x27;s a bad advice and it really has no place in this article. Please leave your automatic update in place.
microwavecameraalmost 6 years ago
Cool guide but I&#x27;d change one thing:<p><pre><code> echo mynewuser:mynewpassword | sudo chpasswd </code></pre> If you set the password using echo like this it will log the plaintext password in the current user&#x27;s .bash_history file.
评论 #20348572 未加载
equaluniquealmost 6 years ago
These types of setups have their uses! I have tried to achieve similar setups in the past using a Fedora VM running VNC server and a Chromebook running VNC client. One pain point that you might not expect is how the client handles the Crtl, Alt, and Windows key modifiers. Browser-based clients especially will not pass these through, and thust interfacing with the remote system is usually not as convenient as many newcomers expect.
number6almost 6 years ago
Maybe I am missing something, but why doesn&#x27;t he just do an xforward via ssh -x?
评论 #20357416 未加载
couchandalmost 6 years ago
I appreciate the general sentiment in having a reproducible work environment. But I must ask if the complexity of running and tunneling X is needed -- what desktop software are you running in this environment?
dekhnalmost 6 years ago
personally I found xrdp server w&#x2F; RDP client works great.
评论 #20349649 未加载