PDA

View Full Version : [Solved] Customising Log in screen in App Center



SpringBox
2014-11-10, 10:01
Hi Guys

What is the easiest way to customise the APP Center login screen?

Want to change the "Lianja login" and graphics, window title etc but will obviously leave all the copyright stuff intact at the bottom.


Thanks in advance

SpringBox

davefoss
2014-11-10, 11:45
Hi Guys

What is the easiest way to customise the APP Center login screen?

Want to change the "Lianja login" and graphics, window title etc but will obviously leave all the copyright stuff intact at the bottom.


Thanks in advance

SpringBox


Hi SpringBox,

Make a copy of the file \Lianja\cloudserver\tenants\public\wwwroot\login.r sp, modify it to your liking and then change the default page in the Lianja Server Manager to point to your new file.

SpringBox
2014-11-12, 12:08
Hi Dave

Thanks for reply.

Don't think we are talking about the same thing.

This is App Center on the desktop (we are using RDP to serve up Lianja). We don't use Server Manager.

On dev machine have modified every version of Login.rsp & nothing changes when we fire up app Center. Any suggestions?

Cheers

SpringBox

barrymavin
2014-11-12, 13:51
That's because you start Lianja with the --rdp switch which uses login_rdp.rsp not login.rsp.

it will be in the following location for desktop apps started with the --rdp command line switch:

c:\lianja\cloudserver\appcenter\login_rdp.rsp

Without that switch it is in:

c:\lianja\cloudserver\appcenter\login.rsp

After logging in the App Center will be displayed.

This is in:

c:\lianja\cloudserver\appcenter\appcenter.rsp

and for --rdp

c:\lianja\cloudserver\appcenter\appcenter_rdp.rsp

For Web Apps it is located in a tenancy (default is public) so it can be customized for each customer in a hosted cloud.

c:\lianja\cloudserver\tenants\public\wwwroot\login .rsp

and then the App Center...

c:\lianja\cloudserver\tenants\public\wwwroot\appce nter.rsp

So... You would setup virtual host mapping in the http server to map a customers data and apps. e.g. smithco.lianja.com which would you map to.

c:\lianja\cloudserver\tenants\smithco\wwwroot\

The customer then would hit on



http://smithco.lianja.com/login.rsp


Which would cause all data accessed and all apps run to be via that virtual hosts wwwroot. If you register a domain name for the customer and setup the address record for that domain (e.g. in network solutions) you can then redirect to your hosted apps. e.g.



http://www.smithcoapps.com/


You can then have the default page to be login.rsp.

This is basically how multi-tenancy works in Lianja Cloud Server. One server and multiple customers. The "Tenancy" is the "domain" specified for the user when they login.

Also note that when firing up a desktop app using --rdp you can have different login and app centers for each customer.

You accomplish this using the --customer custname command line switch.

This causes login_custname and app center_custname to be used so you can host multiple customers on a single server.

I hope this better explains how to customize the user experience for individual hosted customers.

barrymavin
2014-11-13, 01:44
Hi SpringBox,

Make a copy of the file \Lianja\cloudserver\tenants\public\wwwroot\login.r sp, modify it to your liking and then change the default page in the Lianja Server Manager to point to your new file.

In fact thats for the Web Client.

The desktop client (for --rdp) is in:

c:\lianja]cloudserver\appcenter\login_rdp.rsp

zehnernet
2020-11-23, 09:55
Hi!

Is there another way in 5.5.1?
I can change any login or login_rdp.rsp. Nothing changes...

yvonne.milne
2020-11-23, 11:13
Hi Stefan,

For which client are you trying to change the login page?

Regards,

Yvonne

zehnernet
2020-11-23, 12:42
Hi Stefan,

For which client are you trying to change the login page?

Regards,

Yvonne

In first place for me now, on my developing machine. Just to figure out things for later. And later for all Desktop clients in a LAN.

yvonne.milne
2020-11-24, 09:17
Hi Stefan,

For your development machine, customize this file:


drive:\lianja\cloudserver\appcenter\login.rsp

On a deployed server, this file:


drive:\lianja\cloudserver\tenants\public\appcenter \login.rsp

Also see the Command Line Switches (https://www.lianja.com/doc/index.php/Command_Line_Switches).

In both cases, the compiled version of the file, login.rso, should be recreated. If it is not, delete login.rso and restart the App Center.

Regards,

Yvonne

barrymavin
2020-11-24, 21:32
The login page and the app center can be customized for web apps but that did not make it into desktop apps.

https://www.lianja.com/doc/index.php/Customizing_the_Login_Page

See the command line switches for the desktop Lianja App Center

https://www.lianja.com/doc/index.php/Command_Line_Switches

Specifically --customer and --loginapp

If you have any enhancement requests please submit a ticket.

zehnernet
2020-11-25, 03:10
Hi Stefan,

For your development machine, customize this file:


drive:\lianja\cloudserver\appcenter\login.rsp

On a deployed server, this file:


drive:\lianja\cloudserver\tenants\public\appcenter \login.rsp

Also see the Command Line Switches (https://www.lianja.com/doc/index.php/Command_Line_Switches).

In both cases, the compiled version of the file, login.rso, should be recreated. If it is not, delete login.rso and restart the App Center.

Regards,

Yvonne

Perfect! Thank you Yvonne! :-)