Re: [gentoo-user] Re: Java 8 and remote access

2016-02-01 Thread Grant
>> >> > > 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.
>>
>> I installed icaclient but I'm starting to think I have the wrong idea
>> about all of these DaaS offerings.  I'm looking for a way to avoid
>> managing an OS and instead just manage an app or (at most) a desktop
>> and access it remotely.  It looks like Citrix (and probably all of the
>> DaaS providers) don't actually provide an OS, they just provide the
>> remote control capability.  So hooking up with them is a substitute
>> for managing VNC, not a substitute for managing the OS.  Do I have
>> that right?
>>
>> - Grant
>
> icaclient = {net-misc/tigervnc,net-misc/tightvnc,www-apps/novnc,et al.}
> equivalent.
>
> You still need a remote OS, with a desktop environment running there so that
> you can connect to it.
>
> If this is available then you can run the application you want as a
> virtualised (remote) app and receive this on your local desktop, running
> within a window.  I remember setting up some MSWindows app on Windows 7 and
> receiving this on a gentoo desktop using xfreerdp.


Bummer.  FYI guys, Amazon Workspaces, Amazon Appstream, and Microsoft
Azure RemoteApp kinda work the way I've described but they all have
limitations which exclude them from working for me in this case.  It
looks like I'll be admin'ing another remote Gentoo system for this.

- Grant



Re: [gentoo-user] Switching current java-vm for a single application

2016-02-01 Thread R0b0t1
It should be possible to just run the Oracle binary directly. The
configuration necessary for an application should be entirely
contained within that application. As far as I know, everything else
is based on an interface which is mostly standard (excepting things
like the foreign function interface, which at most would require you
to point to a different .so file should you use any).



Re: [gentoo-user] nvidia-drivers using deprecated...

2016-02-01 Thread Neil Bothwick
On Mon, 1 Feb 2016 05:56:37 +0100, meino.cra...@gmx.de wrote:

> Switching to nvidia OpenCL interface... done
>  * x11-drivers/nvidia-drivers is using the deprecated
> readme.gentoo.eclass.<<>>
>  * Please use readme.gentoo-r1 instead.

> What does the marked line implies? This is an outdated readme?

It's a QA message stating thst the ebuild should be updated to use a
newer eclass. The readme.gentoo eclass is used to generate messages
specific to installing the package on Gentoo.

It's nothing to worry about, deprecated only mean is will be broken at
some time in the future, it still works for now. IMO ebuild QA messages
like this should not be shown to users.


-- 
Neil Bothwick

Top Oxymorons Number 13: Computer jock


pgpX9a4m0BR3_.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] nvidia-drivers using deprecated...

2016-02-01 Thread Neil Bothwick
On Mon, 1 Feb 2016 12:38:45 +0300, Andrew Savchenko wrote:

> > It's nothing to worry about, deprecated only mean is will be broken at
> > some time in the future, it still works for now. IMO ebuild QA
> > messages like this should not be shown to users.  
> 
> The idea is that users should ping developers with appropriate bug
> reports.

Instead, they ask in here or on the forums. Shouldn't the devs see such
messages anyway and already be aware of the need to update the ebuild?


-- 
Neil Bothwick

Voting Democrat or Republican is like choosing a cabin in the Titanic.


pgpDFyjAJHRdJ.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] nvidia-drivers using deprecated...

2016-02-01 Thread Philip Webb
160201 Andrew Savchenko wrote:
> On Mon, 1 Feb 2016 09:03:50 + Neil Bothwick wrote:
>> On Mon, 1 Feb 2016 05:56:37 +0100, meino.cra...@gmx.de wrote:
>>> Switching to nvidia OpenCL interface... done
>>>  * x11-drivers/nvidia-drivers is using the deprecated
>>> readme.gentoo.eclass.<<>>
>>>  * Please use readme.gentoo-r1 instead.
>>> What does the marked line implies? This is an outdated readme?
>> It's a QA message stating that the ebuild should be updated
>> to use a newer eclass. The readme.gentoo eclass is used
>> to generate messages specific to installing the package on Gentoo.
>> IMO ebuild QA messages like this should not be shown to users.
> The idea is that users should ping developers
> with appropriate bug reports.

However are users supposed to know that ?
How would they know whether such a bug report really was "appropriate" ?

Really, Portage output needs a serious re-think (smile).

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] nvidia-drivers using deprecated...

2016-02-01 Thread Andrew Savchenko
On Mon, 1 Feb 2016 09:03:50 + Neil Bothwick wrote:
> On Mon, 1 Feb 2016 05:56:37 +0100, meino.cra...@gmx.de wrote:
> 
> > Switching to nvidia OpenCL interface... done
> >  * x11-drivers/nvidia-drivers is using the deprecated
> > readme.gentoo.eclass.<<>>
> >  * Please use readme.gentoo-r1 instead.
> 
> > What does the marked line implies? This is an outdated readme?
> 
> It's a QA message stating thst the ebuild should be updated to use a
> newer eclass. The readme.gentoo eclass is used to generate messages
> specific to installing the package on Gentoo.
> 
> It's nothing to worry about, deprecated only mean is will be broken at
> some time in the future, it still works for now. IMO ebuild QA messages
> like this should not be shown to users.

The idea is that users should ping developers with appropriate bug
reports.

Best regards,
Andrew Savchenko


pgpBnYPzAwv9I.pgp
Description: PGP signature


Re: [gentoo-user] [OT] Manipulating a mobile external harddisk

2016-02-01 Thread Nils Freydank
Hi,

