在AWS Ubuntu上安装和配置VNC并通过SSH隧道连接

在AWS Ubuntu上安装和配置tightvncserver, 并通过SSH隧道进行了远程桌面连接,记录下实验流程。 1,安装tightvncserver 由于已经安装了 xfce4 xfce4-goodies,所以此处不需要安装。以下指令安装tightvncserver。 sudo apt-get update sudo apt-get install tightvncserver 2,设置vncserver的密码,登录使用 如果没有设置用户名和密码,需要设置,我在先前的实验中已经设置了用记名ubuntu和密码,所以我这里不需要设置。设置用户名密码具体参见:连接AWS EC2 Linux instance Ubuntu远程桌面 设置vncserver的密码,这里密码最长为8个字符,设置密码的同时,系统对vncserver时行了相应的设置。 ncserver 3,设置VNC服务器 主要是设置VNC服务器启动时的执行的指令,VNC开始启动时,自动启动一个服务器例程,使用显示端口5901,VNC识别为 :1,同理新开的端口为:2,:3,依此类推,端口使用为5900+x。 要配置5901设置,首先停止在端口5901上运行的例程, vncserver -kill :1 配置 xstartup 文件,首先备份原始的文件以防以后用到, mv ~/.vnc/xstartup ~/.vnc/xstartup.bak 创建一个新的xstartup 文件, emacs ~/.vnc/xstartup 在文件中加入以下三行内容, #!/bin/bash xrdb $HOME/.Xresources startxfce4 & 第一行指令xrdb $HOME/.Xresources告诉GUI的框架读取服务器的.Xresources文件,.Xresources是用户改变图形桌面设置,例如终端颜色,字符指针风格和字体等。 第二行指令告诉服务器启动XFCE,能够通过相应图形界面软件管理服务器。 修改为可执行, sudo chmod +x ~/.vnc/xstartup 4,设置VNC服务文件 为了更好地控制VNC服务器,将其配置成Ubuntu的VCN服务,更加方便地进行start,stop, […]

Nomachine AWS RHEL7 & Ubuntu Remote desktop connection

I have tried the Nomachine on both AWS RHEL7 and Ubuntu, it seems the results are not good. Noted down the procedure, 1, install the nomachine on RHEL7 Have downloaded “freenx-server-0.7.3.tar.gz”, “nomachine_5.1.26_1_x86_64.rpm” and “nomachine-enterprise-server-evaluation_5.1.26_2_x86_64.rpm”, the enterprise server version is with one month evaluation. All the three installation with similar result, below is the log, and […]

Teamviewer install on AWS RHEL7 and Ubuntu

Tried to install Teamviewer on AWS RHEL 7 and Ubuntu, with the fail result, note down the procedure, 1, download Teamviewer Linux version You can download the Teamviewer Linux version by this Link. For RHEL version (teamviewer_11.0.57095.i686.rpm) and Ubuntu version (downloaded both teamviewer_11.0.57095_i386.deb and teamviewer_11.0.57095_amd64.deb). 2, install Teamviewer Install the teamviewer on AWS RHEL 7 […]

AWS Ubuntu Oracle SQL Developer install and connect

SQL Developer is the GUI software to connect Oracle DB, installed on AWS Ubuntu and tested the connection to RDS. 1, Download the Oracle SQL Developer 4.1.3 through this Link. 2, Installing Java 8 on Ubuntu sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer java -version java version “1.8.0_91” Java(TM) SE Runtime Environment (build […]