Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to connect to Mir #30

Open
Dwijad opened this issue May 3, 2017 · 7 comments
Open

Failed to connect to Mir #30

Dwijad opened this issue May 3, 2017 · 7 comments
Labels

Comments

@Dwijad
Copy link

Dwijad commented May 3, 2017

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

@mik30s
Copy link
Owner

mik30s commented May 3, 2017

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.

@Dwijad
Copy link
Author

Dwijad commented May 3, 2017

I have installed gnome which was missing earlier and the Cysboard is displaying System and CPU information but RAM information is 0 KB.

Regards

cysboard

/etc/lsb-release and /etc/os-release

cysboard2

@mik30s
Copy link
Owner

mik30s commented May 3, 2017

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.

@Dwijad
Copy link
Author

Dwijad commented May 3, 2017

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

selection_001

Regards

@mik30s
Copy link
Owner

mik30s commented May 3, 2017

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?

@Dwijad
Copy link
Author

Dwijad commented May 3, 2017

Permissions seems ok. I am running cysboard as root and all the files that i am using/created have root ownership.
selection_002

The main.html file

main.txt

@mik30s
Copy link
Owner

mik30s commented May 3, 2017

Ok, looking for a fallback source.

@mik30s mik30s added the bug label May 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants