/srv/irclogs.ubuntu.com/2015/06/22/#ubuntu-mir.txt

=== mibofra is now known as Guest24484
=== davmor2_ is now known as davmor2
=== marcusto_ is now known as marcustomlinson
=== alan_g is now known as alan_g|lunch
=== Guest24484 is now known as mibofra
=== alan_g|lunch is now known as alan_g
=== mibofra is now known as Guest46448
=== Guest46448 is now known as mibofra
=== mibofra is now known as Guest29234
bschaeferhello, so im running into an interesting issue.15:57
bschaeferon a barebone system, i've set up a lightdm session that runs unity-system-compositor, the mir server starts up just fine15:58
bschaeferbut when i attempt to run a demo on it by (export MIR_SOCKET=/run/lightdm-mir-0) it only renders the first frame15:58
bschaeferthen goes black15:58
bschaefersoo things that take a second to swap buffers last longer such as the eglflash15:59
bschaeferso after the first swap buffers nothing else renders15:59
=== Guest29234 is now known as mibofra
alan_gbschaefer: a Mir server connects to USC and a client to that server? Or you're connecting the client direct to USC?16:30
bschaeferalan_g, hmm im connecting directly the socket that was produced by USC16:31
bschaefer/usr/sbin/unity-system-compositor.sleep --file '/run/lightdm-mir-0' --from-dm-fd 12 --to-dm-fd 15 --vt 7 --enable-hardware-cursor=true16:31
alan_gbschaefer: I can't remember the details but USC gets instructions what to display over dbus16:32
bschaeferalan_g, i suppose i dont see a mir server it self running processes wise, but i kind of though USC was a server? (Since it had a cursor)16:32
alan_gbschaefer: it is16:32
bschaeferalan_g, o .. hmm who would be good to poke about that?16:32
bschaeferAs it would be nice to connect directly, but if i need to go through dbus16:33
alan_gbschaefer: on recent versions of USC you can "bypass" the dbuss stuff with --debug-without-dm & --debug-active-session-name <name client connects with>16:34
alan_gBut that's not intended for production scenarios16:35
bschaeferalan_g, name client connects with being the username?16:35
bschaeferalan_g, well shots, as this would be for a kiosk type system16:35
bschaeferwhere we have no unity816:35
alan_gbschaefer: No, the name it gives in the connection call16:35
bschaefero i see, i can give that a try to figure out if thats the issue16:36
bschaeferthanks!16:36
AlbertAvogons: I think we'll have to merge this one manually: https://code.launchpad.net/~michael.nelson/mir/snappy-packaging-fix-makefile/+merge/26241516:39
alan_gAlbertA: +116:40
camakoAlbertA, because the dest (sanppy-packaging branch) is not configured for autolanding? Makes sense.16:41
bschaeferalan_g, USC doesn't seem to know those args16:43
alan_gbschaefer: I guess they haven't hit archive yet16:44
bschaeferalan_g, yeah thats what i was thinking shoot16:44
bschaeferyeah im running 15.0416:44
bschaefer(in the VM)16:44
bschaeferalan_g, i just find it strange i get 1 frame (which would be a poor security authenticator)16:44
bschaeferif 1 frame keeps leaking16:44
alan_gYes, that would be a bug16:45
alan_gCould you use mir_demo_server instead of USC? (Although the 0.14 series would be more useful)16:45
alan_gOr do you need e.g. the display manager support16:46
alan_g?16:46
bschaeferalan_g, i need the ... upstart session16:46
bschaeferfrom lightd16:46
bschaeferlightdm ---> usc16:47
bschaeferIIRC16:47
bschaeferas i need the dbus session for the ubuntu SDK16:47
alan_gIn that case you need to get the display manager to tell USC to show your client.16:49
bschaeferalan_g, how does one do that? dbus?16:50
alan_gAlbertA: have you looked at how that^ happens?16:50
bregmawhat is the difference between the display manager and USC?16:50
bschaeferAlbertA, i have an entire ubuntu 15.04 image with the issue on it :) (reproducible)16:51
alan_gbregma: I think that's what the --from-dm-fd  --to-dm-fd sockets given to USC connect to16:51
bschaeferwhat is the display manager then? Do i even have one?16:52
bschaeferor the USC is doing that, and passes that to the mir server?16:52
bregmaLightDM is the display manager16:52
* alan_g thinks it is intended (by someone long ago) behaviour16:52
bschaeferi see16:52
bregmaLightDM == "light display manager"16:52
bschaeferduh16:52
bregmabut all LightDM should do is fork off USC and pass its socket name into the session16:53
bregmaUSC should be the display server16:53
bschaeferright, but something has to be *actively* causing the demos to render black (or render over the client)16:53
* bschaefer assumes the background could be rendering over the client16:54
bregmabut if it's been too intimate with its first cousin Unity8 there may be a problem16:54
bschaeferyeah16:54
* bregma cues up some banjo music16:54
bschaeferhaha16:54
bschaeferbregma, maybe theres some argument i can add to lightdm16:54
alan_gSo USC gets told (over dbus I think) "active-session-name='something'" and then 'something' is allowed to show16:54
bschaeferto idk...something16:54
bschaeferalan_g, i see16:55
bschaeferi could attempt to figure out how to send dbus message to USC16:55
alan_gBut I've only seen the USC end of the code16:55
alan_g(And stubbed it out for debugging)16:55
bschaeferalan_g, would that be RAOF department? I could always poke him later today16:56
AlbertAalan_g: I don't remember at the moment....16:56
AlbertAbschaefer: yeah he'll most likely point you in the right direction :)16:56
alan_gI'm not sure. I know alf_ reworked some of the dbus internals and AlbertA looked at some related parts of the stack.16:57
bschaeferAlbertA, cool thanks!16:57
bschaeferyeah... ill try to send some dbus stuff through to test around16:57
AlbertAbschaefer: or mterry may also know16:57
bschaeferalan_g, were those args you gave before for dbus or the command line args when starting the server16:57
bschaeferi think seb was also working with lightdm/unity-next stuff16:58
alan_gThey're USC command line (to bypass all the dbus stuff so I could run the damn thing as  Mir server)16:58
bschaeferalan_g, yeah they must not be in main yet :(16:58
bschaeferthanks again!16:58
alan_gyw16:58
AlbertAbschaefer: well in touch - it is whoever calls usc-wrapper in /usr/share/ubuntu-touch-session....17:00
bschaeferAlbertA, for .. the dbus stuff?17:00
bschaeferAlbertA, i wont have that though since im not using unity817:00
AlbertAbschaefer: no I mean the --from-dm-fd --to-dm-fd options17:00
bregmaor ubuntu-touch17:00
bschaeferi think at this point i just need to figure out ... what unity8 is doing17:01
bschaeferthat it no longer is doing that is required for rendering17:01
bschaeferas i need to fill in those roles if needed17:01
bregmadoes USC only work if it's hosting a nested Mir server maybe?17:01
bschaeferAlbertA, bregma those folders dont exists on my VM17:01
bschaeferbregma, maybe i need to start a "session" server?17:01
bschaeferie. nested...17:02
alan_gbregma: it works as long as something supplied  "active-session-name='something'" and it gets a session called 'something'17:02
bschaeferthe session is named session-017:02
bschaeferi get that from logs17:02
bregmatoo much mystery here17:02
bschaefermaybe the active session isn't being set17:02
bschaeferhaha yeah...17:02
=== alan_g is now known as alan_g|EOD
AlbertAbschaefer: maybe you can reverse engineer from here :)17:03
AlbertAhttp://bazaar.launchpad.net/~phablet-team/ubuntu-touch-session/trunk/files17:03
bschaeferAlbertA, ill see what i can find! Thanks!17:04
bschaeferhttp://bazaar.launchpad.net/~phablet-team/ubuntu-touch-session/trunk/view/head:/52-ubuntu-touch.conf17:04
bschaeferlooks like thats doing something lightdm related17:04
bschaeferseb128, heeey, soo did you have any issues with lightdm/USC and rending?17:04
bschaeferrendering*17:04
seb128bschaefer, ECONTEXT17:05
seb128when?17:05
bschaeferseb128, :), soo17:05
seb128using what?17:05
bschaeferright, let me fill you in17:05
seb128:-)17:05
bschaeferso, i've a 15.04 system. I've install lightdm/USC and configured it such that USC is running on boot (and auto logins)17:05
bschaeferi see the hardware cursor17:05
bschaeferseb128, from there when i run a demo client i only see 1 frame rendered before it goes black17:06
bschaeferseb128, my guess is you didnt run into this since you're using unity8 which fills in those holes17:06
seb128right17:06
bschaeferbut wanted to double check :)17:06
bschaefercool, soo it has to be something unity8 is doing17:06
bschaeferill dig through what AlbertA gave me17:06
bschaeferAlbertA, so interestingly if i set the spinner to a mir demo client it renders fine17:30
bschaefersoo im assuming the USC is rendering its own surface that is being forced to the top17:30
bschaeferdrawing over the demos when they are first asked to render on the USC17:30
AlbertAbschaefer: yeah USC has logic to either show "the spinner" when there's no session active17:30
AlbertAor hide it17:30
AlbertAonce a session name arrives and its activated17:30
bschaeferAlbertA, soo i think thats the issue then... how do we "start the session"17:31
bschaeferalan_g|EOD, was talking about it17:31
AlbertAbschaefer: that's the part I'm not familiar with...it's a message that arrives through that dm socket17:31
AlbertAspecified when usc is started....17:31
AlbertAbut I'm not sure who sends it17:32
bschaeferAlbertA, cool, thanks! (slowly making progress haha)17:32
AlbertAbschaefer: so examining processes in ubuntu-touch phone device17:43
AlbertAit's a pipe,17:43
AlbertAwith lightdmroot at one end17:44
AlbertAlightdm...sorry17:44
AlbertAnot sure if that helps :)17:44
bschaeferAlbertA, all info is helpful :)17:44
bschaefersoo a pipe from lightdm ... so bregma was thinking it was a rasied signal17:44
bschaeferthat USC was waiting for17:45
bschaeferthat unity8 usually does when its up and running17:45
AlbertAbschaefer: no a message containing the expected session name is received..17:48
AlbertAand the session name is "session-0"17:48
AlbertAthrough that pipe...17:49
bschaeferhmm bregma is talking about logind now17:49
bschaeferwhich would17:49
bschaeferwrite to that FD17:49
bregmabschaefer, it's LightDM that writes the sessionId17:50
bregmaI dunno where LightDM gets it from yet, but I'm assuming it;s related to logind or similar17:51
bschaeferwell i have:17:52
bschaefer[+0.14s] DEBUG: Session pid=803: Started with service 'lightdm-autologin', username 'ubuntu'17:52
bschaefer[+0.17s] DEBUG: Seat seat0: Session authenticated, running command17:52
bschaefer[+0.17s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session017:52
bschaeferthings like that17:52
bschaeferim not sure if...17:52
bschaeferthe session starting from lightdm "means" the session we want17:53
bregmabschaefer, is that from /var/log/lightdm?17:53
bschaeferbregma, yeah17:54
* bschaefer pastes the whole log17:54
bschaeferhttp://paste.ubuntu.com/11758128/17:55
bregmabschaefer, what does /usr/bin/mir-barebone-session do?17:57
bschaeferbregma, simple: http://paste.ubuntu.com/11744099/17:58
bschaeferstarts upstart17:58
bschaeferand set a couple ENV vars17:58
bregmathe log in the pastebin shows LightDM activates session c1, which means it sends the required stuff to USC over the aforementioned socket of love17:58
bschaeferhttp://bazaar.launchpad.net/~phablet-team/ubuntu-touch-session/trunk/view/head:/ubuntu-touch-session17:58
bschaeferwhich does a few more things but nothing i saw we needed needed17:59
bschaeferbregma, this is the USC log: http://paste.ubuntu.com/11758157/18:02
bschaeferthe biggest thing i see is: set_active_session 'session-0'18:02
bschaeferwhich means ... i seems to be getting set the active session18:02
bschaeferAlbertA, ^18:02
bschaeferit seems*18:03
bschaeferwhich means the spinner should stop but hmm18:03
bschaefermaybe something else is missing18:03
bregmaI'm wondering if something needs to tell USC to switch to the next session, since the spinner is the first session?18:03
bschaeferthat makes sense18:04
* bschaefer looks at unity818:04
AlbertAbschaefer: right, so once the mir client connects...it checks if the name matches the given session name...and shows that....18:04
AlbertAhides the spinner...18:04
bschaeferAlbertA, this would be done in lp:unity8? most likely?18:04
* bschaefer hopes18:04
AlbertAbschaefer: probably qtmir18:04
bschaeferit could be done when it creates its nested server...18:04
bschaeferAlbertA, o right, cool thanks ill look through there18:05
AlbertAprobably names it session-018:05
* bschaefer hopes it gets grepped18:05
bregmathe term 'session' seems to be woefully overloaded here18:06
bschaeferAlbertA, no hard coded "session-0"18:06
bschaefervery18:06
bregmawe should call everything a 'thing'18:06
bregmaThing 1 and Thing 218:06
bschaeferthat would make more sense, since thing doesnt mean anything explicitly...18:06
bregmaneither does 'session' at this point18:07
bschaeferyeah18:07
ogra_bregma, that has a nice ring to it ! i'm all for it ... espectially shine everything will then have an internet too :)18:07
ogra_*since18:07
AlbertAbschaefer: so probably an upstart configuration?18:08
bschaefer1188 results found for session18:08
bschaeferAlbertA, oo good idea, i can check around18:08
bregmahttp://www.cliparthut.com/clip-arts/350/thing-1-2-350883.jpg18:08
ogra_haha18:08
bschaeferhaha18:08
AlbertAhehe...18:08
ogra_though i think we should namespace them "that thing", "other thing" ... istead of just numbering ... thats so unpersonal18:09
davmor2bregma: there are always 2 things18:09
bschaefer        gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.UpdateActivationEnvironment "@a{ss} {'MIR_SOCKET': '$MIR_SERVER_FILE'}"18:11
bschaeferlooks somewhat ...18:11
bschaefero nm18:11
bschaeferthats to point to a different mir socket18:11
davmor2bregma: https://www.youtube.com/watch?v=biW9BbWJtQU18:12
* bregma raised a passel of kids and is only too familiar with the trouble caused by Things18:14
bschaeferbregma, if you look at /usr/share/upstart/unity8.conf18:16
bschaeferwe might need something like this18:16
bschaeferit raises the signal18:17
bschaeferim not 100% sure if that dbus signal is needed18:17
bschaeferUSC could wait for that dbus call18:17
bschaeferfor all we know :(18:17
bschaeferbregma, i could try to ... make a eglplasma upstart conf18:18
bschaeferwhere it exec a mir demo instead of unity8 and see what happens...18:18
bschaefer(hopefully it'll stop the demo)18:18
bregmaI see no signal in that file?18:19
bschaeferbregma, o duh i mean:18:20
bschaefer    # Tell unity-mir to raise SIGSTOP after we start18:20
bschaefer    initctl set-env UNITY_MIR_EMITS_SIGSTOP=118:20
bschaefersoo we'll have to create a program that18:20
bschaeferdoes that...18:20
bregmabschaefer, you can try sending a SIGSTOP from the command line, but I suspect that whole SIGSTOP thing is at a higher level than running a Mir demo on USC18:21
bschaeferif its even needed... i suppose i should look at USC18:21
bschaeferbregma, possibly18:21
bschaefernever hurts to try...18:22
bschaeferbregma, you send the signal at USC right?18:22
bregmabschaefer, I do no such thing18:22
bschaeferbregma, haha...18:22
bschaeferi mean the signal needs to be sent to USC?18:23
bregmaI do not believe so18:23
bregmaI see nothing in the code that catches SIGSTOP18:23
bregmaI think the whole SIGSTOP thing is a u-a-l thing18:24
bregmawe're trying to avoid that level18:24
bschaeferyeah18:24
bschaeferand sending a sigstop at UCS... (i cant believe it does this) but stops the spinner anything else trying to render :(18:24
* bschaefer inserts sarcasm above18:25
bschaeferbregma, im just going to look at USC to see if see a wait18:25
bschaeferor see something talks to it to ... idk stop the spinner stuff18:25
bschaeferonces the spinner hides everything shuld work18:25
AlbertAbschaefer: USC receives a session name, stores it internally18:28
AlbertAthen when somebody connects to USC (i.e. mir_connect(...) )18:28
AlbertAthat connection api takes a name...18:28
AlbertAwhen it makes it to the server...USC checks if that session name is the active session or not...18:29
AlbertAif it's not then it's not shown18:29
bschaeferAlbertA, shouldnt i be getting a denied somewhere then?18:29
bschaeferit continues to run that app just fine18:29
AlbertAbschaefer: it probably should be denied...but it's just simply not shown18:29
bschaeferyeah18:30
AlbertAhttp://bazaar.launchpad.net/~unity-system-compositor-team/unity-system-compositor/trunk/view/head:/src/session_switcher.cpp18:30
AlbertAhttp://bazaar.launchpad.net/~unity-system-compositor-team/unity-system-compositor/trunk/view/head:/src/session_switcher.cpp#L9518:30
bschaeferAlbertA, i was just looking through that file18:30
bschaeferi just dont know how to "add" a sesssion to it18:31
bschaeferAlbertA, and it looks like session-0 is being added (which could just be the spinner it self)18:31
* bschaefer tracks down how something would actually add18:32
AlbertAbschaefer: right so that part is ok...18:32
AlbertAthe part that you will be missing is when your client connects to usc...18:33
AlbertAthat session name18:33
AlbertAshould match the session name given by lightdm18:33
bschaeferAlbertA, is there something you can add to clients like --session-name? haha18:33
bschaeferAlbertA, so if i run a client on the command line, what session name would it have?18:33
* bschaefer assumes undefined i suppose18:34
AlbertAbschaefer: right...currently18:34
AlbertAit's mir_connect(..., app_name)18:34
AlbertAapp_name = "egldemo"18:34
bschaeferand the ... is the socket path18:34
bschaeferbut theres no session name18:34
AlbertAso you should probably be able to see that in the unity system-compositor log18:34
bschaeferooo18:35
bschaeferAlbertA, that makes sense: Opening session egldemo18:35
bschaeferi've been seeing that18:35
bschaefersoo i need to add egldemo to the session list18:35
bschaefer(somehow)18:35
AlbertAeither that...or change the name in the examples.... :)18:35
bschaeferhaha true :)18:35
bschaeferAlbertA, but ideally, there would be some sort of dispatcher that would run any client and add each session name18:36
bschaeferto the USC session list18:36
bschaefer./launcher_app <mir_client>18:36
bschaeferbut then...18:36
bschaeferthats pretty much what unity8 does with UAP18:36
AlbertAbschaefer: yeah...just don't know what that is....18:36
AlbertA:)18:36
bschaeferIIRC18:36
bschaeferAlbertA, cool, thanks for the help!18:37
AlbertAbschaefer: np18:38
AlbertAbschaefer: oh BTW...the name used for nested...is configurable through --name or I suppose also MIR_NAME18:40
AlbertAso somewhere, there should be a MIR_NAME=session-018:40
bschaeferAlbertA, but we dont have a nested server atm... do we NEED a nested server?18:41
AlbertAthe nested configuration will use that to specify the connection name to the host server18:41
AlbertAbschaefer: no...just in case you want to figure who is setting that connection name in the case of unity818:41
bschaeferAlbertA, oo right, thanks!18:41
* AlbertA heads out to late lunch18:42
=== charles_ is now known as charles
bschaeferAlbertA, after further looking into things... we are just going to use the mir_demo_server for the server (for now)19:31
bschaeferuntil we look at re-making the USC (as we need a super basic server)19:32
bschaeferthe only issue i can see is the mir socket needs permissions for a user to run a demo on it19:32
bschaefer(ie. i need to do chmod 777 /run/mir_socket)19:32
bschaeferrobert_ancell, hey, i've got a lightdm question. Try to create a bar minimal mir server (right now just attempting with the mir_demo_server). The only22:33
bschaeferissue is its not getting to the session part, where upstart get started22:34
robert_ancellbschaefer, what does lightdm.log say?22:34
bschaeferif i use a config to start USC its fine and the session script starts22:34
bschaeferrobert_ancell, its loads the mir server fine22:34
* bschaefer looks again22:34
bschaeferjust not the session script22:34
robert_ancellbschaefer, what is the contents of the session .desktop file?22:35
robert_ancellAnd using autologin?22:35
bschaeferrobert_ancell, http://paste.ubuntu.com/11744105/22:35
bschaeferrobert_ancell, yup autologin22:35
robert_ancellThat looks good22:36
bschaeferrobert_ancell, http://paste.ubuntu.com/11759515/22:36
bschaeferrobert_ancell, nothing to crazy, and the mir server did start22:36
bschaeferthe only difference is i skip the $@ arguments when i run the mir_server22:36
bschaefervs USC22:37
* bschaefer pastebins the lightdm conf22:37
bschaeferrobert_ancell, http://paste.ubuntu.com/11759518/22:37
bschaeferif i do the run-mir-* it does no run the session script22:37
bschaeferif i run the USC wrapper the session script runs22:37
bschaefer(big issue being that upstart doesnt start)22:38
robert_ancellbschaefer, oh, you don't want to run a compositor at all, i.e. just a single Mir server?22:38
bschaeferrobert_ancell, yup!22:38
robert_ancellbschaefer, have you set up permissions so a user can run mir_demo_server fine?22:39
bschaeferrobert_ancell, thats an issue, and we were thinking of creating a small USC type program22:39
bschaeferthat will manually 777 the socket (like USC does)22:39
bschaeferrobert_ancell, is that the issue?22:39
robert_ancellbschaefer, the main issue is getting access to /dev/input22:40
bschaeferrobert_ancell, the server works besides the mir socket it self needing 777 manually22:40
bschaefercursor input (this is in a VM as well)22:40
robert_ancellok, should be all set up then I guess22:40
bschaeferrobert_ancell, the only issue is i cant get upstart --user to run22:40
robert_ancellbschaefer, why do you need upstart?22:41
bschaefersince the session script doesn't work with i just run my mir demo (which upstart is needed for the dbus session for the ubuntu SDK)22:41
robert_ancellah22:41
bschaeferfun stuff going against everything mir is atm :)22:41
bschaeferUSC depends on unity8 to do stuff soo figured it might be easier to do a simple server22:41
bschaeferbut now ... im not 100% sure why the session script ie. mir-barebone-session doesn't run22:42
bschaeferif and only if i run the mir-demo-server, if i run USC the session script runs fine22:42
robert_ancellbschaefer, it might be easiest to make a simple compositor (i.e. mir-barebone-compositor)22:42
bschaeferrobert_ancell, well what does lightdm need? The umm22:42
robert_ancellIt wouldn't have to do much, just take USC and gut out everything22:42
bschaefer--from-dm-fd 12 --to-dm-fd 1522:43
robert_ancellbschaefer, LightDM just needs to be able to tell the compositor which session to set as active22:43
robert_ancellyeah, and theres a small binary protocol that runs over that22:43
bschaeferrobert_ancell, hmm i see, and with out that, it wouldn't know that the session is set as active?22:43
bschaefermeaning it never runs the session script?22:43
bschaefer(since its not active?)22:43
* robert_ancell looks22:43
robert_ancellbut yes, there is some signalling across that22:44
bschaeferrobert_ancell, what would be required for a barebone compositor?22:44
bschaefererr rather what library/dbus interface do i need to hook up with22:44
* bschaefer guess USC has all that is needed22:44
robert_ancellah, yes. LightDM waits for the compositor to say it is "ready"22:45
bschaeferrobert_ancell, i see, thats all i really need?22:45
bschaeferto get the session to be active?22:45
robert_ancellbschaefer, The compositor has two messages to send to LightDM - READY (i.e. started) and SESSION_CONNECTED (i.e. the child Mir server has connected to the compositor)22:46
* bschaefer is trying to avoid the whole USC session list/accept stuff22:46
bschaeferrobert_ancell, hmm so if i only use 1 mir server.. i suppose once lightdm starts up the mir server i can just send both22:46
bschaefersince i dont need a nested server22:46
robert_ancellA barebone compositor would just have to accept all connections, make their surfaces fullscreen and switch between them on request of LightDM22:46
robert_ancellYes, you could just fake it and LightDM would be fairly happy22:47
bschaeferrobert_ancell, cool thanks ill look into making that :)22:47
bschaeferrobert_ancell, i mean ... i dont think i need i need a nest server?22:47
* bschaefer doesn't 100% understand why i would need one22:47
bschaeferrobert_ancell, mainly my goal is to create a snappy image such that a bare bone mir server is running22:48
bschaeferand the ubuntu SDK works on it22:48
robert_ancellYou can use one server in theory, but that requires LightDM to be more aware of how that would work.22:48
bschaeferallowing for a kiosk type system to be set up22:48
robert_ancellSure22:48
bschaeferrobert_ancell, as long as i can fake it atm22:48
bschaeferi think that'll be good22:48
bschaeferjust need to send the right signals off22:48
robert_ancellMy guess is based on the current setup a simplistic compositor will be the easiest path22:48
bschaeferrobert_ancell, yeah sounds reasonable, it would start the mir server it self?22:49
bschaefervs the mir_demo_server22:49
bschaeferjust like USC?22:49
* bschaefer would prefer that anyway22:49
bschaeferso i can change the socket to 77722:49
robert_ancellThe sockets would all be set up correctly so you wouldn't have to do any hacks there22:49
bschaeferrobert_ancell, USC set the socket to 777 it self :)22:50
robert_ancellYes, there's an open bug about doing it properly :)22:50
bschaefer system_compositor.cpp:111:            if (server->public_socket() && chmod(server->get_socket_file().c_str(), 0777) == -1)22:50
bschaefer:)22:50
bschaeferrobert_ancell, but cool i can dig through that and rip out everything that is not needed22:50
bschaeferthanks!22:50
robert_ancellnp, let me know how you go22:50
bschaeferwill do, ill most likely get stuck somewhere along the way22:51

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!