Ubuntu Gnome Error after updating to Ubuntu 17.10
up vote
0
down vote
favorite
after updating ubuntu gnome, I get a black screen with an error window every time I log in. I can just click ok and continue, but after a month or so of ignoring it I figured I should fix it. Anybody able to help me?
The error window looks like this:
Error found when loading /etc/profile:
Locale: Cannot set LC_ALL to default locale: No such file or directory
Locale: Cannot set LC_ALL to default locale: No such file or directory
As a result the session will not be configured correctly. You should fix the problem as soon as feasible.
The file contains these lines:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "$PS1-" ]; then
if [ "$BASH-" ] && [ "$BASH" != "/bin/sh" ]; then
# The file bash.bashrc already sets the default PS1.
# PS1='h:w$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
gnome login 17.10
 |Â
show 1 more comment
up vote
0
down vote
favorite
after updating ubuntu gnome, I get a black screen with an error window every time I log in. I can just click ok and continue, but after a month or so of ignoring it I figured I should fix it. Anybody able to help me?
The error window looks like this:
Error found when loading /etc/profile:
Locale: Cannot set LC_ALL to default locale: No such file or directory
Locale: Cannot set LC_ALL to default locale: No such file or directory
As a result the session will not be configured correctly. You should fix the problem as soon as feasible.
The file contains these lines:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "$PS1-" ]; then
if [ "$BASH-" ] && [ "$BASH" != "/bin/sh" ]; then
# The file bash.bashrc already sets the default PS1.
# PS1='h:w$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
gnome login 17.10
have you looked atetc/profile
to see what the line is pointing to? can you add to your post the contents ofetc/profile
.. just checked my profile and I don't see LC_ALL so it may be something you have installed that is setting that "path" I looked up LC_ALL and found it has something to do with It forces applications to use the default language for output and probably not really necessary.. you probably can get away with commenting out that line in the file by adding a # before it .. but again .. it would be best if we could see the file and see if we can see an error in the line.
â John Orion
Mar 29 at 18:10
Ok thanks, there you go, I added it!
â Sojan Janso
Mar 29 at 22:11
hmm ok that's odd ... the LC_ALL isn't even listed. I expected to see something likeLC_ALL=en_US.UTF-8
or something like that .....ok it also looks in/etc/profile.d
.. check/etc/profile.d
folder and see if there are any files in there and if any of those files list the LC_ALL line. if you still don't see it check your~/.profile
and see if LC_ALL is listed in there. I found something close in a file calledcedilla-portuguese.sh
that saysexport LC_CTYPE="$LC_IDENTIFICATION%.*.UTF-8"
but nothing that saysLC_ALL=
sorry, im just guessing, im not real familiar with this error
â John Orion
Mar 29 at 23:35
I have a suspicion that something likeexport LC_ALL="$LC_IDENTIFICATION%.*.UTF-8"
is somewhere and not "set" right or is not getting the information needed from${LC_IDENTIFICATION%
so you are getting that error and since it repeats it may be in there twice or in two different files in the profiles.d ... again .. guessing :(
â John Orion
Mar 29 at 23:43
All I found was in /etc/profile.d/vte-2.29.sh in wich there is: # This is important to make sure string manipulation is handled # byte-by-byte. LC_ALL=C str="$1" while [ -n "$str" ]; do safe="$str%%[!a-zA-Z0-9/:_.-!'()~]*" printf "%s" "$safe" str="$str#"$safe"" if [ -n "$str" ]; then printf "%%%02X" "'$str" str="$str#?" fi done )
â Sojan Janso
Mar 30 at 2:36
 |Â
show 1 more comment
up vote
0
down vote
favorite
up vote
0
down vote
favorite
after updating ubuntu gnome, I get a black screen with an error window every time I log in. I can just click ok and continue, but after a month or so of ignoring it I figured I should fix it. Anybody able to help me?
The error window looks like this:
Error found when loading /etc/profile:
Locale: Cannot set LC_ALL to default locale: No such file or directory
Locale: Cannot set LC_ALL to default locale: No such file or directory
As a result the session will not be configured correctly. You should fix the problem as soon as feasible.
The file contains these lines:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "$PS1-" ]; then
if [ "$BASH-" ] && [ "$BASH" != "/bin/sh" ]; then
# The file bash.bashrc already sets the default PS1.
# PS1='h:w$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
gnome login 17.10
after updating ubuntu gnome, I get a black screen with an error window every time I log in. I can just click ok and continue, but after a month or so of ignoring it I figured I should fix it. Anybody able to help me?
The error window looks like this:
Error found when loading /etc/profile:
Locale: Cannot set LC_ALL to default locale: No such file or directory
Locale: Cannot set LC_ALL to default locale: No such file or directory
As a result the session will not be configured correctly. You should fix the problem as soon as feasible.
The file contains these lines:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "$PS1-" ]; then
if [ "$BASH-" ] && [ "$BASH" != "/bin/sh" ]; then
# The file bash.bashrc already sets the default PS1.
# PS1='h:w$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
gnome login 17.10
gnome login 17.10
edited Mar 29 at 22:05
asked Mar 29 at 17:51
Sojan Janso
365
365
have you looked atetc/profile
to see what the line is pointing to? can you add to your post the contents ofetc/profile
.. just checked my profile and I don't see LC_ALL so it may be something you have installed that is setting that "path" I looked up LC_ALL and found it has something to do with It forces applications to use the default language for output and probably not really necessary.. you probably can get away with commenting out that line in the file by adding a # before it .. but again .. it would be best if we could see the file and see if we can see an error in the line.
â John Orion
Mar 29 at 18:10
Ok thanks, there you go, I added it!
â Sojan Janso
Mar 29 at 22:11
hmm ok that's odd ... the LC_ALL isn't even listed. I expected to see something likeLC_ALL=en_US.UTF-8
or something like that .....ok it also looks in/etc/profile.d
.. check/etc/profile.d
folder and see if there are any files in there and if any of those files list the LC_ALL line. if you still don't see it check your~/.profile
and see if LC_ALL is listed in there. I found something close in a file calledcedilla-portuguese.sh
that saysexport LC_CTYPE="$LC_IDENTIFICATION%.*.UTF-8"
but nothing that saysLC_ALL=
sorry, im just guessing, im not real familiar with this error
â John Orion
Mar 29 at 23:35
I have a suspicion that something likeexport LC_ALL="$LC_IDENTIFICATION%.*.UTF-8"
is somewhere and not "set" right or is not getting the information needed from${LC_IDENTIFICATION%
so you are getting that error and since it repeats it may be in there twice or in two different files in the profiles.d ... again .. guessing :(
â John Orion
Mar 29 at 23:43
All I found was in /etc/profile.d/vte-2.29.sh in wich there is: # This is important to make sure string manipulation is handled # byte-by-byte. LC_ALL=C str="$1" while [ -n "$str" ]; do safe="$str%%[!a-zA-Z0-9/:_.-!'()~]*" printf "%s" "$safe" str="$str#"$safe"" if [ -n "$str" ]; then printf "%%%02X" "'$str" str="$str#?" fi done )
â Sojan Janso
Mar 30 at 2:36
 |Â
show 1 more comment
have you looked atetc/profile
to see what the line is pointing to? can you add to your post the contents ofetc/profile
.. just checked my profile and I don't see LC_ALL so it may be something you have installed that is setting that "path" I looked up LC_ALL and found it has something to do with It forces applications to use the default language for output and probably not really necessary.. you probably can get away with commenting out that line in the file by adding a # before it .. but again .. it would be best if we could see the file and see if we can see an error in the line.
â John Orion
Mar 29 at 18:10
Ok thanks, there you go, I added it!
â Sojan Janso
Mar 29 at 22:11
hmm ok that's odd ... the LC_ALL isn't even listed. I expected to see something likeLC_ALL=en_US.UTF-8
or something like that .....ok it also looks in/etc/profile.d
.. check/etc/profile.d
folder and see if there are any files in there and if any of those files list the LC_ALL line. if you still don't see it check your~/.profile
and see if LC_ALL is listed in there. I found something close in a file calledcedilla-portuguese.sh
that saysexport LC_CTYPE="$LC_IDENTIFICATION%.*.UTF-8"
but nothing that saysLC_ALL=
sorry, im just guessing, im not real familiar with this error
â John Orion
Mar 29 at 23:35
I have a suspicion that something likeexport LC_ALL="$LC_IDENTIFICATION%.*.UTF-8"
is somewhere and not "set" right or is not getting the information needed from${LC_IDENTIFICATION%
so you are getting that error and since it repeats it may be in there twice or in two different files in the profiles.d ... again .. guessing :(
â John Orion
Mar 29 at 23:43
All I found was in /etc/profile.d/vte-2.29.sh in wich there is: # This is important to make sure string manipulation is handled # byte-by-byte. LC_ALL=C str="$1" while [ -n "$str" ]; do safe="$str%%[!a-zA-Z0-9/:_.-!'()~]*" printf "%s" "$safe" str="$str#"$safe"" if [ -n "$str" ]; then printf "%%%02X" "'$str" str="$str#?" fi done )
â Sojan Janso
Mar 30 at 2:36
have you looked at
etc/profile
to see what the line is pointing to? can you add to your post the contents of etc/profile
.. just checked my profile and I don't see LC_ALL so it may be something you have installed that is setting that "path" I looked up LC_ALL and found it has something to do with It forces applications to use the default language for output and probably not really necessary.. you probably can get away with commenting out that line in the file by adding a # before it .. but again .. it would be best if we could see the file and see if we can see an error in the line.â John Orion
Mar 29 at 18:10
have you looked at
etc/profile
to see what the line is pointing to? can you add to your post the contents of etc/profile
.. just checked my profile and I don't see LC_ALL so it may be something you have installed that is setting that "path" I looked up LC_ALL and found it has something to do with It forces applications to use the default language for output and probably not really necessary.. you probably can get away with commenting out that line in the file by adding a # before it .. but again .. it would be best if we could see the file and see if we can see an error in the line.â John Orion
Mar 29 at 18:10
Ok thanks, there you go, I added it!
â Sojan Janso
Mar 29 at 22:11
Ok thanks, there you go, I added it!
â Sojan Janso
Mar 29 at 22:11
hmm ok that's odd ... the LC_ALL isn't even listed. I expected to see something like
LC_ALL=en_US.UTF-8
or something like that .....ok it also looks in /etc/profile.d
.. check /etc/profile.d
folder and see if there are any files in there and if any of those files list the LC_ALL line. if you still don't see it check your ~/.profile
and see if LC_ALL is listed in there. I found something close in a file called cedilla-portuguese.sh
that says export LC_CTYPE="$LC_IDENTIFICATION%.*.UTF-8"
but nothing that says LC_ALL=
sorry, im just guessing, im not real familiar with this errorâ John Orion
Mar 29 at 23:35
hmm ok that's odd ... the LC_ALL isn't even listed. I expected to see something like
LC_ALL=en_US.UTF-8
or something like that .....ok it also looks in /etc/profile.d
.. check /etc/profile.d
folder and see if there are any files in there and if any of those files list the LC_ALL line. if you still don't see it check your ~/.profile
and see if LC_ALL is listed in there. I found something close in a file called cedilla-portuguese.sh
that says export LC_CTYPE="$LC_IDENTIFICATION%.*.UTF-8"
but nothing that says LC_ALL=
sorry, im just guessing, im not real familiar with this errorâ John Orion
Mar 29 at 23:35
I have a suspicion that something like
export LC_ALL="$LC_IDENTIFICATION%.*.UTF-8"
is somewhere and not "set" right or is not getting the information needed from ${LC_IDENTIFICATION%
so you are getting that error and since it repeats it may be in there twice or in two different files in the profiles.d ... again .. guessing :(â John Orion
Mar 29 at 23:43
I have a suspicion that something like
export LC_ALL="$LC_IDENTIFICATION%.*.UTF-8"
is somewhere and not "set" right or is not getting the information needed from ${LC_IDENTIFICATION%
so you are getting that error and since it repeats it may be in there twice or in two different files in the profiles.d ... again .. guessing :(â John Orion
Mar 29 at 23:43
All I found was in /etc/profile.d/vte-2.29.sh in wich there is: # This is important to make sure string manipulation is handled # byte-by-byte. LC_ALL=C str="$1" while [ -n "$str" ]; do safe="$str%%[!a-zA-Z0-9/:_.-!'()~]*" printf "%s" "$safe" str="$str#"$safe"" if [ -n "$str" ]; then printf "%%%02X" "'$str" str="$str#?" fi done )
â Sojan Janso
Mar 30 at 2:36
All I found was in /etc/profile.d/vte-2.29.sh in wich there is: # This is important to make sure string manipulation is handled # byte-by-byte. LC_ALL=C str="$1" while [ -n "$str" ]; do safe="$str%%[!a-zA-Z0-9/:_.-!'()~]*" printf "%s" "$safe" str="$str#"$safe"" if [ -n "$str" ]; then printf "%%%02X" "'$str" str="$str#?" fi done )
â Sojan Janso
Mar 30 at 2:36
 |Â
show 1 more comment
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1020342%2fubuntu-gnome-error-after-updating-to-ubuntu-17-10%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
have you looked at
etc/profile
to see what the line is pointing to? can you add to your post the contents ofetc/profile
.. just checked my profile and I don't see LC_ALL so it may be something you have installed that is setting that "path" I looked up LC_ALL and found it has something to do with It forces applications to use the default language for output and probably not really necessary.. you probably can get away with commenting out that line in the file by adding a # before it .. but again .. it would be best if we could see the file and see if we can see an error in the line.â John Orion
Mar 29 at 18:10
Ok thanks, there you go, I added it!
â Sojan Janso
Mar 29 at 22:11
hmm ok that's odd ... the LC_ALL isn't even listed. I expected to see something like
LC_ALL=en_US.UTF-8
or something like that .....ok it also looks in/etc/profile.d
.. check/etc/profile.d
folder and see if there are any files in there and if any of those files list the LC_ALL line. if you still don't see it check your~/.profile
and see if LC_ALL is listed in there. I found something close in a file calledcedilla-portuguese.sh
that saysexport LC_CTYPE="$LC_IDENTIFICATION%.*.UTF-8"
but nothing that saysLC_ALL=
sorry, im just guessing, im not real familiar with this errorâ John Orion
Mar 29 at 23:35
I have a suspicion that something like
export LC_ALL="$LC_IDENTIFICATION%.*.UTF-8"
is somewhere and not "set" right or is not getting the information needed from${LC_IDENTIFICATION%
so you are getting that error and since it repeats it may be in there twice or in two different files in the profiles.d ... again .. guessing :(â John Orion
Mar 29 at 23:43
All I found was in /etc/profile.d/vte-2.29.sh in wich there is: # This is important to make sure string manipulation is handled # byte-by-byte. LC_ALL=C str="$1" while [ -n "$str" ]; do safe="$str%%[!a-zA-Z0-9/:_.-!'()~]*" printf "%s" "$safe" str="$str#"$safe"" if [ -n "$str" ]; then printf "%%%02X" "'$str" str="$str#?" fi done )
â Sojan Janso
Mar 30 at 2:36