Page 1 of 1

(solved) Xnc not accessible - AS5102 on 2.6.1.R5H1

Posted: Sat Jun 11, 2016 5:38 pm
by eightace
I have installed Xnc-Server and it was working but now isn't. Status and conf below and doesn't let me alter conf - is this why it isn't working?

admin@AS-5102T:/volume1/home/admin $ /usr/local/bin/vnc_mngt status
x11vnc is running
Command used are (2 lines is normal) :
5149 admin 0:08 /usr/local/AppCentral/x11vnc/bin/x11vnc -loop -many -rfbport 5900 -o /var/log/x11vnc.log

admin@AS-5102T:/volume1/home/admin $ /usr/local/bin/vnc_mngt conf
Parameters of configuration file are :
[param]
many = TRUE
password = FALSE
atboot = FALSE
port = 5900
xrandr = FALSE

admin@AS-5102T:/volume1/home/admin $ /usr/local/bin/vnc_mngt restart
/usr/local/bin/vnc_mngt: line 136: can't create /var/log/x11vnc.log: Permission denied

admin@AS-5102T:/volume1/home/admin $ /usr/local/bin/vnc_mngt enable_start_at_boo
t
Errno (37): No locks available

admin@AS-5102T:/volume1/home/admin $ netstat -lpt | grep 5900 does not result in any output at all!

Any fixes?

Re: Xnc not accessible - AS5102 on 2.6.1.R5H1

Posted: Sat Jun 11, 2016 6:24 pm
by father.mande
Hi,

Hum!

1 normally you MUST have two (2) lines in the status response
... first is for x11vnc master with PID 1 as parent
... second is for the waiting connection ...

2 lock and permission denied are linked to the fact that you use admin and not root
retry after connection in ssh using root / same_admin_password

3 lock is refuse because confutil (the asustor tools to manage .conf and .ini file is reserved for root ... no idea why ??? ) that I use to manage config file is reserved to root.
... in future version of my apkg ... I will supply another tool (iniutil) to do the same but also available as any user (including root) just restricted by "standard" access roght to the file
so same connect you as root

Philippe.

Re: Xnc not accessible - AS5102 on 2.6.1.R5H1

Posted: Sat Jun 11, 2016 11:14 pm
by eightace
Thanks :D
Doing it as root rather than admin worked