许可优化
许可优化
产品
产品
解决方案
解决方案
服务支持
服务支持
关于
关于
软件库
当前位置:服务支持 >  软件文章 >  Citrix StoreFront 3优化技巧

Citrix StoreFront 3优化技巧

阅读数 83
点赞 0
article_banner

Disable NetBIOS over TCP/IP

Disable generatePublisherEvidence

修改位于ASP.NET.CONFIG的文件:C:\Windows\Microsoft.NET\Framework64\v2.0.50727 和 C:\Windows\Microsoft.NET\Framework\v2.0.50727.

<?xml version=”1.0″ encoding=”utf-8″ ?>

<configuration>

<runtime>

<generatePublisherEvidence enabled=”false” />

</runtime>

</configuration>

禁用证书吊销检查

启用套接字池

转到C:\Inetpub\ wwwroot\Citrix\ <STORE>,然后打开web.config文件。

修改 :pooledSockets="on"

    工作区控制 - 禁用注销断开连接

转到C:\Inetpub\ wwwroot\Citrix\ <STORE>,然后打开web.config文件。

修改:<workspaceControl enabled="true" autoReconnectAtLogon="false" logoffAction="none" showReconnectButton="false" showDisconnectButton="false" />

更改注销操作【logoffAction="none"

工作区控制 - 禁用自动连接

转到C:\Inetpub\ wwwroot\Citrix\ <STORE>,然后打开web.config文件。

修改:

<workspaceControl enabled="true" autoReconnectAtLogon="false" logoffAction="none" showReconnectButton="false" showDisconnectButton="false" />

更改【autoReconnectAtLogon="false"

禁用工作区控制

转到C:\Inetpub\ wwwroot\Citrix\ <STORE>,然后打开web.config文件。

修改:

<workspaceControl enabled="false" autoReconnectAtLogon="false" logoffAction="none" showReconnectButton="false" showDisconnectButton="false" />

修改【enabled="false"

启用XML验证

如果您需要使用StreoFront到DMZ中,则需要启用XML验证。

1、导入StoreFront PowerShell管理插件;

& "$Env:PROGRAMFILES\Citrix\Receiver StoreFront\Scripts\ImportModules.ps1"

2、启用身份验证服务的功能;

Set-DSXmlServiceAuthentication -SiteId 1 -VirtualPath /Citrix/Authentication

3、创建farmset配置data collectors/brokers将会进行认证。


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35$Farm = @{ FarmName = "Farm" Port = "443" SSLRelayPort = 443 TransportType = "HTTPS" LoadBalance = $ false AllFailedBypassDuration = 5 Servers = @( "server1" , “server2”) Platform = @{ FarmType = "XenApp" Caption = "Caption" DisplayName = "Authentication Farm" } } $FarmSet = @{ Name = "Default" Farms = @( $Farm ) }

4、配置基于XML的服务的身份验证使用的场集。

Update-DSFarmSet -IISSiteId 1 -VirtualPath "/Citrix/Authentication" -Farmset $FarmSet

增加超时时间

打开StoreFront的控制台,并单击设置会话超时。


设置虚拟桌面打开全屏

打开C:\inetpub\wwwroot\Citrix\<STORE>\App_Data\default.ica文件

根据该文件的[应用]部分,添加以下行:

DesktopViewer-ForceFullScreenStartup=true

保存default.ica文件。

打开命令提示符(CMD),并运行iisreset。

禁用激活窗口

我们打开登录StoreFrone时,点击StoreFront右上角。会出来出来如下所示的界面:


转到C:\inetpub\wwwroot\Citrix\<Store>Web打开web.config文件

<receiverConfiguration enabled=false downloadURL=ServiceRecord/GetDocument/receiverconfig.cr />

修改【enabled=false”】

重定向StoreFront默认网站的网址

打开IIS,选择服务器然后打开HTTP重定向功能。当然在StoreFront控制台也能够直接打开。

显示域列表店面的登录页上

启用Active Directory密码重置

打开StoreFront控制台,进入认证并选择管理密码选项

禁用插件助手

转到C:\Inetpub\ wwwroot\Citrix\ <STORE>Web,然后打开web.config文件。

<pluginAssistant enabled="false" upgradeAtLogin="false">

更改默认视图

转到C:\Inetpub\ wwwroot\Citrix\ <STORE>Web,然后打开web.config文件。

<uiViews showDesktopsView="true" showAppsView="true" defaultView="auto" />

您可以将值更改为:

自动:收藏夹选项卡默认显示

桌面:桌面选项卡默认显示

应用:应用程序选项卡默认显示

我们可以禁用选项卡。

<uiViews showDesktopsView="true" showAppsView="true" defaultView="auto" />

上述选项中桌面和应用都是开启的,我们将其值修改为False即可禁用。

启用跟踪

启用StoreFron配置跟踪,请按照以下步骤操作。


1 2 3 4 5 6 7 8Add-PSSnapin Citrix.DeliveryServices.Framework.Commands Set-DSTraceLevel –All –TraceLevel Verbose Restart-Service CitrixConfig* Restart-Service CitrixCreden* Restart-Service "Citrix Peer*" -Force Restart-Service Citrixsub*


跟踪位于C:\Program Files\Citrix\Receiver StoreFront\admin\trace.

下载DebugView工具。

下载DebugView解压缩并启动运行。

然后,我们就看到了跟踪的信息。

当我们故障排除完成后,记得要禁用跟踪


1 2 3 4 5 6 7 8Add-PSSnapin Citrix.DeliveryServices.Framework.Commands Set-DSTraceLevel –All –TraceLevel Off Restart-Service CitrixConfig* Restart-Service CitrixCreden* Restart-Service "Citrix Peer*" -Force Restart-Service Citrixsub*


导航到一个文件夹

转到C:\Inetpub\ wwwroot\Citrix\ <STORE>Web\Custom并打开script.js 文件。

添加以下行:


1 2 3CTXS.Extensions.afterDisplayHomeScreen = function (callback) { CTXS.ExtensionAPI.navigateToFolder( 'folder/path' ); };

用文件夹名称或文件夹路径替换文件夹/路径。

要重定向到类别的根,添加以下行:


1 2 3CTXS.Extensions.afterDisplayHomeScreen = function (callback) { CTXS.ExtensionAPI.navigateToFolder( '/' ); };


删除收藏夹

打开StoreFront控制台,去Store,禁用用户订阅。


重命名StoreFront网页

转到C:\Inetpub\ wwwroot\Citrix\ <STORE>Web\Custom并打开strings.en.js 文件。


1 2 3 4 5 6( function ($) { $.localization.customStringBundle( "en" , { AppStore: "Citrix Applications" , Example2: "This is another example" }); })(jQuery);


更改/删除背景

打开C:\inetpub\wwwroot\Citrix\<STORE>Web\receiver\css文件。

  • ctxs.large-ui.min_A97EEF90ADE71C48
  • ctxs.medium-ui.min_2397A9404AD6F3CB
  • ctxs.no-js-ui.min_F673C4CFF9E86D60
  • ctxs.small-ui.min_A915C6B4D6DEB4E5

删除或更改以下修改背景:


1background-p_w_picpath:url(.. /p_w_picpaths/common/ReceiverFullScreenBackground_46E559C0E6B5A27B .jpg);

添加脚注


转到C:\Inetpub\ wwwroot\Citrix\ <STORE>Web\Custom并打开script.js 文件。


1$( '#customBottom' ).html( "Your Text" );

现在打开style.css

在我的例子中,我正在调整我的文本在页面的右边,并显示我的公司标志为中心的。


1 2 3 4 5 6 7 8 9 10 11#customBottom { text-align: right; background-p_w_picpath: url( '<YOURIMAGE>' ); background-size: <WIDTH> <HEIGHT>; background-repeat: no-repeat; background-color:<BACKGROUNDCOLOR>; background-position: center; height:<HEIGHT>; color: black; font-size: 12px; }

注意:你需要根据你的审美观,修改 <HEIGHT>, <YOURIMAGE>, <WIDTH> and <BACKGROUNDCOLOR>

脚注将显示在底部。


添加免责声明

