|
Prev: Portable hard drive
Next: Wpd attachment
From: DJ Craig on 23 Jun 2006 19:41 I have SSH access to my home computer right now, but not physical access. I'm looking for a VNC server that can be installed and configured entirely from command line. I've been using OSXvnc, but it doesn't seem to have a command line interface. Does anyone know of a way to do this?
From: Bob Harris on 23 Jun 2006 21:07 In article <1151106104.667891.188090(a)y41g2000cwy.googlegroups.com>, "DJ Craig" <yomamaDJ1(a)gmail.com> wrote: > I have SSH access to my home computer right now, but not physical > access. I'm looking for a VNC server that can be installed and > configured entirely from command line. I've been using OSXvnc, but it > doesn't seem to have a command line interface. Does anyone know of a > way to do this? Why not just run OSXvnc all the time. The GUI has an option to set it so it starts up as a daemon during system boot. I have it running on my laptop, my office desktop, my Mom's system, my Wife's laptop, and my Mother-in-Law's laptop. I also have them setup to accept only local connections via an ssh tunnel so I can securely access them over the internet. But if you really, REALLY want to start OSXvnc from the command line, then start it up and look at the command line with ps -axlww | grep OSXvnc Then you should be able to start it up on demand. Bob Harris
From: Kevin McMurtrie on 24 Jun 2006 00:04 In article <1151106104.667891.188090(a)y41g2000cwy.googlegroups.com>, "DJ Craig" <yomamaDJ1(a)gmail.com> wrote: > I have SSH access to my home computer right now, but not physical > access. I'm looking for a VNC server that can be installed and > configured entirely from command line. I've been using OSXvnc, but it > doesn't seem to have a command line interface. Does anyone know of a > way to do this? Here's full instructions for anybody interested. You can skip installation since you already have OSXvnc. Install: -------- Visit http://www.redstonesoftware.com/vnc.html and download OSXvnc. Open the disk image. Copy the application to your home computer using SSH: scp -rC /Volumes/OSXvnc/OSXvnc.app \ username(a)homecomputer:/Applications/ Run: ----- Log on to your home computer using the same ID as the current user or root, forward local port 5900, and launch OSXvnc on local port 5900: ssh -L5900:localhost:5900 username(a)homecomputer \ '/Applications/OSXvnc.app/OSXvnc-server -localhost -rfbport 5900' Now launch Chicken of the VNC and connect to 127.0.0.1 port 5900. Control-C in your terminal to kill OSXvnc and your login.
From: DJ Craig on 24 Jun 2006 01:15 Thanks, that's exactly what I was looking for. I never knew about the -L option on ssh. It seems pretty cool. Kevin McMurtrie wrote: > In article <1151106104.667891.188090(a)y41g2000cwy.googlegroups.com>, > "DJ Craig" <yomamaDJ1(a)gmail.com> wrote: > > > I have SSH access to my home computer right now, but not physical > > access. I'm looking for a VNC server that can be installed and > > configured entirely from command line. I've been using OSXvnc, but it > > doesn't seem to have a command line interface. Does anyone know of a > > way to do this? > > Here's full instructions for anybody interested. You can skip > installation since you already have OSXvnc. > > > Install: > -------- > > Visit http://www.redstonesoftware.com/vnc.html and download OSXvnc. > > Open the disk image. > > Copy the application to your home computer using SSH: > > scp -rC /Volumes/OSXvnc/OSXvnc.app \ > username(a)homecomputer:/Applications/ > > > Run: > ----- > > Log on to your home computer using the same ID as the current > user or root, forward local port 5900, and launch OSXvnc on > local port 5900: > > ssh -L5900:localhost:5900 username(a)homecomputer \ > '/Applications/OSXvnc.app/OSXvnc-server -localhost -rfbport 5900' > > Now launch Chicken of the VNC and connect to 127.0.0.1 port 5900. > > Control-C in your terminal to kill OSXvnc and your login.
From: D P Schreber on 24 Jun 2006 14:26 On 2006-06-23, DJ Craig <yomamaDJ1(a)gmail.com> wrote: > I have SSH access to my home computer right now, but not physical > access. I'm looking for a VNC server that can be installed and > configured entirely from command line. Once OSXvnc installed, as yours clearly is, you can tell it to create a Startup Item, which in turn can then be used from the command line in the usual way (ie SystemStarter) to start and stop the server. The installation itself is slightly trickier on the command line but not really all that difficult. When I initially installed OSXvnc on a headless XServe, I first installed it on my local machine, including the StartupItem; then scp'd both the .app and the StartupItem to the XServe. Voila. The only trick is to ensure that the .app is installed in the same logical location on the destination machine as it was on the original installation. If you put it /Applications, you're all set.
|
Pages: 1 Prev: Portable hard drive Next: Wpd attachment |