It is currently Tue Jul 17, 2018 2:03 pm
All times are UTC + 8 hours

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

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

Postby eightace » Sat Jun 11, 2016 5:38 pm

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?
eightace
 
Posts: 46
Joined: Sat Feb 15, 2014 11:41 pm

Re: Xnc not accessible - AS5102 on 2.6.1.R5H1

Postby father.mande » Sat Jun 11, 2016 6:24 pm

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.
AS5002T / AS202TE / AS1002T
APKG Download : https://www.father-mande.ovh/
In addition to this forum ; NOT to replace it
My Forum specific to my APKG : https://www.father-mande.ovh/phpBB3/
User avatar
father.mande
 
Posts: 533
Joined: Sat Sep 12, 2015 2:55 am

Re: Xnc not accessible - AS5102 on 2.6.1.R5H1

Postby eightace » Sat Jun 11, 2016 11:14 pm

Thanks :D
Doing it as root rather than admin worked
eightace
 
Posts: 46
Joined: Sat Feb 15, 2014 11:41 pm

Return to Xnc-Server

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest