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

Moderator: Lillian.W@AST

Post Reply
eightace
Posts: 46
youtube meble na wymiar Warszawa
Joined: Sat Feb 15, 2014 11:41 pm

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

Post 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?
User avatar
father.mande
Posts: 1809
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: Xnc not accessible - AS5102 on 2.6.1.R5H1

Post 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.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
eightace
Posts: 46
Joined: Sat Feb 15, 2014 11:41 pm

Re: Xnc not accessible - AS5102 on 2.6.1.R5H1

Post by eightace »

Thanks :D
Doing it as root rather than admin worked
Post Reply

Return to “Xnc-Server”