Gdk-WARNING **: locale not supported by C library解决方法
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 219
- 注册时间: 2007-02-05 18:55
Gdk-WARNING **: locale not supported by C library解决方法
今天我的ubuntu 6.06经常出现:
(process:6798): Gdk-WARNING **: locale not supported by C library
Gtk-WARNING (recursed) **: Locale not supported by C library.
Using the fallback 'C' locale.
这样的提示。
然后用pppoeconf也不能配置ADSL拨号上网了。
在这个论坛发现很多人出现了类似的问题,但没有找到解决方法。
我上网查了很久,终于试出了一个可以解决这个问题的方法,但对这个问题的起因和解决原理还不清楚。
你先试着在终端运行sudo locale,如果有错误提示,运行一次sudo locale-gen。
解决ADSL拨号问题的方法:
先sudo gedit /etc/ppp/peers/dsl-provider,将里面类似(process:6798): Gdk-WARNING **: locale not supported by C librar的信息删除(删除到文件结尾),保存
然后终端运行export LC_ALL=C,然后再启动pppoeconf
这时终端就不再提示上面的警告了。这里可以正常配置拨号了。
重启,可以上网了。
(process:6798): Gdk-WARNING **: locale not supported by C library
Gtk-WARNING (recursed) **: Locale not supported by C library.
Using the fallback 'C' locale.
这样的提示。
然后用pppoeconf也不能配置ADSL拨号上网了。
在这个论坛发现很多人出现了类似的问题,但没有找到解决方法。
我上网查了很久,终于试出了一个可以解决这个问题的方法,但对这个问题的起因和解决原理还不清楚。
你先试着在终端运行sudo locale,如果有错误提示,运行一次sudo locale-gen。
解决ADSL拨号问题的方法:
先sudo gedit /etc/ppp/peers/dsl-provider,将里面类似(process:6798): Gdk-WARNING **: locale not supported by C librar的信息删除(删除到文件结尾),保存
然后终端运行export LC_ALL=C,然后再启动pppoeconf
这时终端就不再提示上面的警告了。这里可以正常配置拨号了。
重启,可以上网了。
上次由 xain 在 2007-03-30 1:23,总共编辑 1 次。
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
-
- 帖子: 51
- 注册时间: 2006-12-25 16:03
我也遇到同样的 问题了 ,现在只能用rp-pppoe上网了,但是那个问题很困扰,看了一下dsl-provider,好像是scim-gtk-panel的问题,我 的 dsl-provider中有一段是
是不是和输入法有冲突啊,如何解决呢,lz能不能说详细点plugin rp-pppoe.so eth0
(process:9027): Gdk-WARNING **: locale not supported by C library
Gtk-WARNING (recursed) **: Locale not supported by C library.
Using the fallback 'C' locale.
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
GTK Panel of SCIM 1.4.4
-
- 帖子: 219
- 注册时间: 2007-02-05 18:55
你把全文贴出来,adsl的用户名和密码可以改成xxxxBrand 写了:我也遇到同样的 问题了 ,现在只能用rp-pppoe上网了,但是那个问题很困扰,看了一下dsl-provider,好像是scim-gtk-panel的问题,我 的 dsl-provider中有一段是是不是和输入法有冲突啊,如何解决呢,lz能不能说详细点plugin rp-pppoe.so eth0
(process:9027): Gdk-WARNING **: locale not supported by C library
Gtk-WARNING (recursed) **: Locale not supported by C library.
Using the fallback 'C' locale.
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
GTK Panel of SCIM 1.4.4
-
- 帖子: 51
- 注册时间: 2006-12-25 16:03
全文
# Configuration file for PPP, using PPP over Ethernet
# to connect to a DSL provider.
#
# See the manual page pppd(8) for information on all the options.
##
# Section 1
#
# Stuff to configure...
# MUST CHANGE: Uncomment the following line, replacing the user@provider.net
# by the DSL user name given to your by your DSL provider.
# (There should be a matching entry in /etc/ppp/pap-secrets with the password.)
#user myusername@myprovider.net
# Use the pppoe program to send the ppp packets over the Ethernet link
# This line should work fine if this computer is the only one accessing
# the Internet through this DSL connection. This is the right line to use
# for most people.
#pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1452"
# An even more conservative version of the previous line, if things
# don't work using -m 1452...
#pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1412"
# If the computer connected to the Internet using pppoe is not being used
# by other computers as a gateway to the Internet, you can try the following
# line instead, for a small gain in speed:
#pty "/usr/sbin/pppoe -I eth0 -T 80"
# The following two options should work fine for most DSL users.
# Assumes that your IP address is allocated dynamically
# by your DSL provider...
noipdefault
# Try to get the name server addresses from the ISP.
usepeerdns
# Use this connection as the default route.
# Comment out if you already have the correct default route installed.
defaultroute
##
# Section 2
#
# Uncomment if your DSL provider charges by minute connected
# and you want to use demand-dialing.
#
# Disconnect after 300 seconds (5 minutes) of idle time.
#demand
#idle 300
##
# Section 3
#
# You shouldn't need to change these options...
hide-password
lcp-echo-interval 20
lcp-echo-failure 3
# Override any connect script that may have been set in /etc/ppp/options.
connect /bin/true
noauth
persist
mtu 1492
# RFC 2516, paragraph 7 mandates that the following options MUST NOT be
# requested and MUST be rejected if requested by the peer:
# Address-and-Control-Field-Compression (ACFC)
noaccomp
# Asynchronous-Control-Character-Map (ACCM)
default-asyncmap
plugin rp-pppoe.so eth0
(process:9629): Gdk-WARNING **: locale not supported by C library
Gtk-WARNING (recursed) **: Locale not supported by C library.
Using the fallback 'C' locale.
**********@*****"
(process:5126): Gdk-WARNING **: locale not supported by C library
Gtk-WARNING (recursed) **: Locale not supported by C library.
Using the fallback 'C' locale.
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
GTK Panel of SCIM 1.4.4
(scim-panel-gtk:5129): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
**********@*****"
user "
(process:7690): Gdk-WARNING **: locale not supported by C library
Gtk-WARNING (recursed) **: Locale not supported by C library.
Using the fallback 'C' locale.
**********@*****"
-
- 帖子: 219
- 注册时间: 2007-02-05 18:55
的意思是将上面的修改成:先sudo gedit /etc/ppp/peers/dsl-provider,将里面类似(process:6798): Gdk-WARNING **: locale not supported by C librar的信息删除(删除到文件结尾),保存
保存# Configuration file for PPP, using PPP over Ethernet
# to connect to a DSL provider.
#
# See the manual page pppd(Cool for information on all the options.
##
# Section 1
#
# Stuff to configure...
# MUST CHANGE: Uncomment the following line, replacing the user@provider.net
# by the DSL user name given to your by your DSL provider.
# (There should be a matching entry in /etc/ppp/pap-secrets with the password.)
#user myusername@myprovider.net
# Use the pppoe program to send the ppp packets over the Ethernet link
# This line should work fine if this computer is the only one accessing
# the Internet through this DSL connection. This is the right line to use
# for most people.
#pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1452"
# An even more conservative version of the previous line, if things
# don't work using -m 1452...
#pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1412"
# If the computer connected to the Internet using pppoe is not being used
# by other computers as a gateway to the Internet, you can try the following
# line instead, for a small gain in speed:
#pty "/usr/sbin/pppoe -I eth0 -T 80"
# The following two options should work fine for most DSL users.
# Assumes that your IP address is allocated dynamically
# by your DSL provider...
noipdefault
# Try to get the name server addresses from the ISP.
usepeerdns
# Use this connection as the default route.
# Comment out if you already have the correct default route installed.
defaultroute
##
# Section 2
#
# Uncomment if your DSL provider charges by minute connected
# and you want to use demand-dialing.
#
# Disconnect after 300 seconds (5 minutes) of idle time.
#demand
#idle 300
##
# Section 3
#
# You shouldn't need to change these options...
hide-password
lcp-echo-interval 20
lcp-echo-failure 3
# Override any connect script that may have been set in /etc/ppp/options.
connect /bin/true
noauth
persist
mtu 1492
# RFC 2516, paragraph 7 mandates that the following options MUST NOT be
# requested and MUST be rejected if requested by the peer:
# Address-and-Control-Field-Compression (ACFC)
noaccomp
# Asynchronous-Control-Character-Map (ACCM)
default-asyncmap
plugin rp-pppoe.so eth0
- bones7456
- 帖子: 8495
- 注册时间: 2006-04-12 20:05
- 来自: 杭州
- 联系:
- jinsaiuser
- 帖子: 100
- 注册时间: 2007-10-10 9:25