Skip to Main Content
Mac OS X for Unix Geeks
book

Mac OS X for Unix Geeks

by Ernest E. Rothman, Brian Jepson
September 2002
Beginner to intermediate content levelBeginner to intermediate
216 pages
7h 43m
English
O'Reilly Media, Inc.
Content preview from Mac OS X for Unix Geeks

Launching VNC

If you installed VNC via Fink, you can start the VNC server by issuing the following command:

vncserver

You will need to enter a password, which you supply when you connect from a remote machine. (This password can be changed using the command vncpasswd.) You can run several servers; each server is identified by its hostname with a :number appended. For example, suppose you start the VNC server twice on a machine named abbott; the first server will be identified as abbott:1 and the second as abbott:2. You will need to supply this identifier when you connect from a client machine.

By default, the VNC server runs twm . So, when you connect, you will see an X11 desktop instead of the Mac OS X desktop. (You can specify a different window manager in ~/.vnc/xstartup.) To terminate the VNC server, use the following command syntax:

vncserver -kill :display

For example, to terminate abbott:1, you would issue the following command while logged into abott as the user who started the VNC server:

vncserver -kill :1.

Tip

There is a derivative of VNC, called TightVNC, which is optimized for bandwidth conservations. It can also be installed with Fink. TightVNC also offers automatic ssh tunneling on Unix and backward compatibility with the standard VNC.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mac OS X For Unix Geeks, 4th Edition

Mac OS X For Unix Geeks, 4th Edition

Ernest E. Rothman, Rich Rosen, Brian Jepson
Mac OS X Hacks

Mac OS X Hacks

Kevin Hemenway, Rael Dornfest
Mac OS X in a Nutshell

Mac OS X in a Nutshell

Jason McIntosh, Chuck Toporek, Chris Stone

Publisher Resources

ISBN: 0596003560Errata Page