转到C:\Inetpub\ wwwroot\Citrix\ <STORE>Web\Custom并打开script.js 文件。

在登录:


1 2 3 4 5 6 7 8 9CTXS.Extensions.beforeLogon = function (callback) { doneClickThrough = true ; CTXS.ExtensionAPI.showMessage({ messageTitle: "Welcome to the new StoreFront!" , messageText: "Please send your feedback to EMAIL@EMAIL.COM." , okButtonText: "Continue" , okAction: callback }); };

主屏幕前:


1 2 3 4 5 6 7 8 9 10 11 12CTXS.Extensions.beforeDisplayHomeScreen = function (callback) { if (!doneClickThrough) { CTXS.ExtensionAPI.showMessage({ messageTitle: "Welcome to the new StoreFront!" , messageText: "Please send your feedback to EMAIL@EMAIL.COM." , okButtonText: "Continue" , okAction: callback }); } else { callback(); } };


添加标题栏

转到C:\Inetpub\ wwwroot\Citrix\ <STORE>Web\Custom并打开script.js 文件。


1$( '#customTop' ).html( "<a href='http://receiver.citrix.com/' target='_blank'><img src='media/rec-win-icon_1.png'> Download Citrix Receiver</a>" );

打开style.css


1 2 3 4 5 6 7 8 9 10 11 12#customTop { text-align: center; background-color: #f9f9f9; color: #574f5b; font-size: 12px; padding- top :5px; margin-bottom:-20px; } #customTop a { color: #574f5b; }


这里是我们需要添加Receiver的图标。

添加一个随机的文本页脚

从StoreFront的页脚文本文件显示一个随机的消息。

转到C:\Inetpub\ wwwroot\Citrix\MainStoreWeb\Custom并打开script.js 文件。


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47var lines; var randomNumber; var lastRandomNumber; $( document ).ready( function () { // load the trivia from the server $.ajax({ url: 'trivia.txt' }). done ( function (content) { // normalize the line breaks, then split into lines lines = content.replace(/\r\n| \r /g , '\n' ).trim(). split ( '\n' ); // only set up the click handler if there were lines found if (lines && lines.length) { // loop to prevent repeating the last random number while (randomNumber === lastRandomNumber) { randomNumber = parseInt(Math.random() * lines.length); // check to prevent infinite loop if (lines.length === 1) { break ; } } // keep track of the last random number lastRandomNumber = randomNumber; // show the corresponding line $( '#trivia' ).text(lines [randomNumber]); } }); });


默认情况下,该脚本将尝试找到位于C:\inetpub\wwwroot\Citrix\MainStoreWeb的trivia.txt。

接下来还需要添加以下显示页脚和随机消息:


1$( '#customBottom' ).html( "<p id='trivia'></p>" );

然后,打开style.css文件(在同一目录),并添加以下内容:


1 2 3#trivia { font: italic 14pt Arial; }


最后一步是创建C:\inetpub\wwwroot\Citrix\MainStoreWeb\trivia.txt。


1 2 3 4 5 6Message 1 Message 2 Message 3 Message 4 Message 5 Message 6

StoreFront每次刷新页面会显示不同的消息。


转载于:https://blog.51cto.com/kuazhang/1854117


免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删


相关文章
技术文档
QR Code
微信扫一扫,欢迎咨询~
customer

online

联系我们
武汉格发信息技术有限公司
湖北省武汉市经开区科技园西路6号103孵化器
电话:155-2731-8020 座机:027-59821821
邮件:tanzw@gofarlic.com
Copyright © 2023 Gofarsoft Co.,Ltd. 保留所有权利
遇到许可问题?该如何解决!?
评估许可证实际采购量? 
不清楚软件许可证使用数据? 
收到软件厂商律师函!?  
想要少购买点许可证,节省费用? 
收到软件厂商侵权通告!?  
有正版license,但许可证不够用,需要新购? 
联系方式 board-phone 155-2731-8020
close1
预留信息,一起解决您的问题
* 姓名:
* 手机:

* 公司名称:

姓名不为空

姓名不为空

姓名不为空
手机不正确

手机不正确

手机不正确
公司不为空

公司不为空

公司不为空