Author Topic: Remote desktop requires confirmation.  (Read 716 times)

Offline RET423

  • Jr. Member
  • **
  • Posts: 24
Remote desktop requires confirmation.
« on: March 31, 2010, 06:22:13 PM »
I have been trying to figure out a way to get PcLinuxOS 2009 to stop asking for a confirmation when I connect to the machine via VNC.

I have used the pcc wizard from both root and my default user but it always requires someone to be at the machine to confirm the request, once the connection request is confirmed the password box will appear on the other machine and I can enter the password and control the target normally.

I use vnc to control this computer from the other end of my house so it sort of defeats the purpose if I have to run down the hall and confirm the VNC request to complete the connection. Is there some way to tell the pclinuxos 2009 box to always accept the remote desktop connection?

Offline GuypronouncedGuynotGuy

  • Hero Member
  • *****
  • Posts: 1706
  • I used to suffer from migraines. So I gave up MS.
Re: Remote desktop requires confirmation.
« Reply #1 on: March 31, 2010, 07:02:42 PM »
are you running the VNC service on the host system?

You should be able to password protect the connection, then as long as you know the password it should work fine. (I do the same thing here)
The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he, by peddling second-rate technology, who led them into it in the first place. - Douglas Adams (1952 - 2001)

Offline RET423

  • Jr. Member
  • **
  • Posts: 24
Re: Remote desktop requires confirmation.
« Reply #2 on: March 31, 2010, 07:53:08 PM »
are you running the VNC service on the host system?

You should be able to password protect the connection, then as long as you know the password it should work fine. (I do the same thing here)
I think so, I used pcc to setup remote desktop sharing and I told it to "allow others to control this machine" and "start the service", I was prompted to enter a password and the the wizard completed.

I can successfully contact the computer from any of the others in my workgroup but unless I am at the terminal to click "allow" the password box never appears on the computer I initiated the connection with.

Offline GuypronouncedGuynotGuy

  • Hero Member
  • *****
  • Posts: 1706
  • I used to suffer from migraines. So I gave up MS.
Re: Remote desktop requires confirmation.
« Reply #3 on: April 01, 2010, 09:12:49 PM »
sounds like you have it correct. Could be a bug with the beta.
The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he, by peddling second-rate technology, who led them into it in the first place. - Douglas Adams (1952 - 2001)

Offline RET423

  • Jr. Member
  • **
  • Posts: 24
Re: Remote desktop requires confirmation.
« Reply #4 on: April 03, 2010, 01:00:05 PM »
O.K. Here is what I did.
I had been using krfb as the vnc server because that is what is configured from pcc.

I stopped that service and grabbed tightvnc server from the repository (tightvnc client was already installed by default) and I configured tightvnc. I can now log in to the PcLinuxOS desktop from any machine on the network with just the vnc password and no confirmation prompt needed at the local machine.

The only problem I am having now is figuring out to get tightvnc to start automatically with the machine in a state that is ready to use. I have the service enabled (and it shows "running") but I have to run "vncserver" from a terminal after boot-up and renter the password for it to function.

A small inconvenience since I never shut this machine off but I would like to automate the process at some point.

Offline pags

  • Hero Member
  • *****
  • Posts: 2519
  • Keep it clean.
Re: Remote desktop requires confirmation.
« Reply #5 on: April 05, 2010, 01:34:49 PM »
Are you using 2009 still with KDE 3, or has it been updated to KDE 4?

In KDE 3, it can be set from within the KDE Control Center (see http://www.pclinuxos.com/forum/index.php/topic,70220.msg577118.html#msg577118).

For KDE 4, I couldn't find it in a centralized area, but when I ran krfb from the konsole, it opened a window to manage invitations from.  On there, there is a "Configure" button.
On the config window, go to "Security".  Add a check to "Allow uninvited connections", and then remove the check from "Ask before accepting an uninvited connection".  I would strongly recommend a password.

Hope that helps.  ;)

Offline RET423

  • Jr. Member
  • **
  • Posts: 24
Re: Remote desktop requires confirmation.
« Reply #6 on: April 05, 2010, 05:43:05 PM »
Are you using 2009 still with KDE 3, or has it been updated to KDE 4?

In KDE 3, it can be set from within the KDE Control Center (see http://www.pclinuxos.com/forum/index.php/topic,70220.msg577118.html#msg577118).

For KDE 4, I couldn't find it in a centralized area, but when I ran krfb from the konsole, it opened a window to manage invitations from.  On there, there is a "Configure" button.
On the config window, go to "Security".  Add a check to "Allow uninvited connections", and then remove the check from "Ask before accepting an uninvited connection".  I would strongly recommend a password.

Hope that helps.  ;)

Yeah, I am running 2009 specifically because of KDE-3 (thank you to the developers for keeping this as long as possible!). This particular server does not have enough RAM to make use of KDE-4 and I never use it as a desktop anyway. I just like the stability of PcLinuOS and it is easy to setup and then forget, it just does its job.

The steps you describe are exactly the routine I went through, I don't know why krfb keeps asking for confirmation. Tightvnc is doing great except for me having to remember to click the application link I put on the desktop to enable it after a reboot. If I forget the service is not usable until I do it.