免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 9910 | 回复: 7
打印 上一主题 下一主题

[新手入门] (疑问)修改过/etc/environment后有什么办法可以立即生效? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-02-15 09:19 |只看该作者 |倒序浏览
可以有不重新启动机器而生效的办法吗?
另:语言设置我想用中文的话应该选哪个才可以使得从远程登陆时可以打开图形界面

论坛徽章:
0
2 [报告]
发表于 2008-02-15 09:43 |只看该作者
1.重新登陆即可生效
2.没看懂你问什么

论坛徽章:
0
3 [报告]
发表于 2008-02-15 10:23 |只看该作者
# @(#)18        1.25  src/bos/etc/environment/environment, cmdsh, bos53A, a2004_35B6 8/23/04 04:13:11
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#  
# bos53A src/bos/etc/environment/environment 1.25
#  
# Licensed Materials - Property of IBM
#  
# (C) COPYRIGHT International Business Machines Corp. 1989,1994
# All Rights Reserved
#  
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#  
# IBM_PROLOG_END_TAG
#
# COMPONENT_NAME: (CMDSH) Shell related commands
#
# ORIGINS: 27
#
# (C) COPYRIGHT International Business Machines Corp. 1989, 1994
# All Rights Reserved
# Licensed Materials - Property of IBM
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
################################################################
# System wide environment file.  This file should only contain
#     1.  comment lines which have a # in the first column,
#     2.  blank lines, and
#     3.  Lines in the form name=value.
#
# WARNING: This file is only for establishing environment variables.
#          Execution of commands from this file or any lines other
#          than specified above may cause failure of the initialization
#          process.
#
# Searching the current directory last is usually a BIG time saver.
# If /usr/ucb is at the beginning of the PATH the BSD version of commands will
# be found.
#
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin
TZ=CST6CDT
LANG=Zh_CN
LOCPATH=/usr/lib/nls/loc
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
LC__FASTMSG=true

# ODM routines use ODMDIR to determine which objects to operate on
# the default is /etc/objrepos - this is where the device objects
# reside, which are required for hardware configuration

ODMDIR=/etc/objrepos
当我把我的environment文件中的LANG写成中文的时候,远程用XMANAGER就登陆不了,问该修改成哪中中文才可以支持远程的图形界面登陆

[ 本帖最后由 gxau 于 2008-2-15 10:24 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2008-02-15 15:14 |只看该作者

回复 #1 gxau 的帖子

chlang -u root -m zh_CN zh_CN

论坛徽章:
0
5 [报告]
发表于 2008-02-15 15:17 |只看该作者
好,那我测试一下

论坛徽章:
0
6 [报告]
发表于 2008-02-15 15:18 |只看该作者
不可以,英文的话就可以,中文还是不行

论坛徽章:
0
7 [报告]
发表于 2008-02-15 15:49 |只看该作者
你看看你装了中文语言包了吗?

论坛徽章:
0
8 [报告]
发表于 2008-02-15 16:11 |只看该作者
装过了的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP