view the desktop remotely (maybe through a browser)

Posted May 17, 2016 3.5k views

I am running Docker 1.11.1 in the cloud (using digital ocean). I access it through SSH but I am not familiar particularly with Linux and so I was wondering if I can access it through a desktop interface instead of the command line.
I want to run some python scripts inside it. Anyone have any suggestions? I tried to install Teamviewer but it seemed not to work. Is there any way to interact through a desktop?

root@docker-test:~# sudo dpkg -i teamvieweri386.deb
Selecting previously unselected package teamviewer.
(Reading database … 87950 files and directories currently installed.)
Preparing to unpack teamviewer
i386.deb …
Unpacking teamviewer (11.0.57095) …
dpkg: dependency problems prevent configuration of teamviewer:
teamviewer depends on libc6 (>= 2.4).
teamviewer depends on libgcc1.
teamviewer depends on libasound2.
teamviewer depends on libdbus-1-3.
teamviewer depends on libexpat1.
teamviewer depends on libfontconfig1.
teamviewer depends on libfreetype6.
teamviewer depends on libjpeg62.
teamviewer depends on libpng12-0.
teamviewer depends on libsm6.
teamviewer depends on libxdamage1.
teamviewer depends on libxext6.
teamviewer depends on libxfixes3.
teamviewer depends on libxinerama1.
teamviewer depends on libxrandr2.
teamviewer depends on libxrender1.
teamviewer depends on libxtst6.
teamviewer depends on zlib1g.

dpkg: error processing package teamviewer (–install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
root@docker-test:~# ls
teamvieweri teamvieweri386.deb teamviewerlinux.deb teamviewerlinuxx64.deb
root@docker-test:~# sudo dpkg -i teamviewer
dpkg-deb: error: `teamviewer
linuxx64.deb’ is not a debian format archive
dpkg: error processing archive teamviewer
linuxx64.deb (–install):
subprocess dpkg-deb –control returned error exit status 2
Errors were encountered while processing:

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

What you are looking for is VNC check out that guide to get you started.

by Josh Barnett
VNC is a connection system that allows you to manage your Ubuntu server with a graphical desktop environment. With VNC, you can use your keyboard and mouse to interact with a graphical display of your remote server, making it easier to work with the server.