[TriLUG] passing parameters to programs via launcher in gnome and samba

Kevin Sonney alchemist at darkcanvas.com
Thu May 8 08:46:28 EDT 2003


On Thu, May 08, 2003 at 09:26:12AM -0400, Jim Ray spoke thusly:
> is there a way to pass parameters to vncviewer so i don't have to type
> in an ip?

vncviewer ipaddr:display 

so something like :

vncviewer 192.168.1.1:1 

where vncserver is using display 1 on the remote box. Windows boxes
default to :0.  When you start vncserver on a remote linux box, it'll
dynamically determine which display to use, so you'll want to look at
the info it posts at startup.

You can also use vncpasswd to create a password file to prevent
prompting for a password at startup. Of course, this assume you aren't
using a shared home directory on the two machines...

vncpasswd 
cp ~/.vnc/passwd ~/.vnc/server1.pwd
vncviewer server1:1 --passwd ~/.vnc/server1.pwd

-- 
----------------------------------
--         Kevin Sonney         --
--  ICQ: 4855069  AIM: ksonney  --
----------------------------------
320C 0336 3BC4 13EC 4AEC  6AF2 525F CED7 7BB6 12C9
 "It burns! It burns like hygiene!" - Geekboy
 (http://www.somethingpositive.net/)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030508/a7233899/attachment.pgp>


More information about the TriLUG mailing list