Am Dienstag, 2. Februar 2016, 07:29:16 CET schrieb meino.cra...@gmx.de:
> [...]
> Is it advisable to try to longen the active time before the disk
> goes idle to prolong the lifetime ?

honestly I don't know what is worse - running the HDD permanently or parking 
the heads too often. I'm not a server (hardware) guy, but I remeber reading 
"consumer vs. server HDDs" nearly everytime HDDs are discussed. It might be 
possible that this is
a) only marketing stuff
b) the server HDDs are worse and just shouldn't get parked that often (most 
unlikely)
c) the server HDDs have simply a longer 24/7 up lifespan due to let's say 
better heat dissipation or something like that.
or propably a combination of these plus other aspects I didn't know.

> Is it possible to do this with hdparm?

Sure. Take a look at
- https://wiki.gentoo.org/wiki/Hdparm "Set the standby (spin-down after 
idling) timeout."
- "man 8 hdparm"

Obviously you search for "-S #something" as parameter ;-)

> It is a sane idea? ;)
As said above..don't really know, sorry.

> Best regards,
> Meino

Best regards,
Nils

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] [OT] Manipulating a mobile external harddisk

2016-02-01 Thread Meino . Cramer
Hi,

for storing not so often used data I bought a 2.5" external USB
harddisk.

This little beast has a very small timespan before it goes idle 
and (from the time needed to be woken up) it seems, it parks its
heads then.

The main usage of the disk to be connected to my PC from time to
time, copy some data and unconnect it again. It will never be used
with a laptop or such (accu driven machinery).

Is it advisable to try to longen the active time before the disk
goes idle to prolong the lifetime ?
Is it possible to do this with hdparm?
It is a sane idea? ;)

Thank you very much in advance for any help !
Best regards,
Meino






Re: [gentoo-user] Re: Java 8 and remote access

2016-02-01 Thread Mick
On Monday 01 Feb 2016 09:13: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.
> 
> I installed icaclient but I'm starting to think I have the wrong idea
> about all of these DaaS offerings.  I'm looking for a way to avoid
> managing an OS and instead just manage an app or (at most) a desktop
> and access it remotely.  It looks like Citrix (and probably all of the
> DaaS providers) don't actually provide an OS, they just provide the
> remote control capability.  So hooking up with them is a substitute
> for managing VNC, not a substitute for managing the OS.  Do I have
> that right?
> 
> - Grant

icaclient = {net-misc/tigervnc,net-misc/tightvnc,www-apps/novnc,et al.} 
equivalent.

You still need a remote OS, with a desktop environment running there so that 
you can connect to it.

If this is available then you can run the application you want as a 
virtualised (remote) app and receive this on your local desktop, running 
within a window.  I remember setting up some MSWindows app on Windows 7 and 
receiving this on a gentoo desktop using xfreerdp.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: Switching current java-vm for a single application

2016-02-01 Thread James
Leonardo Guilherme  gmail.com> writes:


> 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?


I suggest you file a bug at bugs.gentoo.org. Gentoo's java environment
has/is undergoing major surgery and stability is a transient experince 
with java on gentoo, for the last decade. If you have ideas how to privide
a patch (even a miniscule bandaid) I'd suggest you post on bugs.gentoo.org,
as the gentoo-java team is tremendously understaffed.


hth,
James






Re: [gentoo-user] Switching current java-vm for a single application

2016-02-01 Thread Alon Bar-Lev
On 31 January 2016 at 19:17, Leonardo Guilherme
 wrote:
>
> 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?

Usually, every [well behaved] java application has JAVA_HOME or
similar environment variable to tell it where java is.
You can find a valid java homes at /usr/lib/jvm/*/jre or if you
manually extracted oracle it will probably live in /opt/xxx.

What you should do is go over this SenchaCmd startup script and find
what it expects.

Regards,
Alon



[gentoo-user] Re: Java 8 and remote access

2016-02-01 Thread James
Grant  gmail.com> writes:


> I need to run a Java 8 app remotely.  Can this be done on Gentoo?

Surely, but there is probably some twists and performance iusses, so
I'd suggest you let  the Saas/Paas vendors work with you closely to tune
this to until you are happy. You know, checkbook engineering is probably
your best route to figure this out. The vendor with with an actual
datacenter close to your folks or with the fastest bandwidth will help
achieve the responsiveness you require. What I've experiences is there
is an over abundance of 'good will' on the part of most linux based
cluster/cloud vendors, that is most easily leveraged.


My shortlist of cloud/remote-resource vendors  for your situations is::

1) Saas/Paas close to your nearest major bandwidth exchange point.

2) http://www.soyoustart.com/us/distributions/ (planet.gentoo.org blogpost
by lu_zero on Nov-29,2015 notes gentoo is a supported distro.

3) Rackspace:: there is a reason they are one of the major players
in all levels of 'the cloud' They have a can_do spirit (no I do not work for
them, but I really like all the gentoo devs that work for them that I have
encountered in my 'cluster travels'.

Take and old fashion approach, use your checkbook and get *exactly* what
you want via the cloud vendors' staff. Then you can edit the gentoo-wiki!

> - Grant


hth,
James









Re: [gentoo-user] Re: Java 8 and remote access

2016-02-01 Thread Grant
>> > > 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.


I installed icaclient but I'm starting to think I have the wrong idea
about all of these DaaS offerings.  I'm looking for a way to avoid
managing an OS and instead just manage an app or (at most) a desktop
and access it remotely.  It looks like Citrix (and probably all of the
DaaS providers) don't actually provide an OS, they just provide the
remote control capability.  So hooking up with them is a substitute
for managing VNC, not a substitute for managing the OS.  Do I have
that right?

- Grant