Remote access to a linux machine machine?
I'm an experienced windows user, however new to linux.
Trying to host a linux machine in virtualbox that I can remotely connect to. Everything I have tried .. fails. I'm not sure why this is so hard? I have to be missing something obvious? I build a linux machine in Virtualbox. Try various website/youtube methods of enabling RDP (xrdp). I get blank/black screens every time. This is from ground up Linux Mint (Mate/xfce), Ubunutu, even Redhat ground up installs. Does it just not work? |
Welcome to LXQ. Is using VNC an option for you?
https://www.digitalocean.com/communi...n-ubuntu-18-04 |
This might be the cause of your XFCE desktop issue when trying to access via xrdp
http://catch22cats.blogspot.com/2018...untu-1804.html |
Assuming the VirtualBox host is Windows...
Are you trying to use the RDP remote display in VirtualBox, or running it on the Linux guest? What network settings have you used for Virtualbox? Is it using bridged networking? Have you disabled the Windows firewall? Are you by any chance running rdp on the Windows host, and it's using the same port as VirtualBox is trying to use, or the guest is trying to use? I find VNC is often easier to setup than remote desktop, BTW. |
You might need to change your host system firewall settings. On my system the firewall is ufw and typically there is a gui version available from the menus. To be safe, you will probably need to set in=deny and out=allow, then add rules to allow other hosts access on an individual basis. Hope that helps.
|
Quote:
The guest machine is the Linux Mint (currently) and the host is a windows machine. I want to remotely connect (not necessarily from the Windows host) from Windows to the linux machine. Is there a set of VNC configuration steps that are known to work on Mint? |
Quote:
And yes, you can have GUI based applications work as well. On the 'local' side of things, you need some sort of X windows system running that is capable of displaying the GUI based apps. When you connect via SSH, enable X forwarding (the Putty software can do this). The GUI program will run on the Linux system, but DISPLAY on your local system, just as if you were sitting at the console. |
To elaborate on bifferos post, VirtualBox has a built in xrdp server and you can use that as a remote desktop server. This allows you access without regards to the network type i.e. NAT or bridged etc. and there is also no guest configuration required. The VB rdp server runs on the host and uses the same port as Windows remote desktop i.e. 3389. The Windows remote desktop server and VB rdp server can not be used at the same time.
https://www.virtualbox.org/manual/ch07.html If you want to connect directly to the guest you need to make sure the guest's network adapter is configured as bridged or NAT but use port forwarding to allow access to the guest. In this case I also agree that VNC is is better then rdp. |
Quote:
But I want the whole desktop, not just an application running.. that doesn't help. I am required to work in Windows, but I want to do some work in linux (trying to start), and the first step is to get a remote desktop on my daily work desktop. I have a large monitor, and my plan is to have a remote session to the other windows servers for work, but local Linux session as well, so I can intermittently learn linux. |
Quote:
So I have at least one solution that works. I have several windows Guests also, all of which I'm capable of RDPing (I have the networking setup bridged, firewall open etc). In all my attempts to get VNC to work within the Linux guest, I was fairly sure it wasn't a network issue since I would get the VNC login, but I never saw a desktop, either seeing all grey, or all black screens after. |
Quote:
Sometime, on the list of things to do, after you're a little more comfortable, I'd second the suggestion to take a look at using SSH to connect. These two links might be of use then: I make that suggestion because, while most of the graphical desktops are noticeably superior to Vista10, the real power is in the shell. Some top advantages are:
Windows still doesn't have anything close ... yet ... and M$ has spent many years and lots of money disparraging "the command line". So there may be a prejudice to overcome first. However, there are great many powerful advantages. The above are just a sample. |
Quote:
Quote:
|
Quote:
https://kb.iu.edu/d/bdnt http://laptops.eng.uci.edu/software-...re-xming-putty With an SSH connection, Xming will let you launch the programs in the GNU/Linux VM and display them and interact with them on the Vista10 host. It can come in handy from time to time. However, I say again, the real power is in the shell. http://www.linuxcommand.org/tlcl.php/ |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 09:40 PM. |