Ask Your Question

Revision history [back]

OK.

First : follow http://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04
Second : Update Security Rules - open tcp ports 5900-6000
Third : Start Virt-Manager on remote F21 box and successfully connect connect to Libvirtd Daemon on Devstack Host.
(just in case I've disabled apparmor profile for Libvirt , not sure now was it needed or not )
Fourth : Open VNC session with VM running on Devstack Host remotely

OK.

First : follow http://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04
Second : Update Security Rules - open tcp ports 5900-6000
Third : Start Virt-Manager on remote F21 box and successfully connect connect to Libvirtd Daemon on Devstack Host.
(just in case I've disabled apparmor profile for Libvirt , not sure now was it needed or not )
Fourth : Open VNC session with VM running on Devstack Host remotely

OK. To make it real I need to know how to grant access to connect Libvirtd for remote users on Ubuntu. It just a POC.

First : follow http://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04
Second : Update Security Rules - open tcp ports 5900-6000
Third : Start Virt-Manager on remote F21 box and successfully connect to Libvirtd Daemon on Devstack Host.
(just in case I've disabled apparmor profile for Libvirt , not sure now was it needed or not )
Fourth : Open VNC session with VM running on Devstack Host remotely

OK. To make it real I need to know how to grant access to connect Libvirtd for remote users on Ubuntu. It is just a POC.

First : follow http://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04
Second : Update Security Rules - open tcp ports 5900-6000
Third : Start Virt-Manager on remote F21 box and successfully connect to Libvirtd Daemon on Devstack Host.
(just in case I've disabled apparmor profile for Libvirt , not sure now was it needed or not )
Fourth : Open VNC session with VM running on Devstack Host remotely

OK. To make it real I need to know how to grant access to connect Libvirtd for remote users on Ubuntu. It is just a POC.

First : follow http://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04
Second : Update Security Rules - open tcp ports 5900-6000
Third :
Start Virt-Manager on remote F21 box and successfully connect to Libvirtd Daemon on Devstack Host.
(just in case I've disabled apparmor profile for Libvirt , not sure now was it needed or not )
Fourth Third : Open VNC session with VM running on Devstack Host remotely

OK. To make it real I need to know how to grant access to connect Libvirtd for remote users on Ubuntu. It is just a POC.

First : follow http://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04
Second : Start Virt-Manager Second: Devstak node IP 192.168.1.50 and open ports 5900-600
Update /etc/rc.d/rc.local
on remote F21 box and successfully connect to Libvirtd Daemon on Devstack Host.
(just in case I've disabled apparmor profile for Libvirt , not sure now was it needed or not )
Third : Open
host ( tunneling VNC session with VM running on Devstack Host remotely
over SSH ).

ssh -L 5901:127.0.0.1:5901 -N -f -l root 192.168.1.50
ssh -L 5902:127.0.0.1:5902 -N -f -l root 192.168.1.50
.  .  .  .  .  .

On remote machine:-

$ vncviewer localhost:590(X).

All set

First : follow http://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04
Second: Devstak On devstack node IP 192.168.1.50 and (IP 192.168.1.50) open ports 5900-600
Update update /etc/rc.d/rc.local on remote host ( tunneling VNC over SSH ).

ssh -L 5901:127.0.0.1:5901 -N -f -l root 192.168.1.50
ssh -L 5902:127.0.0.1:5902 -N -f -l root 192.168.1.50
.  .  .  .  .  .

On remote machine:-

$ vncviewer localhost:590(X).

All set

First : follow http://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04
Second: On devstack node (IP 192.168.1.50) open ports 5900-6005900-6000
update /etc/rc.d/rc.local on remote host ( tunneling VNC over SSH ).

ssh -L 5901:127.0.0.1:5901 -N -f -l root 192.168.1.50
ssh -L 5902:127.0.0.1:5902 -N -f -l root 192.168.1.50
.  .  .  .  .  .

On remote machine:-

$ vncviewer localhost:590(X).

All set

First : follow http://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04
Second: Set up SSH trusting between LAN boxes and devstack node ( with master on one of LANs machine)
Third:
On devstack node (IP 192.168.1.50) open ports 5900-6000
update /etc/rc.d/rc.local on remote host ( tunneling hosts setting up tunnelling VNC over SSH ).

ssh -L 5901:127.0.0.1:5901 -N -f -l root 192.168.1.50
ssh -L 5902:127.0.0.1:5902 -N -f -l root 192.168.1.50
.  .  .  .  .  .

On Fourth : onn remote machine:-

$ vncviewer localhost:590(X).

All set

First : follow http://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04
Second: Set up SSH trusting between LAN boxes and devstack node ( with master on one of LANs machine)
Third: On devstack node (IP 192.168.1.50) open ports 5900-6000
update /etc/rc.d/rc.local on remote hosts setting up tunnelling VNC over SSH

ssh -L 5901:127.0.0.1:5901 -N -f -l root 192.168.1.50
ssh -L 5902:127.0.0.1:5902 -N -f -l root 192.168.1.50
.  .  .  .  .  .

Fourth : onn on remote machine:-machine run to open VNC session with VM running on devstack node :-

$ vncviewer localhost:590(X).

All set

UPDATE 04/14/2015

Run on Devstack Node
# Add route to LAN
$ sudo route add -net  192.168.1.0/24 gw 192.168.1.57
Run on LAN box
# Add route to devstack public network  via HOST_IP
$ sudo route add -net 192.168.10.0/24 gw 192.168.157

where 192.168.1.57 HOST_IP on Devstack Node
192.168.10.0/24   devstack's public  network

END UPDATE
First : follow http://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04
Second: Set up SSH trusting between LAN boxes and devstack node ( with master on one of LANs machine)
Third: On devstack node (IP 192.168.1.50) open ports 5900-6000
update /etc/rc.d/rc.local on remote hosts setting up tunnelling VNC over SSH

ssh -L 5901:127.0.0.1:5901 -N -f -l root 192.168.1.50
ssh -L 5902:127.0.0.1:5902 -N -f -l root 192.168.1.50
.  .  .  .  .  .

Fourth : on remote machine run to open VNC session with VM running on devstack node :-

$ vncviewer localhost:590(X).

All set

UPDATE 04/14/2015

Run on Devstack Node
# Add route to LAN
$ sudo route add -net  192.168.1.0/24 gw 192.168.1.57
Run on LAN box
# Add route to devstack public network  via HOST_IP
$ sudo route add -net 192.168.10.0/24 gw 192.168.157
192.168.1.157

where 192.168.1.57 HOST_IP on Devstack Node
192.168.10.0/24   devstack's public  network

END UPDATE
First : follow http://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04
Second: Set up SSH trusting between LAN boxes and devstack node ( with master on one of LANs machine)
Third: On devstack node (IP 192.168.1.50) open ports 5900-6000
update /etc/rc.d/rc.local on remote hosts setting up tunnelling VNC over SSH

ssh -L 5901:127.0.0.1:5901 -N -f -l root 192.168.1.50
ssh -L 5902:127.0.0.1:5902 -N -f -l root 192.168.1.50
.  .  .  .  .  .

Fourth : on remote machine run to open VNC session with VM running on devstack node :-

$ vncviewer localhost:590(X).

All set

UPDATE 04/14/2015

Run on Devstack Node
# Add route to LAN
$ sudo route add -net  192.168.1.0/24 gw 192.168.1.57
Run on LAN box
# Add route to devstack public network  via HOST_IP
$ sudo route add -net 192.168.10.0/24 gw 192.168.1.157
192.168.1.57

where 192.168.1.57 HOST_IP on Devstack Node
192.168.10.0/24   devstack's public  network

END UPDATE
First : follow http://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04
Second: Set up SSH trusting between LAN boxes and devstack node ( with master on one of LANs machine)
Third: On devstack node (IP 192.168.1.50) open ports 5900-6000
update /etc/rc.d/rc.local on remote hosts setting up tunnelling VNC over SSH

ssh -L 5901:127.0.0.1:5901 -N -f -l root 192.168.1.50
ssh -L 5902:127.0.0.1:5902 -N -f -l root 192.168.1.50
.  .  .  .  .  .

Fourth : on remote machine run to open VNC session with VM running on devstack node :-

$ vncviewer localhost:590(X).

All set

UPDATE 04/14/2015

Run on Devstack Node
# Add route to LAN
$ sudo route add -net  192.168.1.0/24 gw 192.168.1.57
Run on LAN box
# Add route to devstack public network  via HOST_IP
$ sudo route add -net 192.168.10.0/24 gw 192.168.1.57

where 192.168.1.57 HOST_IP on Devstack Node
192.168.10.0/24   devstack's public  network
192.168.1.0/24    LAN address

END UPDATE
First : follow http://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04
Second: Set up SSH trusting between LAN boxes and devstack node ( with master on one of LANs machine)
Third: On devstack node (IP 192.168.1.50) open ports 5900-6000
update /etc/rc.d/rc.local on remote hosts setting up tunnelling VNC over SSH

ssh -L 5901:127.0.0.1:5901 -N -f -l root 192.168.1.50
ssh -L 5902:127.0.0.1:5902 -N -f -l root 192.168.1.50
.  .  .  .  .  .

Fourth : on remote machine run to open VNC session with VM running on devstack node :-

$ vncviewer localhost:590(X).

All set