First of OSv comes with a simple VGA console driver that allows apps like rogue run (see apps/rogue).
As far as X11 apps I had not tried to run them before you asked so I had no idea they would work. So I actually spent some time playing with some of the simple ones and I got many of those to function on OSv after applying a small patch which I show later. I tried the following apps: xclock, xeyes, xlogo, xcalc and they seemed to work after I configured my host - Ubuntu 19.04 - to accept X11 connections over TCP (which is slower than local socket - I wonder it vsock would work better here) and let unauthorized traffic using xhost+. Running chrome I think would be more complicated as it uses GPU acceleration (you can disable it though) and more importantly forks itself for each open tab and OSv does not support fork(). New virtio 1.1 spec defines GPU device but I am not sure how well supported it is and somebody would need to implement the driver for OSv, Here is a hacky patch to the networking layer (I need to understand why this assert fails): diff --git a/bsd/sys/compat/linux/linux_socket.cc b/bsd/sys/compat/linux/linux_socket.cc index c1bbc496..09c5bed6 100644 --- a/bsd/sys/compat/linux/linux_socket.cc +++ b/bsd/sys/compat/linux/linux_socket.cc @@ -1081,7 +1081,7 @@ linux_recvmsg(int s, struct msghdr *msg, int flags, ssize_t* bytes) goto bad; } - assert(msg->msg_controllen == 0); + //assert(msg->msg_controllen == 0); assert(msg->msg_control == NULL); #if 0 If you are are interested in more details on how to try some of the apps let me know. Waldek On Sunday, November 10, 2019 at 5:23:53 AM UTC-5, Sudhakar RS wrote: > > > TIA. Is it possible to run apps like chrome as OSv Unikernels and forward > X11 to the Host OS?. > -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/3cd2b0ce-fe2a-4992-b489-a65a1e866f3b%40googlegroups.com.