Accessing VPS linux hosting like RDP in Windows - linux

Sorry but I'm a newbie in Linux. I have a VPS hosting of CentOS 6. Can I access it like Remote Desktop on windows to see the GUI?

With a hosted Linux machine chances are that id doesn't even have "the GUI" (an X11 server and some GUI environment like KDE or Gnome) installed at all but only supports command line access via ssh.
If you really need GUI instead of command line access then the "classic" option would be VNC. There is a HowTo for this for CentOS at
http://wiki.centos.org/HowTos/VNC-Server
or at
http://www.howtoforge.com/vnc-server-installation-centos-6.5
for example ...

Related

Is it possible to execute sh files GUI application from linux remote server and view it on local machine?

I have a job that runs denodo platform on remote server. Sh files is a GUI application, and I have to run it to start denodo service. I can't access it in windows, is there a way to solve these problems?
Already running sh files on Putty Windows, but only return null.
If it's a linux GUI application, you should "export display" to view the server screen on your workstation.
Depending of your workstation linux distribution, it might be as easy as :
xhost +<IP_address_of_workstation>
./runMyApp.sh
As your workstation is running windows operating system, you have do further configuration :
https://superuser.com/questions/325630/how-can-i-export-display-from-a-linux-terminal-to-a-windows-pc
https://seanthegeek.net/234/graphical-linux-applications-bash-ubuntu-windows/
If your workstation is connected through SSH you need even more configuration as discussed here : https://unix.stackexchange.com/questions/12755/how-to-forward-x-over-ssh-to-run-graphics-applications-remotely
You can run GUI-Applications of remote linux host in a windows client via ssh (putty) with x-forwarding and an installed x-server (xming)
See this question:
https://superuser.com/questions/299158/how-to-make-putty-do-the-equivalent-of-ssh-x

remote command on windows from linux

I want to run windows command on windows 2003 server from RHEL machine.
I tried one way to do it using winexe and it is working as expected. However to do this one I have to keep 139 port open and apparently this is a very vulnerable port and is advised not to be kept open.
One other way I found was to use cygwin and open ssh packages but these are again not supported in windows 2003 server.
Can anyone please suggest me any other way leaving these 2 to connect linux and windows machine and run command on cmd.exe from linux terminal.
You can emulate the whole Windows on RHEL using the Wine software. So you won't need to connect anywhere.
Other option is to connect from RHEL to Windows 2003 Server via an SSH.
Installing of an OpenSSH server on Windows has a couple of quirks:
in Windows settings you have to allow your account to run services
in the sshd config file of the OpenSSH server you have to set the StrictModes option to no, so you can use the SSH authentication by public/private keys

Remote coding in linux from windows

I have a ubuntu machine in the same network with my windows laptop. I have a Pycharm Community Edition in my windows machine. I want to use the Pycharm in my windows machine to write Python Scripts which I want to run in Python interpreter present in Ubuntu machine. I am having difficulties installing Samba, as a linux newbie. I get the error that says samba.conf not present.Is there any other alternatives?
Don't bother with Samba. You can configure PyCharm to directly upload changed files to a remote server. I.e., when you save locally on your Windows workstation, it can automatically ftp/sftp the file to a pre-configured location on your remote server. See configuration instructions here:
https://www.jetbrains.com/pycharm/help/creating-a-remote-server-configuration.html
I used this when I set up my LAMP machine a few years ago:
https://www.howtoforge.com/ubuntu_debian_lamp_server

UNIX/LINUX localhost server in a windows machine

I'm using XAMPP for windows to build my website projects, but I need to create a website in a UNIX/LINUX based server, but since I'm using XAMPP it is a Windows based server.
Somebody knows how can I do that in a windows machine, without having to install Linux in my machine?
Thanks in advance!
Install VirtualBox and run a VM of your favorite linux distribution. My suggestion would be Debian or Ubuntu.

Can vmWare Server be installed in a X-less host?

I am planning to move my vmWare's Virtual Machines from a Windows host to a Linux host (Ubuntu). It is possible to run vmWare Server in a Linux host that does not have the graphical environment (does not have X)?
I just wonder how the graphical setup of Windows/Linux guest work in this case.
Thanks in advance for your time.
Victor Marquez
Just install it on Ubuntu Server and install it via apt-get. Here's a good walkthrough
http://users.piuha.net/martti/comp/ubuntu/en/server.html
I did this on my development server and connect to it using the graphical client on my Windows machine. I have no gui installed.
the X libraries are required during the compilation and installation of VMware Server on Linux.
virtualbox has some command line tools that you can use and I don't believe it requires an x installation. You should compare the features and make sure that's what you want though.

Resources