[SOLVED] VNC server

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

[SOLVED] VNC server

Postby Koubiacz » Tue Sep 16, 2014 9:03 pm

Hello,

I want to install a VNC server on my RaspberryPi.

When I made pacman -S tightvnc or pacman -S tightvnc
The result is «error :target not found»
I updated the repositories with «pacman -Syy» but it did not change anything.

Is tightvnc works with Arch Linux Arm?

Thx
Last edited by Koubiacz on Wed Sep 17, 2014 10:31 am, edited 1 time in total.
Koubiacz
 
Posts: 8
Joined: Tue Sep 16, 2014 8:44 pm

Re: VNC server

Postby Geoff » Tue Sep 16, 2014 9:20 pm

The package you want is x11vnc.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: VNC server

Postby krabat » Tue Sep 16, 2014 9:46 pm

TightVNC isn't part of the official repositories any more. You might want to try TigerVNC / package tigervnc which is a fork instead.

x11vnc can afaik be used similarly but its main purpose is providing access to the X server running on hardware which is somewhat different from the mode of operation of Tight/TigerVNC.

If You should insist on using TightVNC, it's still available from the AUR of Arch Linux x86. Building the package on Arch Linux ARM does require some tweaking of PKGBUILD, though.
krabat
 
Posts: 57
Joined: Wed Jun 04, 2014 8:03 pm

Re: VNC server

Postby Koubiacz » Tue Sep 16, 2014 9:51 pm

OK, I'll try with x11vnc.
Are you a tutorial it to make it work with lxde?

Thx
Koubiacz
 
Posts: 8
Joined: Tue Sep 16, 2014 8:44 pm

Re: VNC server

Postby Geoff » Tue Sep 16, 2014 11:04 pm

$this->bbcode_second_pass_quote('Koubiacz', 'A')re you a tutorial it to make it work with lxde?

Put a line like this at the end of your ~/.xprofile

$this->bbcode_second_pass_code('', '[ -x /usr/bin/x11vnc ] && /usr/bin/x11vnc -forever -display :0 -rfbauth ~/.x11vnc/passwd &')
You can use "x11vnc -storepasswd ..." to create the ~/.x11vnc/passwd file. Also, you will want to enable autologin in /etc/lxdm/lxdm.conf
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: VNC server

Postby Koubiacz » Wed Sep 17, 2014 10:14 am

I followed the instructions.

LXDE starts up automatically with autologin.

As against that when I want to connect to the VNC server from another computer, the password I chose with "x11vnc -storepasswd" is not recognized
Koubiacz
 
Posts: 8
Joined: Tue Sep 16, 2014 8:44 pm

Re: VNC server

Postby Koubiacz » Wed Sep 17, 2014 10:30 am

I solved the problem

I replaced
[ -x /usr/bin/x11vnc ] && /usr/bin/x11vnc -forever -display :0 -rfbauth ~/.x11vnc/passwd &
by
[ -x /usr/bin/x11vnc ] && /usr/bin/x11vnc -forever -display :0 -rfbauth /home/<MY_USER_NAME>/.vnc/passwd &

And it works.
Thank you for your help
Koubiacz
 
Posts: 8
Joined: Tue Sep 16, 2014 8:44 pm

Re: [SOLVED] VNC server

Postby cloph » Mon Sep 22, 2014 5:59 pm

For the sake of completeness: unless you really are in need for VNC, the alternatives like x2go are also worth a look...
cloph
 
Posts: 7
Joined: Tue Aug 19, 2014 5:19 pm

Re: [SOLVED] VNC server

Postby Koubiacz » Mon Sep 22, 2014 9:40 pm

hello,
I did not know x2go.

I chose VNC because I already use it on two other computers.
I already Tight VNC client installed on my Windows computer
Koubiacz
 
Posts: 8
Joined: Tue Sep 16, 2014 8:44 pm

Re: [SOLVED] VNC server

Postby Socaltom » Mon Sep 22, 2014 10:11 pm

xrpd is another option. It runs over tigervnc, but allows login with windows remote desktop.
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 74 guests