Brian,

First of all, my apologies. The JHS update some months ago made significant
changes and simplifications in how to access JHS on one machine from
another. I then got side tracked fighting other fires and failed to update
the docs.

I will do that at the wiki now, but here is an overview that might help.

***
JHS server default config binds to any port and sets USER and PASS to
empty. The bind any means you can access the server from other machines,
but because the USER/PASS are empty any login attempts will fail until you
set them non-empty.

Please try the following:

1. start JHS and look at the following:
   getlanip_jhs_'' NB. ip address(es) of this machine on the lan
   USER_jhs_ NB. user for login - empty prevents login
   PASS_jhs_ NB. pass for for login - empty prevents login

   USER_jhs_=: 'Brian'
   PASS_jhs_=: 'foo'

2. test from same browser/same machine (no firewall issues)
    open new browser tab
    browse to ip:65001/jijx (ip from getlanip result)
    in the login page give your user/pass
    you should now be in same J session

3. try from another machine - and deal with any firewall issues

If you want a different J session (a different port) then you will need to
config for a different port.



On Thu, Aug 31, 2017 at 11:40 PM, Brian Schott <[email protected]>
wrote:

> Bill,
>
> I tried the 3 lines you suggested (load, load, shortcut' and got no errors.
> The error came with the open command. So what do I do then? See my session
> below.
>
>    load'jhs'
>    load'~addons/ide/jhs/installer.ijs'
>    shortcut 0
> |domain error: shortcut
> |   e=.'create ',y    ,' launch icon failed'
>    shortcut 'jhs'
>    f=: '~config/any65002.cfg'
>       f fcopynew '~addons/ide/jhs/config/jhs.cfg'
> 1 342
>    open f
> |value error: open
> |       open f
>
>
> On Thu, Aug 31, 2017 at 7:40 PM, bill lam <[email protected]> wrote:
>
> >    shortcut
> > 3 : 0
> > e=. 'create ',y,' launch icon failed'
> > if. 2~:ftype jpath'~/Desktop' do. echo e,' - no Desktop folder' return.
> > end.
> > try. ".UNAME,'_jinstaller_ y' catchd. echo e end.
> > )
> >
> > Therefore I think you can try,
> >
> > load 'jhs'
> >
> >  load'~addons/ide/jhs/installer.ijs'
> >
> > shortcut 'jhs'
> >
> > The verb open should be defined in jhs or jqt front-end , but not in the
> > base library.
> >
> >
> > --
> (B=)
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to