LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-16-2015, 07:39 AM   #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
vncserver vs x11vnc - authentication issue


I have vncserver and x11vnc installed on a couple of Ubuntu Mate 15.04 machines. As I use x11vnc I connect to the "physical" console of the computer. That is I enter my credentials and login just as if I was sitting in front of the machine. I can observe what I am doing on the monitor connected to the computer.

With vncserver, I start a session on the computer from an ssh connection and then connect the session it with my viewer (Vinagre on CentOS 6). I must supply a password to access the session but it is not related to my normal login credentials. I believe that the vncserver session "belongs" to me as I am the rascal who started it over the ssh connection using my credentials to connect ssh.

Here is the issue... If I am connected to the vncserver session I am often prompted for my password for things which I can do with the x11vnc connection without being prompted. For example if the Software Updater pops up and I attempt to install updated packages (Ubuntu only requires admin authentication for some updates) I can often do so over x11vnc without authentication. Using the vncserver session I am ALWAYS prompted for my password.

I experience the same behavior if for example I attempt to reboot the computer from the Mate panel. Using x11vnc I can click on the appropriate launcher and select Restart (or Shutdown) and it works as expected. When using vncserver I am prompted for my password.

Is this the "expected" behavior? Am I not really logged on to the computer when using vncserver?

TIA,

Ken
 
Old 09-16-2015, 08:29 PM   #2
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
Hello moderators. I posted this in the wrong forum. Please move to Linux - Security or Linux - Software whichever you think is best.

Thanks,

Ken
 
  


Reply



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
x11vnc on Ubuntu Mate - issue when not logged on to remote PC taylorkh Linux - Software 2 07-06-2015 10:57 AM
[SOLVED] Resolving issue with misconfiguration of vncserver . vinay45 CentOS 6 03-23-2015 05:17 AM
x11vnc error: Only root will have read permission for the file, and so x11vnc must be yogesh_attarde Linux - Software 7 09-23-2014 06:30 AM
VNCServer issue cwwilson721 Linux - Networking 8 04-17-2006 03:46 AM
Interesting Issue - VNCServer & FC2 XWindows Manager Error Clainn Linux - Software 0 07-17-2004 01:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:50 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