URL VNC Notes and RC's

--- VNC & RDPNotes and RC's ---

OEL 7 VNC Config

obe-vnc-install

configuring-vnc-server-on-linux

Oracle Support VNC

CentOSOne
VNC
/etc/init.d/stop-vnc
/etc/init.d/start-vnc

ps -ef |egrep vnc| egrep -v grep; netstat -tupan|grep 5901

XRDP
/etc/init.d/xrdp_control1.sh stop
/etc/init.d/xrdp_control1.sh start
/etc/init.d/xrdp_control1.sh status

/var/log/xrdp.log
ps -ef |egrep rdp| grep -v grep; netstat -tupan|grep 3389


/usr/bin/vncserver -SecurityTypes VncAuth :1


CentOSTwo
VNC 
ls -l /tmp/.X11-unix
rm -rf /tmp/.X11-unix
systemctl stop  vncserver@:1.service 
systemctl start  vncserver@:1.service 
systemctl status  vncserver@:1.service 

/usr/bin/vncserver_wrapper

ps -ef |egrep vnc| egrep -v grep; netstat -tupan|grep 5901


XRDP
systemctl  stop xrdp.service
systemctl  stop xrdp-sesman.service
systemctl  start xrdp-sesman.service
systemctl  start xrdp.service

tail -f /var/log/xrdp-sesman.log
tail -f /var/log/xrdp.log
ps -ef |egrep 'rdp|3389' | grep -v grep; netstat -tupan|grep 3389

GUACD ..
tail -f /usr/local/apps/apache-tomcat-guacamole/logs/catalina.out
taril -f /var/log/messages


MXROne
VNC
/etc/init.d/stopvnc.bash
/etc/init.d/startvnc.bash

/usr/bin/vncpasswd passwd
/root/.vnc/mxr:1.log
ps -ef |egrep vnc| grep -v grep; netstat -tupan|grep 5901


XRDP* 
systemctl stop  xrdp-sesman.service 
systemctl start  xrdp-sesman.service 
systemctl status  xrdp-sesman.service 

ps -ef |egrep rdp| grep -v grep; netstat -tupan|grep 3389


.------------.---------.
| RDP-CO1    |	-   |
| RDP-CO2    |	-   |
| RDP-MO     |	+   |
| RDP-WIN10  |	+   |
| SSH-CO1    |	+   |
| SSH-CO2    |	+   |
| SSH-MO     |	+   |
| VNC-CO1    |	+   |
| VNC-CO2    |	+   |
| VNC-MO     |	+   |
.------------.---------.


 netstat -tupan|grep 22   ### SSH
 netstat -tupan|grep 443  ### HTTPS
 netstat -tupan|grep 3306 ### MYSQL
 netstat -tupan|grep 3389 ### RDP
 netstat -tupan|grep 5901 ### VNC
 netstat -tupan|grep 4822 ### GUACD
 netstat -tupan|grep 8080 ### TOMCAT
 netstat -tupan|grep 8443 ### TOMCATS

<!-- 
### centostwo
### 128.226.31.101
-->
    <authorize username="centostwo"   
               password="1184f81c6c24b3ce7a0559dc64645daf"
               encoding="md5">
       <connection name="VNC Connection">
            <protocol>vnc</protocol>
            <param name="hostname">128.226.31.101</param>
            <param name="port">5901</param>
            <param name="password">C********A</param>
        </connection>

        <connection name="RDP Connection">
            <protocol>rdp</protocol>
                <param name="hostname">128.226.31.101</param>
                <param name="port">3389</param>
        </connection>

	<connection name="SSH Connection">
	    <protocol>ssh</protocol>
		<param name="hostname">128.226.31.101</param>
		<param name="port">22</param>
        </connection>
     </authorize>

<!-- 
### CENTOSONE
### 128.226.31.96 - centosone
-->
    <authorize username="centosone"    
               password="1184f81c6c24b3ce7a0559dc64645daf"
               encoding="md5">
       <connection name="VNC Connection">
            <protocol>vnc</protocol>
            <param name="hostname">128.226.31.96</param>
            <param name="port">5901</param>
            <param name="password">C*********1</param>
        </connection>

        <connection name="SSH Connection">
            <protocol>ssh</protocol>
                <param name="hostname">128.226.31.96</param>
                <param name="port">22</param>
        </connection>

        <connection name="RDP Connection">
            <protocol>rdp</protocol>
                <param name="hostname">128.226.31.96</param>
                <param name="port">3389</param>
        </connection>
    </authorize>


<!--
### 128.226.31.95 windt
-->
    <authorize username="windt"
               password="1184f81c6c24b3ce7a0559dc64645daf"
               encoding="md5">
        <connection name="RDP Connection">
            <protocol>rdp</protocol>
                <param name="hostname">128.226.31.95</param>
                <param name="port">3389</param>
                <param name="disable-audio">true</param>
                <param name="ignore-cert">true</param>
                <param name="security">any</param>
                <param name="domain">bgm</param>
                <param name="username">chouck</param>
                <param name="password">l********3</param>
                <!-- <param name="password">l@Hvv1f3</param> -->
                <!-- <param name="password">ea296169fb245a2d4a71ccee40b4dffd</param> -->
        </connection>
     </authorize>

<!--
### MXR
### 128.226.31.31 - mxr
-->
    <authorize username="mxr"
               password="1184f81c6c24b3ce7a0559dc64645daf"
               encoding="md5">
       <connection name="VNC Connection">
            <protocol>vnc</protocol>
            <param name="hostname">128.226.31.31</param>
            <param name="port">5901</param>
            <param name="username">chouck</param>
            <param name="password">C*********1</param>
        </connection>

        <connection name="SSH Connection">
            <protocol>ssh</protocol>
                <param name="hostname">128.226.31.31</param>
                <param name="port">22</param>
        </connection>
  
        <connection name="RDP Connection">
            <protocol>rdp</protocol>
                <param name="hostname">128.226.31.31</param>
                <param name="port">3389</param>
        </connection>
    </authorize>


</user-mapping>