Welcome to Gaia! ::

Superlative International Programmers

Back to Guilds

programming help, discussion, games, alot more 

Tags: programming, discussion, computer help, linux help, windows help 

Reply All operating system questions
i cant login

Quick Reply

Enter both words below, separated by a space:

Can't read the text? Click here

Submit

Judge Advocate
Captain

PostPosted: Sun Jan 24, 2010 9:54 pm


some one asked me:

im using ubuntu.
ive been trying to solve this for over 6 hours.

how i reached this:
i wanted to use arabic for writing some text on a project im working on so i installed the arabic language packages everything was normal and i can read arabic text but i couldnt use arabic as input language . so i modified the keyboard layout to "arabic qwerty" worked partially because i didnt reboot.
so i rebooted!
booting was normal till i reached the login window, when i enter a username it only writes arabic, i cant switch to arabic. i didnt panic, because theres "change language" on the lower left part of the login screen i selected english and i was shocked that it did nothing

what ive tried and failed at
1. using the recovery mode , but it only accepts arabic even in the root shell
2. using failsafe terminal, didnt work because i only write arabic
3. used a livecd to add new user with only digits i created a user using "adduser 22" and the password was digits as well, but i failed because when i tried to logining in it accepted username and password but nothing happens because theres no user home directory -.-
4. used livecd and created a home directory for a new user, when i logged in it said that the home directory permissions arnt set correctly
5. ive also tried making the two users i added before administrators by editing the "etc/group" and "etc/passwd" but i couldnt login in with them because administrators arnt allowed to login from that screen
6. when i really got frustrated i used live cd, mounted the file system and used "sudo chroot /media/disk" and kept removing all arabic related packages, but there was noo change at ALL


can you help me please, i cant install another ubuntu/linux.
juicy +rep for the one with the solution
PostPosted: Sun Jan 24, 2010 9:57 pm


Try this:

Log in with Live CD, mount your main hard drive (probably hda1), and locate it in your file system (it should be either in /media or /mnt). When you find it, open up your terminal, cd to it and then type this:

Code:
sudo gedit etc/default/console-setup

Scroll down and you should find this:

Code:
# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.
XKBMODEL="pc105"
XKBLAYOUT="af"
XKBVARIANT=""
XKBOPTIONS=""


Change "af" to "us" and reboot. See if that works.


and for everyone els that has this problem the answear iv'e provided did infact work for this user!  

Judge Advocate
Captain

Reply
All operating system questions

 
Manage Your Items
Other Stuff
Get GCash
Offers
Get Items
More Items
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff
Gaia's Games
Mini-Games
Play with GCash
Play with Platinum