How to access a specific vncserver (not the first) on my CentOS server

9 views
Skip to first unread message

LesPaul

unread,
Jun 21, 2011, 10:59:52 AM6/21/11
to android-vnc-viewer
I have a CentOs server and in my vncsercver config multiple lines for
different users/desktops like (this is an example):
VNCSERVERS=”1:john 2:lespaul”
VNCSERVERSARGS[1]=”args"
VNCSERVERSARGS[2]=”other args”
When I want to access the vncserver for lespaul with tightvnc via a
secure tunnel I pipe the commands ssh arg arg : vncviewer
localhost:poort:2 (this 2 is the server for lespaul).
I managed to set up a connection via connectbot and androidvnc, but it
connect by default to the first one (john). Is there a way to connect
the second (and third and so on)?

Jason

unread,
Jun 21, 2011, 8:36:27 PM6/21/11
to android-v...@googlegroups.com

displays are directly mapped to ports by default. 5900 is display:0 5901 is display:1 and so on.

> --
> You received this message because you are subscribed to the Google Groups "android-vnc-viewer" group.
> To post to this group, send email to android-v...@googlegroups.com.
> To unsubscribe from this group, send email to android-vnc-vie...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-vnc-viewer?hl=en.
>

LesPaul

unread,
Jun 22, 2011, 4:27:02 AM6/22/11
to android-vnc-viewer
Thanx, it works...

On 22 jun, 02:36, Jason <blakjak...@gmail.com> wrote:
> displays are directly mapped to ports by default. 5900 is display:0 5901 is
> display:1 and so on.
> On Jun 21, 2011 10:59 PM, "LesPaul" <hansvanrijswijk1...@gmail.com> wrote:> I have a CentOs server and in my vncsercver config multiple lines for
Reply all
Reply to author
Forward
0 new messages