LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-02-2015, 09:42 PM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
Desktop sharing (remote desktop) Ubuntu Mate 14.10


I am looking for options to share the console, or preferably a separate session, from an Ubuntu Mate 14.04 LTS machine. I have used vnc4server successfully on CentOS and Ubuntu 12.04 server with a minimal gnome desktop as well as a number of other distros. I have used "desktop sharing" from an Ubuntu 12.04 LTS machine running gnome fallback. However, I am not having any luck with the same approaches on Ubuntu Mate 14.04.

I have not turned up much by searching. In fact, several hits refer back to a similar question which I posted on linuxquestions last year - before Mate became an "official" Ubuntu flavor.

The "Software store" lists X11vnc which I think I have played with in the past although not very successful as I recall.

Can anyone give me a starting point? I am obviously overlooking something.

TIA,

Ken
 
Old 06-02-2015, 11:30 PM   #2
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,912

Rep: Reputation: 1067Reputation: 1067Reputation: 1067Reputation: 1067Reputation: 1067Reputation: 1067Reputation: 1067Reputation: 1067
Desktop sharing (remote desktop) Ubuntu Mate 14.10

The reason you had those remote desktop applications in the other desktop environments is because they were packaged by your distribution to be included. I am assuming MATE doesn't come prepackaged with a remote desktop client. You can easily install a VNC client from the Ubuntu software repository. Here is a list of Ubuntu remote desktop clients you can install:
https://help.ubuntu.com/community/VNC/Clients

For a VNC client to connect, you must have a VNC server running. Here is the documentation for that:
https://help.ubuntu.com/community/VNC/Servers
 
Old 06-02-2015, 11:59 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,674
Blog Entries: 28

Rep: Reputation: 6249Reputation: 6249Reputation: 6249Reputation: 6249Reputation: 6249Reputation: 6249Reputation: 6249Reputation: 6249Reputation: 6249Reputation: 6249Reputation: 6249
I have had good results with TightVNC.

Klaatu likes X11VNC.

There are other VNC options out there.
 
Old 06-03-2015, 11:02 AM   #4
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Original Poster
Rep: Reputation: 174Reputation: 174
Thanks mralk3 but I am after the server functionality, not the client. I use the Vinagre remote desktop viewer on my main CentOS 6 machine. I am considering updating my wife's desktop PC and my toy netbook to Ubuntu Mate but I want to be able to remotely access them from my main PC. Let me also thank you for the two reference links.

Thanks frankbell. I guess I really just needed to get motivated on this project again. I looked at x11vnc and printed out the information on the web site - 169 pages! It looks like it is intended to export the actual console display - sort of the desktop sharing concept. I will certainly investigate that a little further. However, I really like the concept of accessing a virtual desktop on the machine rather than the console. Sort of like accessing a real (mainframe) computer

I have done that with vnc since probably Redhat 8. With Ubuntu I got slack and used the built in desktop sharing except for my headless server on which I used vncserver on Ubuntu 12.04 LTS server. As to the Mate issue...

I found this post http://www.linuxquestions.org/questi...on-4175437332/ which gave me the info I had been missing. My .vnc/xstartup looks like
Code:
#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
# x-window-manager &
mate-session &
mate-panel &
The 3 lines in red were what I needed to comment out/add. I can now attach to a virtual desktop in my virtual Ubuntu Mate test machine. I will play with it for a while then try it on some actual hardware. Of course I need to also master accessing the console especially for the wife's machine - saves me a lot of walking from my office to the living room to answer "what's this?"

Thanks again to you both.

Ken
 
Old 06-03-2015, 11:08 AM   #5
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,912

Rep: Reputation: 1067Reputation: 1067Reputation: 1067Reputation: 1067Reputation: 1067Reputation: 1067Reputation: 1067Reputation: 1067
Desktop sharing (remote desktop) Ubuntu Mate 14.10

You can also use ssh to access the console.

If connecting to a VNC server from outside your network, you should use ssh port forwarding for the VNC sessions so that the sessions are encrypted. Otherwise eavesdroppers will be able to see what you are doing in the remote session.
 
Old 06-03-2015, 11:31 AM   #6
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Original Poster
Rep: Reputation: 174Reputation: 174
Thanks mralk3,

I used ssh to install vnc4server, configure and launch it. That is what I did on my "server" - really just a 16TB file pile. I normally connect to it when needed with nfs or Samba for file transfer and with ssh for routine maintenance. On occasion I wish to use a couple of gui utilities to shovel around a bunch of files. In that case I connect with ssh, launch my vncserver session and then connect from the CentOS machine.

All of my activity is on a wired home network behind a router/firewall so I am not that concerned about security/privacy. I really do need to play with the encrypted remote access some day.

Regards,

Ken
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ubuntu MATE 15.04 Arrives With MATE Desktop 1.8.2 and MATE Tweak LXer Syndicated Linux News 0 05-15-2015 10:30 AM
LXer: How To Install And Use The Chrome Remote Desktop Sharing Feature In Ubuntu LXer Syndicated Linux News 0 07-17-2014 07:10 AM
LXer: How To Enable Remote Desktop Sharing on Ubuntu(12.04/12.10/13.04) LXer Syndicated Linux News 0 09-19-2013 03:30 PM
Remotely access Kubuntu (Ubuntu Server with KDE Desktop) with windows Remote Desktop brunellehomenet Linux - Newbie 3 10-21-2012 10:20 AM
Remote Desktop sharing noony123 Linux - Newbie 1 03-02-2011 06:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration