Unity on the Ubuntu VM

36 views
Skip to first unread message

MD I. Islam

unread,
Nov 14, 2014, 2:32:07 AM11/14/14
to geni-...@googlegroups.com
Hi

I want to install Unity on the Ubuntu VMs in GENI. Could you please advise me how can I do it and how I can access the desktop?

I executed the command to install Unity (through SSH):

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ubuntu-desktop
Then I tried to install VNC server and tried to view it from VNC Viewer, but it didn't work. Could you please advise me how I can get desktop environment on GENI. I am doing an experiment on video, so I need to desktop environment.

Many thanks
Tamim

Sarah Edwards

unread,
Nov 17, 2014, 11:18:43 AM11/17/14
to geni-...@googlegroups.com, Sarah Edwards
Hi Tamim,

Does this HowTo page on "Viewing Client Video on Your Local Machine" do what you are looking for?

http://groups.geni.net/geni/wiki/HowTo/ForwardVideoOverSSH

Cheers,
Sarah
> --
> GENI Users is a community supported mailing list, so please help by responding to questions you know the answer to.
>
> If this is your first time posting a question to this list, please review http://groups.geni.net/geni/wiki/GENIExperimenter/CommunityMailingList
> ---
> You received this message because you are subscribed to the Google Groups "GENI Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to geni-users+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

*******************************************************************************
Sarah Edwards
GENI Project Office

BBN Technologies
Cambridge, MA
phone: (617) 873-2329
email: sedw...@bbn.com





MD I. Islam

unread,
Dec 2, 2014, 10:21:03 PM12/2/14
to geni-...@googlegroups.com, Sarah Edwards
Hi Sarah

I have a P2P video streaming app in each node. Each application will download videos from other peers and will be playing it. It seems like those tunneling approach won't work here, will it? It seems like we need to install a windowing system (Unity for Ubuntu) and then we can watch our app by a remote desktop application (such as VNC). Could you please advise me how I can achieve that? Looking forward to your advise. 

Thanks
Tamim
.

Sarah Edwards

unread,
Dec 3, 2014, 10:05:44 AM12/3/14
to geni-...@googlegroups.com, Sarah Edwards
Hi Tamim,

I think this past thread covers a similar example to what you are trying to do.  In that case they decided to tunnel VNC over SSH (perhaps using a public IP and a high numbered port):

Could you read through this thread and let us know if that helps?

Do you need help installing Unity?  Or getting VNC setup to work correctly?

Thanks,
Sarah

MD I. Islam

unread,
Dec 6, 2014, 1:16:28 PM12/6/14
to geni-...@googlegroups.com, Sarah Edwards
Hi Sarah

Yeah, this link seems to be exactly what I am looking for. I also need help setting up Unity and VNC correctly. I executed the following commands on the VM. But it doesn't seem to be working. 

#Install Unity on Ubuntu
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y install ubuntu-desktop

#install X11
sudo apt-get -y install xorg openbox


After executing the command, I logged in again using Putty (enabling the X11 forwarding option), but I don't see any UI. I also installed VLC on the VM (sudo apt-get -y install vlc browser-plugin-vlc). But when I try to play a video, I see the error "inhibit interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11". It seems like the Unity and X11 are not installed properly. 

Could you please advise me to get over this?

Thanks
Tamim
.

MD I. Islam

unread,
Dec 6, 2014, 7:26:54 PM12/6/14
to geni-...@googlegroups.com, Sarah Edwards
Hi Sarah

I have been able to see the video over X11 forwarding, but it's very slow. I executed following script, then I could see the video on Putty and Xming.

sudo sh -c "echo 'ForwardAgent yes' >> /etc/ssh/ssh_config"
sudo sh -c "echo 'ForwardX11 yes' >> /etc/ssh/ssh_config"
sudo sh -c "echo 'ForwardX11Trusted yes' >> /etc/ssh/ssh_config"
sudo sh -c "echo 'X11Forwarding yes' >> /etc/ssh/sshd_config" 

Now I have to setup VNC over SSH tunnel. Could you please advise how I can do that?


Many thanks
Tamim
.
Reply all
Reply to author
Forward
0 new messages