Open suyashmahar opened 5 years ago
@suyashmahar
Is it Ubuntu 16 or 18?
@kpocza Ubuntu 18
@suyashmahar
I thought so. Ubuntu 16 is the supported version. For sure I won't have time in the recent weeks and months to add Ubuntu 18 support due to my other activities. Please use LoWe with Ubuntu 16 up until then. Thank you for your understanding.
@kpocza This is a bummer. Is the support for Ubuntu 18 requires significant changes to the codebase? If not, I might be able to give it a try.
Anyway, thanks a lot for the awesome project! :-)
@suyashmahar Last year I started to deal with Ubuntu 18 support. If I remember correctly some kind of handle inheritance should be introduced between processes and the device handling needs some tricks due to changes in X, but no sure. Anyway, I've pushed the changes I made last year to branch w10a18uu18. Feel free to give a try to implement Ubuntu 18 support.
@suyashmahar Please check if Ubuntu 18 works for you as well with the latest LoWe vesion.
@kpocza Thanks, I'll let you know in a day or two.
@kpocza
[INFO]{config}: Config loaded successfully [INFO]{main}: Determining program mode from exec param: X [INFO]{main}: Main program name is X [INFO]{main}: App config identified [INFO]{main}: Device handler configured [INFO]{checkexposer}: Ensuring LoWeExposer handled devices... [INFO]{fb}: Path: /dev/fb0 [INFO]{fb}: Path: /tmp/fb0 [INFO]{tty}: Path: /dev/tty0 [INFO]{tty}: Path: /dev/tty99 [INFO]{mice}: Path: /dev/input/evmice [INFO]{kbd}: Path: /dev/input/evkbd [INFO]{checkexposer}: Connecting to LoWeExposer on port no. 12345 [INFO]{fb}: Path: /dev/fb0 [INFO]{fb}: Path: /tmp/fb0 [INFO]{tty}: Path: /dev/tty0 [INFO]{tty}: Path: /dev/tty99 [INFO]{mice}: Path: /dev/input/evmice [INFO]{kbd}: Path: /dev/input/evkbd [INFO]{main}: Checking the availability of all devices... [INFO]{fb}: Path: /dev/fb0 [ERR]{fb}: File cannot be accessed [INFO]{fb}: Path: /tmp/fb0 [INFO]{fb}: Device check ok [INFO]{tty}: Path: /dev/tty0 [INFO]{tty}: Path: /dev/tty99 [ERR]{tty}: File cannot be accessed [ERR]{tty}: File cannot be accessed [INFO]{mice}: Path: /dev/input/evmice [ERR]{mice}: File cannot be accessed [ERR]{mice}: File cannot be accessed [INFO]{kbd}: Path: /dev/input/evkbd [ERR]{kbd}: File cannot be accessed [ERR]{kbd}: File cannot be accessed [ERR]{main}: One or more devices are not available [INFO]{main}: Dev file fixup script is the following:
/dev/fb0 chmod 666 /dev/fb0 /dev/tty99 chmod 666 /dev/tty99 mkdir -p /dev/input /dev/input/evmice chmod 666 /dev/input/evmice mkdir -p /dev/input /dev/input/evkbd chmod 666 /dev/input/evkbd
[INFO]{main}: Executing script as root [sudo] password for networm: [INFO]{main}: Script done. Rechecking device availability... [INFO]{fb}: Path: /dev/fb0 [INFO]{fb}: Device check ok [INFO]{fb}: Path: /tmp/fb0 [INFO]{fb}: Device check ok [INFO]{tty}: Path: /dev/tty0 [INFO]{tty}: Path: /dev/tty99 [INFO]{tty}: Device check ok [INFO]{mice}: Path: /dev/input/evmice [INFO]{mice}: Device check ok [INFO]{kbd}: Path: /dev/input/evkbd [INFO]{kbd}: Device check ok [INFO]{main}: Waiting for process to start... [INFO]{main}: X will be started [INFO]{main}: PID: 36 [INFO]{starter}: Starting X [INFO]{main}: Spinning... [ERR]{starter}: Return code of exec: -1 errno: 2 [ERR]{main}: Something went wrong. Cannot determine program's pid
I using this on Ubuntu 18. I tried but what is causing the error
@priyaranjankumar According to the log you provided the errno of exec is 2. Are you correctly specifying the X executable? Are all required packages installed? Please check the instructions again.
I run into the following error on starting loweagent using
./loweagent -e X
The x log file output is:
I followed the steps for running x programs. Thanks.