Hi,

It sounds like you are using incorrect port number. If you can get a
terminal and run VNC from there it will tell you what port it is on towards
the end of the output. Or you can sequentially increase port number by one
until you find the correct port.
On Feb 18, 2014 6:31 PM, "Abdul-Rauf Mujahid" <[email protected]>
wrote:

> Dear sir, i have tried all the above solutions but when i use vncviewer
> (using vncviewer 192.168.7.2:5900), I get the following error
>
> vncviewer: ConnectToTcpAddr: connect: Connection refused
> Unable to connect to VNC server
>
> please help. i have tried rebooting many times and i have also execute
> *x11vnc -bg -o %HOME/.x11vnc.log.%VNCDISPLAY -auth
> /var/run/gdm/auth-for-gdm*/database -display :0 - forever - nopw on BBB*.
> I am using kali linux.
>
> On Monday, May 20, 2013 2:23:38 PM UTC-4, Rob Weijers wrote:
>>
>> You still have to activate the command after each reboot of the BBB.
>> To avoid this store the already used command:
>>
>> *x11vnc -bg -o %HOME/.x11vnc.log.%VNCDISPLAY -auth
>> /var/run/gdm/auth-for-gdm*/database -display :0 - forever - nopw*
>>
>> *Into a file e.g. x11vncremote.sh. *Don't forget to change the file's
>> permission to allow execution.* And add the file as a command to the
>> startup (on the desktop: System->preferences->Statup Applications. *
>> *Now you can connect anytime you want to the BBB without the need for
>> Gate one.*
>>
>> *I already had this running, but it did not allow me to restart once the
>> connection was closed. Thanks to Wilfredo this is solved. *
>>
>> *Rob.*
>>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to