You are not logged in.
Hi all,
Recently I have purchased VPS from transip.eu and installed and configured Arch Linux on it. I have successfully installed and configured web server, database server and mail server on it. Now I want to install X window and all its components on this VPS and use them from my local system. Please note that on my local system I also use Arch Linux (that is why I have installed Arch Linux on my VPS). I want that X should run on VPS and I should be able to access it from my local system so that I can make use of applications installed on VPS such as geany, firefox, libreoffice, chromium etc from local system. Is it possible? If yes then how?
Best Regards ...
Pankaj Kumar
Offline
Yes, you can run X over LAN/WAN with the help of SSH,
See the SSH wiki.
You may want to experiment with 'Compression yes' in your sshd_config.
Offline
I'd say that what you want to use is a vnc server. Personal experience tells me that running X over the internet, even with compression, is not something you'd want to do.
Using a vnc server has the advantage that you can leave things running and disconnect or things will keep running if your connection drops. You can run the connection to the vnc server over ssh with compression but for me using a vpn feels more snappy, but one step at a time, ssh is the easiest way to start.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Thanks for suggestions. For security reasons I would not make use of X11Forwarding option through SSH. In the meantime I would like to know if there is a method using which I can set my local system in such a way that when I login to my local system then a particular folder of my VPS should automatically be mounted on local system in a local folder? In this way I will be able to directly save files and folders on my VPS without making use of SSH or SFTP.
Last edited by ccpplinux (2016-11-08 19:18:01)
Offline
I don't see the security risk with a key based setup.
Using a vnc server has the advantage that you can leave things running and disconnect or things will keep running if your connection drops.
You can use tmux for that.
What am I thinking, you can't, not with tmux
Last edited by qinohe (2016-11-08 19:26:04)
Offline
In the meantime I would like to know if there is a method using which I can set my local system in such a way that when I login to my local system then a particular folder of my VPS should automatically be mounted on local system in a local folder? In this way I will be able to directly save files and folders on my VPS without making use of SSH or SFTP.
For that you would most probably need a vpn (for security) and probably you want to look into 'man systemd.mount' specifically the part about automount.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline