View Full Version : [Solved] Customising Log in screen in App Center
SpringBox
2014-11-10, 09: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, 10: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, 11: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, 12: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, 00: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, 08: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, 10:13
Hi Stefan,
For which client are you trying to change the login page?
Regards,
Yvonne
zehnernet
2020-11-23, 11: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, 08: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, 20: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, 02: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! :-)
SpringBox
2022-04-17, 08:55
Hi guys
Trying to run App Center via RDP (Parallels) and have read and re-read these older posts but are now completely confused.
If we put the same target and start in data as the desktop icon ie
target : C:\lianja\bin\lianjaruntime.exe
start in : c:\lianja\bin
we can serve up App Center via RDP but when in the app, all tables are read-only.
If we use c:\lianja\cloudserver\tenants\public\appcenter\log in.rsp (or login_rdp.rsp) as the target then windows server 2019 just complains that it doesn't know what to do with the filetype.
Remembering back, there was a specific way of calling this with command line switches etc but cannot find a full example.
Because of security, we want to call the App Center rather than going straight to an app.
Once we have got this working perfectly, we can then have the option of moving to full web.
Any thoughts?
Cheers
Simon
Hi Simon,
Windows 19 has by default very strict security. For all the exe's involved in Lianja, right-click and set (for all users), Run As Administrator. I ran into something very much like this.
Hank
barrymavin
2022-04-17, 19:59
Hi Simon,
”If we use c:\lianja\cloudserver\tenants\public\appcenter\log in.rsp (or login_rdp.rsp) as the target then windows server 2019 just complains that it doesn't know what to do with the filetype.”
That is nonsensical for a shortcut target which must be either an executable or a file type that is associated to an exe e.g pdf, doc etc.
If the data is read only it’s a directory permissions restriction issue when RDP is being used. Look at the permissions on the Lianja data folders and determine what is needed for a user logged in as rdp.