Author Topic: Unattended TeamViewer  (Read 5832 times)

c0utta

  • Newbie
  • *
  • Posts: 3
Unattended TeamViewer
« on: June 29, 2011, 10:22:45 PM »
Using the latest version of TeamViewer on iMac running Snow Leopard 10.6, accessing using Windows 7

I’m trying to reduce the surface of my home network to the Internet.  Ideally I want to SSH into my iMac, load TeamViewer, do some stuff, then reboot (or unload TeamViewer)

When I ssh into my iMac and run:

Code: [Select]
open /Applications/TeamViewer.app/I get:
Code: [Select]
LSOpenURLsWithRole() failed with error -10810 for the file /Applications/TeamViewer.appI’m assuming this is security related, but if I run:
Code: [Select]
sudo open /Applications/TeamViewer.app/TeamViewer loads, but I cannot connect to it via the TeamViewer client on Windows 7 – it tells me my password is invalid.

If I log onto the iMac, TeamViewer loads just fine (it’s one of my Login Items) and I can connect remotely using the TeamViewer client.

I notice that ps –ax gives the following result once I’ve logged onto the iMac:
Code: [Select]
/Applications/TeamViewer.app/Contents/MacOS/TeamViewer -psn_0_77843
The “-psn_0_77843” changes every time so I’m assuming (!) this changes with every login session.

Is there a way to get my iMac to operate in this fashion?

Thanks,

c0utta

TeamViewer

  • Jr. Member
  • **
  • Posts: 85
    • TeamViewer - Free Remote Access and Remote Desktop Sharing over the Internet
Re: Unattended TeamViewer
« Reply #1 on: June 30, 2011, 05:59:14 AM »
Hello,
what do you want to do with TeamViewer? How do you want to use it?
Can you explain it a little bit?
Regards
Inga, TeamViewer

c0utta

  • Newbie
  • *
  • Posts: 3
Re: Unattended TeamViewer
« Reply #2 on: June 30, 2011, 05:07:31 PM »
Hi Inga,

Thanks for your interest.

I want to be able to load TeamViewer from the terminal (via SSH - I could be located anywhere in the world).

Then load TeamViewer client (or use the TeamViewer website) to control my iMac.

Then unload TeamViewer.

At the moment I must be logged into my iMac for TeamViewer to be loaded.

Is this enough information?

Cheers,

Brent

TeamViewer

  • Jr. Member
  • **
  • Posts: 85
    • TeamViewer - Free Remote Access and Remote Desktop Sharing over the Internet
Re: Unattended TeamViewer
« Reply #3 on: July 05, 2011, 11:50:55 PM »
Hi,
sorry for the late reply.
Is there an user logged in on your Mac you want to connect to?
If you are using TeamViewer 6 for Mac (incoming and outgoing connections are possible) an user have to be logged in. Please use TeamViewer Host for Mac (only incoming connections are possible), you do not need to be logged in.
Why you are using ssh for connection and do not only use TeamViewer?
Regards
Inga, TeamViewer

c0utta

  • Newbie
  • *
  • Posts: 3
Re: Unattended TeamViewer
« Reply #4 on: July 06, 2011, 09:34:16 PM »
Hi Inga,

You are correct - I was using TeamViewer for Mac, not TeamViewer Host for Mac.

My intention was to only run TeamViewer when required from SSH and not have the Host running all the time.  If I am unable to do this easily, then that's fine.

Thanks for your direction.

 

anything