Comments (8)
Interesting, what distro are you using so I can build a test VM for this case?
from meshcentral-routeplus.
debian 10.3 with /etc/gdm3/daemon.conf
[daemon]
# Uncomment the line below to force the login screen to use Xorg
WaylandEnable=false
Same system than for this bug report :
gdm3 is running X but the meshagent doesn't seem to be able to pick up the login screen
Thanks!
from meshcentral-routeplus.
@ryanblenis I know how to recompile the linux meshagent if needed
from meshcentral-routeplus.
And of I forgot : the machine was running a GNOME/X11 session of a logged in user.
from meshcentral-routeplus.
Thanks, I'll install a VM with Debian 10.3 on it and give it a test. The plugin doesn't require a recompile of the MeshAgent (it's all in the MeshCore / aka Javascript). If it did require a recompile we'd likely be involving Brian from the MeshAgent project because it would be a root cause of the agent functionality itself, and not the plugin.
from meshcentral-routeplus.
Ok, so I
- installed a fresh copy from https://cdimage.debian.org/debian-cd/current/amd64/bt-cd/debian-10.3.0-amd64-netinst.iso.torrent ran the default install
- set WaylandEnable=false in /etc/gdm3/daemon.conf
- Rebooted, installed MeshAgent (left logged into X session as user for the remainder of the test)
- Set the debian PC as "My Computer" in RoutePlus
- Added a route to another node
- Was still able to remote desktop in via MeshCentral without issue.
Just want to make sure those are the repeatable steps to take to try to reproduce the issue... because I'm not seeing it on my end. Let me know if I missed something.
from meshcentral-routeplus.
I tried again (cleanup/reboot/reinstall) and I got sometimes Desktop working and sometimes not but not depending on RoutePlus additions as for my first tests.
In the webagent console after my experiments I noticed ("versions" I explicitely typed it):
ncaughtException1: Error: => EventEmitter.emit(): Event dispatch for 'Command' on 'MeshAgent' threw an exception: TypeError: undefined not callable (property 'write' of [object Object]) in method 'handleServerCommand()'
uncaughtException1: Error: => EventEmitter.emit(): Event dispatch for 'Command' on 'MeshAgent' threw an exception: TypeError: undefined not callable (property 'write' of [object Object]) in method 'handleServerCommand()'
uncaughtException1: Error: => EventEmitter.emit(): Event dispatch for 'Command' on 'MeshAgent' threw an exception: TypeError: undefined not callable (property 'write' of [object Object]) in method 'handleServerCommand()'
uncaughtException1: Error: => EventEmitter.emit(): Event dispatch for 'Command' on 'MeshAgent' threw an exception: TypeError: undefined not callable (property 'write' of [object Object]) in method 'handleServerCommand()'
Error trying to determine XAUTHORITY/DISPLAY: TypeError: undefined not callable (property 'trim' of [object Function])
uncaughtException1: Error: => EventEmitter.emit(): Event dispatch for 'data' on 'http.WebSocketStream.decoded' threw an exception: TypeError: cannot read property 'userid' of undefined in method 'onTunnelData()'
uncaughtException1: Error: => EventEmitter.emit(): Event dispatch for 'data' on 'http.WebSocketStream.decoded' threw an exception: TypeError: undefined not callable (property 'write' of [object Object]) in method 'onTunnelData()'
uncaughtException1: Error: => EventEmitter.emit(): Event dispatch for 'data' on 'http.WebSocketStream.decoded' threw an exception: TypeError: undefined not callable (property 'write' of [object Object]) in method 'onTunnelData()'
uncaughtException1: Error: => EventEmitter.emit(): Event dispatch for 'data' on 'http.WebSocketStream.decoded' threw an exception: TypeError: undefined not callable (property 'write' of [object Object]) in method 'onTunnelData()'
uncaughtException1: Error: => EventEmitter.emit(): Event dispatch for 'data' on 'http.WebSocketStream.decoded' threw an exception: TypeError: undefined not callable (property 'write' of [object Object]) in method 'onTunnelData()'
uncaughtException1: Error: => EventEmitter.emit(): Event dispatch for 'Command' on 'MeshAgent' threw an exception: TypeError: undefined not callable (property 'write' of [object Object]) in method 'handleServerCommand()'
uncaughtException1: Error: => EventEmitter.emit(): Event dispatch for 'Command' on 'MeshAgent' threw an exception: TypeError: undefined not callable (property 'write' of [object Object]) in method 'handleServerCommand()'
> versions
{
"openssl": "1.1.1g",
"duktape": "v2.3.0",
"meshAgent": "2020-04-26T23:39:59.000Z"
}
uncaughtException1: Error: => EventEmitter.emit(): Event dispatch for 'data' on 'http.WebSocketStream.decoded' threw an exception: TypeError: cannot read property 'userid' of undefined in method 'onTunnelData()'
uncaughtException1: Error: => EventEmitter.emit(): Event dispatch for 'data' on 'http.WebSocketStream.decoded' threw an exception: TypeError: undefined not callable (property 'write' of [object Object]) in method 'onTunnelData()'
uncaughtException1: Error: => EventEmitter.emit(): Event dispatch for 'data' on 'http.WebSocketStream.decoded' threw an exception: TypeError: undefined not callable (property 'write' of [object Object]) in method 'onTunnelData()'
uncaughtException1: Error: => EventEmitter.emit(): Event dispatch for 'data' on 'http.WebSocketStream.decoded' threw an exception: TypeError: undefined not callable
(long list of the last one if I go back to Desktop and do something)
For reference I have 3 plugins installed enabled in meshcentral Event Log 0.0.23, Script Task 0.0.15 and RoutePlus 0.1.3.
I will probably reinstall the server and all the agents in the next few days, feel free to close if you don't think issues are related to routeplus.
Sorry for the noise.
from meshcentral-routeplus.
Sorry, just want to confirm (probably a language gap with me reading your last comment) that you tested without plugins and have the same issues. In that case, we can close this as it is more than likely unrelated to the plugin.
from meshcentral-routeplus.
Related Issues (18)
- How to enable plugins HOT 2
- Configure individual "My Computer" HOT 2
- Feature Request: Stored mappings
- "value is not defined" error when trying to install HOT 2
- Bug or lack of understanding issue? HOT 5
- Source port null
- doesn't work on the new meshcentral 0.9.19 HOT 1
- can't remove rule once it's added HOT 1
- Cannot read properties of undefined (reading 'getUserMaps') HOT 2
- Connection breaks after some time HOT 3
- RDP link HOT 1
- Source Port: 0 HOT 2
- Potential Tunnel Instability in Some Instances HOT 1
- Icon missing for nodes with PCB-style icon HOT 1
- Feature: Static Local Port Assignment HOT 20
- Cannot locate debug file routeplus.txt HOT 5
- Disconnects when click on RoutePlus RDP and page refresh HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meshcentral-routeplus.