[gentoo-user] Re: Java 8 and remote access
On 2016-01-31, Grantwrote: > Sorry, I should have been more specific. I want to run a desktop Java > 8 app remotely. So you're asking how to set up some sort of remote desktop access? Wasn't there just a huge thread on this with a subject something like "allowing work from home"? -- Grant
[gentoo-user] Switching current java-vm for a single application
Hello. I'm using OpenJDK JVM regularly on my machine instead of Oracle's one, primarily because of the infinality patches and because I prefer open source software. There are some applications, though, that do not play ball with it (namely, SenchaCmd) and I have to keep switching back and forth between installed java-vms just to run it. I know nothing about Java or its environment, is there a way to specify the java-vm just for this application instead of doing "eselect java-vm set user 1; sencha *stuff*; eselect java-vm set user 3" everytime? Is there a set of environment variables that can do this? Shall I wrap the command in a shell script? Ideas?
[gentoo-user] Re: Java 8 and remote access
> > > Sorry, I should have been more specific. I want to run a desktop Java > > 8 app remotely. > > So you're asking how to set up some sort of remote desktop access? > > Wasn't there just a huge thread on this with a subject something like > "allowing work from home"? > That was my thread too but this is an unrelated use case. There's a desktop Java app I want to run in the cloud and still control the GUI and I'm trying to figure out the best way to do that. Maybe it's "install Gentoo and VNC" but maybe there is a better solution. - Grant
Re: [gentoo-user] Re: Java 8 and remote access
On Sunday 31 Jan 2016 17:50:55 Grant wrote: > > I need to run a Java 8 app remotely. Can this be done on Gentoo? > > I've been researching this and I think my options are a) get a VPS and > install Gentoo, this Java GUI app, and VNC, or b) set the app up with a > Desktop as a Service (DaaS) provider. Option B should require a bare > minimum of maintenance so it's really appealing. Here are the providers > I've found that can provide a Linux desktop: > > https://www.omnis-systems.com/virtual-bridges-vdi/virtual-bridges-general-in > formation > > http://www.vdiworks.com/ > > https://www.vmware.com/products/daas-vspp/features > > These don't specify Linux which makes me think they can only do Windows > desktops: > > http://www.dizzion.com/services/desktop-as-a-service-daas/ > > https://aws.amazon.com/workspaces/ > > https://v2cloud.com/virtual-desktop/ > > https://www.citrix.com/solutions/desktop-virtualization/overview.html > > I suppose a Windows desktop would work since this is a Java app but I'd > prefer Linux. > > Citrix also has a product called XenApp which is interesting because it is > supposed to provide only the app as a service instead of the whole desktop: > > https://www.citrix.com/products/xenapp/overview.html > > Many (all?) of these don't have a Linux client but some have an HTML5 > browser plugin client. I will try some of these and report back. > > - Grant Citrix has the citrix receiver (look for icaclient on the tree) which will run a remote desktop on your Gentoo. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Java 8 and remote access
On Monday, February 01, 2016 06:46:04 AM Mick wrote: > On Sunday 31 Jan 2016 17:50:55 Grant wrote: > > > I need to run a Java 8 app remotely. Can this be done on Gentoo? > > > > Citrix also has a product called XenApp which is interesting because it is > > supposed to provide only the app as a service instead of the whole > > desktop: > > > > https://www.citrix.com/products/xenapp/overview.html > > > > Many (all?) of these don't have a Linux client but some have an HTML5 > > browser plugin client. I will try some of these and report back. > > > > - Grant > > Citrix has the citrix receiver (look for icaclient on the tree) which will > run a remote desktop on your Gentoo. Or only the application window when using xenapp. I'm not sure if it will work with a Linux desktop. Always seen it used with MS Windows. -- Joost signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: Java 8 and remote access
> I need to run a Java 8 app remotely. Can this be done on Gentoo? > I've been researching this and I think my options are a) get a VPS and install Gentoo, this Java GUI app, and VNC, or b) set the app up with a Desktop as a Service (DaaS) provider. Option B should require a bare minimum of maintenance so it's really appealing. Here are the providers I've found that can provide a Linux desktop: https://www.omnis-systems.com/virtual-bridges-vdi/virtual-bridges-general-information http://www.vdiworks.com/ https://www.vmware.com/products/daas-vspp/features These don't specify Linux which makes me think they can only do Windows desktops: http://www.dizzion.com/services/desktop-as-a-service-daas/ https://aws.amazon.com/workspaces/ https://v2cloud.com/virtual-desktop/ https://www.citrix.com/solutions/desktop-virtualization/overview.html I suppose a Windows desktop would work since this is a Java app but I'd prefer Linux. Citrix also has a product called XenApp which is interesting because it is supposed to provide only the app as a service instead of the whole desktop: https://www.citrix.com/products/xenapp/overview.html Many (all?) of these don't have a Linux client but some have an HTML5 browser plugin client. I will try some of these and report back. - Grant
[gentoo-user] nvidia-drivers using deprecated...
hi, ths morning brings an update to the nividia-drivers, whch where successfully emerged and installed. Right at the end of this process this was prointed on the console: * Removing x11-drivers/nvidia-drivers-361.18-r2 from moduledb. Switching to nvidia OpenGL interface... done >>> Regenerating /etc/ld.so.cache... >>> Original instance of package unmerged safely. * Updating module dependencies for 4.4.0-RT ... [ ok ] * Adding module to moduledb. Switching to nvidia OpenGL interface... done Switching to nvidia OpenCL interface... done * x11-drivers/nvidia-drivers is using the deprecated readme.gentoo.eclass. <<>> * Please use readme.gentoo-r1 instead. >>> x11-drivers/nvidia-drivers-361.18-r4 merged. >>> Regenerating /etc/ld.so.cache... >>> Auto-cleaning packages... >>> No outdated packages were found on your system. What does the marked line implies? This is an outdated readme? Thank you very much in advance for any translation! :) Best regards, Meino
Re: [gentoo-user] What happened to portage?
On четверг, 28 января 2016 г. 5:17:09 MSK, Nikos Chantziaras wrote: Syncing resulted in thousands of lines of: app-admin/python-updater/.~tmp~/ And the portage tree is full of ".~tmp~" directories. What's going on? Did you try a different mirror? I think there might be an issue with specific host. If so, contact its maintainer by email diplayed by rsync or file a bug to Gentoo infra...
Re: [gentoo-user] Re: Java 8 and remote access
On Sun, Jan 31, 2016 at 1:02 AM, Grantwrote: >> I need to run a Java 8 app remotely. Can this be done on Gentoo? > > > Actually I could run the app locally if there is a good way to run > relatively untrusted Java apps. Otherwise I should run it remotely. > What exactly do you mean by "run remotely"? Ssh to run on a different host, container/vm to run locally are all viable options but I don't quite understand what you're asking.
[gentoo-user] Re: What happened to portage?
On 31/01/16 10:22, Pavel Volkov wrote: On четверг, 28 января 2016 г. 5:17:09 MSK, Nikos Chantziaras wrote: Syncing resulted in thousands of lines of: app-admin/python-updater/.~tmp~/ And the portage tree is full of ".~tmp~" directories. What's going on? Did you try a different mirror? I think there might be an issue with specific host. If so, contact its maintainer by email diplayed by rsync or file a bug to Gentoo infra... The problem was apparently fixed after I synced the next day.
Re: [gentoo-user] Re: Java 8 and remote access
On Sun, Jan 31, 2016 at 12:31:51PM +0100, Jeremi Piotrowski wrote: > On Sun, Jan 31, 2016 at 1:02 AM, Grantwrote: > >> I need to run a Java 8 app remotely. Can this be done on Gentoo? > > > > > > Actually I could run the app locally if there is a good way to run > > relatively untrusted Java apps. Otherwise I should run it remotely. > > > > What exactly do you mean by "run remotely"? Ssh to run on a different > host, container/vm to run locally are all viable options but I don't > quite understand what you're asking. Heck, since java is already running on the jVM I would even consider it safe enough to just run as a different user or just in a chroot. In any case, none of this is gentoo specific.
Re: [gentoo-user] Re: Java 8 and remote access
>> >> I need to run a Java 8 app remotely. Can this be done on Gentoo? >> > >> > >> > Actually I could run the app locally if there is a good way to run >> > relatively untrusted Java apps. Otherwise I should run it remotely. >> > >> >> What exactly do you mean by "run remotely"? Ssh to run on a different >> host, container/vm to run locally are all viable options but I don't >> quite understand what you're asking. > > Heck, since java is already running on the jVM I would even consider it > safe enough to just run as a different user or just in a chroot. > > In any case, none of this is gentoo specific. Sorry, I should have been more specific. I want to run a desktop Java 8 app remotely. After more consideration I don't want to run it locally because I want it to run all the time. I have 2 ideas for this: 1. set up a Gentoo install in a cloud VM, install the desktop app, install VNC or similar 2. leverage a Platform as a service (PaaS) somehow #1 should work but I'd rather not set up and maintain an OS instance just for this. Would VNC be the best way to get remote access to the desktop app's GUI? I don't need extremely high performance but security and ease of setup/maintenance are important. #2 is very appealing because it means I wouldn't have to set up and maintain an OS, but I don't have any experience with PaaS and maybe it isn't the right tool for this. Does there exist a PaaS that provides a Java environment for me to install a desktop Java app and then give me remote control of its GUI? - Grant