TightVNC Help

Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

TightVNC Help

Postby hansonian » 29 Apr 2010, 14:55

I've installed tightvnc with the following command,
Code: Select all
# cd /usr/ports/net/tightvnc
# make install clean

It went through the whole process of installing everything (or at least it looked like it). I then ran this command (saw it in a how-to guide on anther website)
Code: Select all
#which vncserver
/usr/local/bin/vncserver


At this point according to the how-to I was supposed to be able to enter a password for the vncserver but I received the following errors instead.
Code: Select all
xauth: (argv):1: bad display name ":1" in "add" command
xuauth (argv):1: bad display name "/unix:1" in "add" command
I'm not too sure what that's talking about so I don't know how to go about fixing it.

I can VNC into my Ubuntu machine from this one but it obviously doesn't work going into this because the vncserver isn't setup. Any ideas on what I did, didn't do or need to do to get this sorted out.

Thanks
hansonian
Junior Member
 
Posts: 17
Joined: 26 Apr 2010, 12:59
Location: Tampa, Florida

Postby SirDice » 29 Apr 2010, 15:02

Is X actually running? IIRC tightvnc only works with a running X.
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16185
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby hansonian » 29 Apr 2010, 15:15

I've got GNOME up and running so I'm going to assume X is running unless my brain has confused it with something else.
hansonian
Junior Member
 
Posts: 17
Joined: 26 Apr 2010, 12:59
Location: Tampa, Florida

Postby p3n1x » 29 Apr 2010, 15:19

yea, should be a .vnc folder in ur home dir, and a .xstartupsession or some such file, and within there it should try and start x and load up your desktop

mine looks like below

Code: Select all
#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
startxfce4
p3n1x
Junior Member
 
Posts: 19
Joined: 17 Nov 2008, 15:34

Postby hansonian » 29 Apr 2010, 17:07

Not currently seeing any file that looks like that.
hansonian
Junior Member
 
Posts: 17
Joined: 26 Apr 2010, 12:59
Location: Tampa, Florida


Return to Installation and Maintenance of FreeBSD Ports or Packages

Who is online

Users browsing this forum: kkaos, martino and 4 guests