Open Dwijad opened 7 years ago
Hmm...I'm not clear on what libsciter is trying to do here. I guess you could install mir and see what happens. I'll try to clarify with the developers of libsciter in the meantime. Thanks for catching this.
I have installed gnome which was missing earlier and the Cysboard is displaying System and CPU information but RAM information is 0 KB.
Regards
/etc/lsb-release and /etc/os-release
Is that your own theme you are working on? Maybe you used the wrong ID names.
Can you also check if you have /proc/meminfo
on you system.
Memory Info from proc
root@ubuntu:~/.config/cysboard# cat /proc/meminfo MemTotal: 1012716 kB MemFree: 142380 kB MemAvailable: 613900 kB Buffers: 35164 kB Cached: 439816 kB SwapCached: 7464 kB Active: 383652 kB Inactive: 340012 kB Active(anon): 126256 kB Inactive(anon): 148828 kB Active(file): 257396 kB Inactive(file): 191184 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 262140 kB SwapFree: 211284 kB Dirty: 28 kB Writeback: 0 kB AnonPages: 244164 kB Mapped: 112432 kB Shmem: 26400 kB Slab: 73492 kB SReclaimable: 42836 kB SUnreclaim: 30656 kB KernelStack: 4972 kB PageTables: 18272 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 768496 kB Committed_AS: 1922180 kB VmallocTotal: 34359738367 kB VmallocUsed: 0 kB VmallocChunk: 0 kB DirectMap4k: 14200 kB DirectMap2M: 1034240 kB DirectMap1G: 0 kB
I am using the example template from https://github.com/mike168m/Cysboard
Regards
Ok, seems like I have to start looking for alternate sources for getting information. I will see if i can use the posix apis on linux. One last thing, are there any permisssions on that file which might cause this?
Permissions seems ok. I am running cysboard as root and all the files that i am using/created have root ownership.
The main.html file
Ok, looking for a fallback source.
Hi I have compiled Cysboard in Ubuntu 16.10 and the cysboard executable is generated in the folder ~/Cysboard/build
I am trying to execute it like below.
$ cd ~/Cysboard/build $ root@ubuntu:~/Cysboard/build# ls -l total 19228 -rwxr-xr-x 1 root root 535168 May 3 14:09 Cysboard -rw-r--r-- 1 root root 19165304 May 3 13:58 libsciter-gtk-64.so $ ./Cysboard Failed to connect to Mir: Failed to connect to server socket: No such file or directory Unable to init server: Could not connect: Connection refused
Shall i install unity8-desktop-session-mir ?
Regards