laear.blogg.se

Teamviewer alternative for ubuntu headless
Teamviewer alternative for ubuntu headless





teamviewer alternative for ubuntu headless

This is the configuration we used for this tutorial. NOTE: You must change the USERNAME in the above config if you'll use the same VNC setup. # Clean any existing files in /tmp/.X11-unix environmentĮxecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'ĮxecStart=/usr/sbin/runuser -l USERNAME -c "/usr/bin/vncserver %i"ĮxecStop=/usr/sbin/runuser USERNAME -c '/usr/bin/vncserver -kill %i' Let's copy example config and edit it: # cp vi of config: TigerVNC - is a high-performance, platform-neutral implementation of VNC # yum install -y tigervnc-server x11vnc -reopen -forever -rfbauth ~/.vnc/passwd & 2) TigerVNC server

teamviewer alternative for ubuntu headless

After reboot just ssh again and do it again. That's all! Now you have access to your desktop. If it is ok, simply try to connect to it using vncviewer. You can check if servers started: # netstat -an | grep 5900 We are now ready to start server: # x11vnc -reopen -forever -rfbauth ~/.vncpasswd & Write password to /root/.vnc/passwd? /n y Then we will protect server with password: # x11vnc -storepasswd This command will install server and solve all dependencies: # yum -y install x11vnc You need to enable EPEL (Extra Packages for Enterprise Linux) repository. VNC stands for Virtual Network Computing) is a very useful network graphics protocol. X11vnc – simplest of these three methods to get remote access.

teamviewer alternative for ubuntu headless teamviewer alternative for ubuntu headless

# yum groupinstall 'GNOME Desktop Environment' 'X Window System' 1) VNC Before we start, you need to install desktop environment to your server. All commands will work on every CentOS server 5/6/7/8. You will need to login as the root user or user with the sudo privileges. Of course in this reference manual, I will tell you how to configure this securely, so only you can access your server.īefore we begin, you will need SSH access to your server and permissions to install the software. So you need to run a server-side app on your remote machine and after that, you will be able to connect to it from all over the world. All these apps work in client-server mode. In this tutorial, I will show you tools that enable you to access remote Desktop on machines running CentOS/RHEL.







Teamviewer alternative for ubuntu headless