Ivan219
Posts: 118
Joined: Sun Jul 05, 2015 10:01 pm

Running VNC

Tue Jul 07, 2015 10:44 am

Hello, I learned, that XRDP open a new session every remote connection. And then I learned that VNC do only one session. But I can't run it. I run in console:

Code: Select all

sudo apt-get install tightvncserver // No erros
pi@raspberrypi ~ $ sudo vncserver :1 -geometry 1024×768 -depth 16 -pixelformat rgb565
vncserver: geometry 1024×768 is invalid //ERROR
I install UltraVNC Viewer, and typed to ip-box: ip_of_rasspberry:1 , But connection failed.
How resolve it?

User avatar
davef21370
Posts: 897
Joined: Fri Sep 21, 2012 4:13 pm
Location: Earth But Not Grounded

Re: Running VNC

Tue Jul 07, 2015 12:14 pm

Try 1024x768 (lower case letter X).

Dave.
Apple say... Monkey do !!

Ivan219
Posts: 118
Joined: Sun Jul 05, 2015 10:01 pm

Re: Running VNC

Tue Jul 07, 2015 12:33 pm

I resolve problem with resolution. I read instruction from: https://www.raspberrypi.org/documentati ... ccess/vnc/, I install and run VNC, but I can't connect to raspberry by tightvnc: error in tightvnc viewer a connection attempt failed because target computer rejected the connection, how connect to VNC?

Ivan219
Posts: 118
Joined: Sun Jul 05, 2015 10:01 pm

Re: Running VNC

Tue Jul 07, 2015 9:58 pm

I resolve VNC connect problem, but VNC make new session, and how I can make one (same) session? (For example: I control mouse from remote VNC and from mouse usb raspberry.

User avatar
AndyD
Posts: 2334
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: Running VNC

Wed Jul 08, 2015 12:21 am

Ivan219 wrote:I resolve VNC connect problem, but VNC make new session, and how I can make one (same) session? (For example: I control mouse from remote VNC and from mouse usb raspberry.
To control the desktop on the Raspberry Pi using VNC your best option is to use x11vnc, rather than tightvnc.

Ivan219
Posts: 118
Joined: Sun Jul 05, 2015 10:01 pm

Re: Running VNC

Wed Jul 08, 2015 11:39 am

I install x11vnc, next I write: x11vnc -display :0 -usepw -noxdamage -ncache 10 -ncache_cr -listen IP_of_pi -allow allowed_ip_address
But I can't connect to raspberry by UltraVNC Viewer, I write: ip:0, but no connection. How resolve this problem?

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Running VNC

Wed Jul 08, 2015 12:10 pm

Try connecting with:
IP:5900
There are 10 types of people: those who understand binary and those who don't.

Ivan219
Posts: 118
Joined: Sun Jul 05, 2015 10:01 pm

Re: Running VNC

Wed Jul 08, 2015 12:49 pm

Unfortunately, not working.

Ivan219
Posts: 118
Joined: Sun Jul 05, 2015 10:01 pm

Re: Running VNC

Wed Jul 08, 2015 5:48 pm

I resolve it! Thank you)

User avatar
elParaguayo
Posts: 1943
Joined: Wed May 16, 2012 12:46 pm
Location: London, UK

Re: Running VNC

Wed Jul 08, 2015 8:11 pm

Ivan,

Can you please post your solution so that anyone else who has this problem can see how you managed to get it working.

elP
RPi Information Screen: plugin based system for displaying weather, travel information, football scores etc.

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: Running VNC

Wed Jul 08, 2015 8:26 pm

elParaguayo wrote:Ivan,

Can you please post your solution so that anyone else who has this problem can see how you managed to get it working.

elP
Usually, when someone just posts "I solved it!" - with no details - it is because they realized they did something stupid and they just wish the whole thing would go away...
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

Ivan219
Posts: 118
Joined: Sun Jul 05, 2015 10:01 pm

Re: Running VNC

Thu Jul 09, 2015 3:41 pm

Sorry, that I did not write directly. I resolve problem with do all steps in instruction again, I think problem was that I close console window, and try to start VNC remote.

Return to “Python”