CItrix StoreFront 3 优化

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将会进行认证。

$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配置跟踪,请按照以下步骤操作。

Add-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解压缩并启动运行。

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

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

Add-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 文件。

添加以下行:

CTXS.Extensions.afterDisplayHomeScreen = function (callback) {
     CTXS.ExtensionAPI.navigateToFolder(‘folder/path‘);
};

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

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

CTXS.Extensions.afterDisplayHomeScreen = function (callback) {
     CTXS.ExtensionAPI.navigateToFolder(‘/‘);
};

删除收藏夹



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

重命名StoreFront网页



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

(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

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

background-image:url(../images/common/ReceiverFullScreenBackground_46E559C0E6B5A27B.jpg);

添加脚注



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

$(‘#customBottom‘).html("Your Text");

现在打开style.css

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

#customBottom {
text-align: right;
background-image: 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 文件。

在登录:

CTXS.Extensions.beforeLogon = function (callback) {
    doneClickThrough = true;
    CTXS.ExtensionAPI.showMessage({
        messageTitle: "Welcome to the new StoreFront!",
        messageText: "Please send your feedback to [email protected]",
        okButtonText: "Continue",
        okAction: callback
    });
};

主屏幕前:

CTXS.Extensions.beforeDisplayHomeScreen = function (callback) {
      if (!doneClickThrough) {
    CTXS.ExtensionAPI.showMessage({
        messageTitle: "Welcome to the new StoreFront!",
        messageText: "Please send your feedback to [email protected]",
        okButtonText: "Continue",
        okAction: callback
    });
 } else {
 callback();
 }
};

添加标题栏



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

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

打开style.css

#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 文件。

 var 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。

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

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

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

#trivia {
  font: italic 14pt Arial;
}

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

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

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

时间: 2024-08-28 19:23:18

CItrix StoreFront 3 优化的相关文章

Citrix StoreFront 3.7 的新增功能

StoreFront 3.7除了引入了对Windows Server 2016的支持,还引入了一些非常酷的功能.下面一起来看一下都有哪些功能吧! 一.WINDOWS服务器2016年支持 随着Windows Server 2016的发布,Citrix SotreFront也宣布支持最新的Windows Server 2016,即在Citrix的解决方案中提供零日支持.这是Citrix与Microsoft合作的事情之一. Windows Server 2016 Day 1 Support! Citr

Citrix Web Interface和StoreFront的功能对比

为了将虚拟应用呈现给用户,基础架构中一般都包括了StoreFront 或Web Interface.为了实现安全的远程接入,一般需要在DMZ中安装Secure Gateway或Access Gateway:后者是最常用的解决方案.这些组件都需要在集中访问管理控制台上进行某些配置,XenApp铂金版包含有Access Gateway客户端许可证.以下是对StoreFront组件和Web interface组件的概述: ·          StoreFront:做为WebInterface的替代产

Citrix归档

序号 链接 标题 1 http://tasnrh.blog.51cto.com/4141731/1304564 虚拟化环境应用发布介绍 2 http://tasnrh.blog.51cto.com/4141731/1304568 Citrix XenServer intelliCache功能介绍 3 http://tasnrh.blog.51cto.com/4141731/1304581 Citrix XenServer 优化 4 http://tasnrh.blog.51cto.com/414

XenDesktop7.12配置StoreFront使用HTTPS

在之前的博文中,我们的客户端是使用http协议去登录StoreFront,为了提高安全性,我们可以为StoreFront申请服务器证书配置https加密访问,以及巧用IIS错误页进行https重定向,本文将介绍具体配置过程. 之前的相关博文请见以下链接: <使用XenCenter 7配置XenServer资源池> 详见http://jiangjianlong.blog.51cto.com/3735273/1893363  . <XenDesktop7.12发布Win10周年更新版桌面&g

XenApp_XenDesktop_7.6实战篇之十九:安装、升级和配置StoreFront 3.0

CitrixXenDesktop7.6 Feature Pack 2中发布了StoreFront 3.0,本章节为大家分享如何全新部署.升级和配置StoreFront 3.0.默认XenDesktop 7.6光盘自带的StoreFront版本为2.6.0.5031.注意升级和全新部署StoreFront 3.0使用的安装程序是一致的. 1.  全新部署StoreFront 3.0 1.1   将CTXSF01服务器加入域,并使用具备本地管理员权限的域账户进行登录 1.2   运行StoreFro

XenApp_XenDesktop_7.6实战篇之十五:Storefront配置

1.  StoreFront服务器证书申请 我们将为StoreFront 申请Web 服务器证书,将此证书应用到StoreFront 的IIS 站点上,并将IIS 的443 端口绑定此证书,以使我们从内网可以安全访问StoreFront 站点.也为后续的与NetScaler 集成做好准备. 1.1  在开始本章节我们需要申请SSL证书,那么大家可以选择通过内部部署CA服务器或者到公网证书颁发机构进行申请,两者主要的区别如下: 内部部署CA:不能保证365*24提供服务,客户端默认不信任内部CA,

What is Citrix X1

最近接触Citrix比较的用户和合作伙伴应该会经常听到X1这个新词.那X1是什么! 现阶段大家可能听得比较多的可能是X1鼠标.一款在Citrix 的虚拟化平台中专用的蓝牙鼠标.在使用Citrix虚拟桌面.应用亦或其他Citrix的一些产品Gotomypc,ShareConnect,WorxDesktop时,专门用来解决那些在iOS设备由于不能接入鼠标而导致Windows应用在iOS设备上触控使用体验不好的问题.毕竟操作Windows应用还是键盘.鼠标来的靠谱啊!您说是吗? 这样一款iOS设备+C

关于Citrix与RSA认证结合认证模式

在一些项目中,Citrix的项目除了AD的常用身份认证之外,客户还希望集成RSA等类似的双因素身份验证解决方案.实现Citrix与RSA结合的认证模式主要有三种: 1) 仅使用RSA认证登陆,就可以访问应用程序,类似智能卡认证模式: 2) 在认证登陆界面上,同时输入User Name.Password.PassCode的认证模式: 3)实现分步登陆模式,首先由RSA的Web界面使用RSA的PassCode登陆,然后由Citrix的Web界面使用User Name.Password登陆.或者是先通

Citrix思杰XenDesktop、Pvs测试日记《七、使用测试和UPM》

XenServer6.5.SQLServer2008r2.XenDesktop7.6.远程桌面和APP宿主机,都已经配置完成,开始测试,并发现.解决问题. 一.测试远程桌面 前面已经记录如何使用Citrix Receiver,在Citrix Receiver添加了Citrix StoreFront地址后,用域用户登录,即可显示XD服务器配置交付的桌面和应用程序. 也可以通过WEB分方式进行访问:http://xd.citrix.com/citrix/storeweb 域用户登录必须加域名:[em