when i made login to 12.04 with usual user i get terminal, but works with guest account

Asked by jonnie barnes-yallowley

Hi - I successfully loaded 12.04 and it worked fine for a couple of days but now when I log in the screen takes me to a black page with the command line - loging in as a guest does not have this problem. I cannot work out how to close this black page that is very similar to the terminal but there is no tab at the top to close it. Thanks Jonnie

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ubuntu-meta Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jeet (gour-jitendrasingh) said :
#1

use Ctrl-Alt-F7 after Login and revert back if it works

Revision history for this message
jonnie barnes-yallowley (barnesyallowley) said :
#2

Hi Jeet - afraid this does not appear to do anything. Ubuntu loads normally right up to the moment I press enter having put my password in. What happens next is a black square opens in the top left corner and I get the command line jj@jj-laptop:~$ (nothing else on the screen works)
having read about some of the unix commands I tried exec login and this takes me back to the Ubuntu login screen and I can then login as a guest (but cannot access any of my folders)

Any more ideas - can I login from the command prompt? Thanks. Jonnie
Sent via BlackBerry by AT&T

-----Original Message-----
From: Jeet <email address hidden>
Date: Tue, 8 May 2012 07:05:54
To: <email address hidden>
Subject: Re: [Question #196439]: when i made login to 12.04 with usual user
 i get terminal, but works with guest account

Your question #196439 on ubuntu-meta in Ubuntu changed:
https://answers.launchpad.net/ubuntu/&#43;source/ubuntu-meta/&#43;question/196439

    Status: Open => Answered

Jeet proposed the following answer:
use Ctrl-Alt-F7 after Login and revert back if it works

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/&#43;source/ubuntu-meta/&#43;question/196439/&#43;confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/&#43;source/ubuntu-meta/&#43;question/196439

You received this question notification because you asked the question.

Revision history for this message
jonnie barnes-yallowley (barnesyallowley) said :
#3

Hey Jeet - I am still playing - have just tried sudo login and was able to login in the command screen and that's it. I have tried ctrl+alt+F7 and this now takes me out of the terminal but back to the guest account - very frustrating. Any ideas. Jonnie
Sent via BlackBerry by AT&T

-----Original Message-----
From: <email address hidden>
Date: Wed, 9 May 2012 00:59:25
To: Jeet<email address hidden>
Reply-To: <email address hidden>
Subject: Re: [Question #196439]: when i made login to 12.04 with usual user i get terminal, but works with guest account

Hi Jeet - afraid this does not appear to do anything. Ubuntu loads normally right up to the moment I press enter having put my password in. What happens next is a black square opens in the top left corner and I get the command line jj@jj-laptop:~$ (nothing else on the screen works)
having read about some of the unix commands I tried exec login and this takes me back to the Ubuntu login screen and I can then login as a guest (but cannot access any of my folders)

Any more ideas - can I login from the command prompt? Thanks. Jonnie
Sent via BlackBerry by AT&T

-----Original Message-----
From: Jeet <email address hidden>
Date: Tue, 8 May 2012 07:05:54
To: <email address hidden>
Subject: Re: [Question #196439]: when i made login to 12.04 with usual user
 i get terminal, but works with guest account

Your question #196439 on ubuntu-meta in Ubuntu changed:
https://answers.launchpad.net/ubuntu/&#43;source/ubuntu-meta/&#43;question/196439

    Status: Open => Answered

Jeet proposed the following answer:
use Ctrl-Alt-F7 after Login and revert back if it works

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/&#43;source/ubuntu-meta/&#43;question/196439/&#43;confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/&#43;source/ubuntu-meta/&#43;question/196439

You received this question notification because you asked the question.

Revision history for this message
Jeet (gour-jitendrasingh) said :
#4

please paste the output of

login into shell (Black screen)

cat /etc/passwd
id <user-name> (please provide both user detail guest and admin)
who am i (command to check your current user)
echo $EUID

Please provide this detail

and as far as i think super user do not have Desktop control and you are using right user for Desktop.

alternatively you can install gnome - shell by command

sudo apt-get install gnome-shell

then proceed

Thanks and let me know

Revision history for this message
jonnie barnes-yallowley (barnesyallowley) said :
#5

Hi Jeet

Having logged into the guest account I when to shell (terminal) and typed in

cat /etc/passwd

and the response was

sh
usbmux:x:107:46:usbmux daemon,,,:/home/usbmux:/bin/false
haldaemon:x:108:114:Hardware abstraction layer,,,:/var/run/hald:/bin/false
kernoops:x:109:65534:Kernel Oops Tracking Daemon,,,:/:/bin/false
pulse:x:110:115:PulseAudio daemon,,,:/var/run/pulse:/bin/false
rtkit:x:111:117:RealtimeKit,,,:/proc:/bin/false
saned:x:112:118::/home/saned:/bin/false
hplip:x:113:7:HPLIP system user,,,:/var/run/hplip:/bin/false
gdm:x:114:120:Gnome Display Manager:/var/lib/gdm:/bin/false
jj:x:1000:1000:Jonnie Barnes-Yallowley,,,:/home/jj:/bin/bash
lightdm:x:115:126:Light Display Manager:/var/lib/lightdm:/bin/false
colord:x:116:127:colord colour management daemon,,,:/var/lib/colord:/bin/false
whoopsie:x:117:129::/nonexistent:/bin/false
guest-iqiYxA:x:118:130:Guest,,,:/tmp/guest-iqiYxA:/bin/bash
guest-0J5WWF:x:119:131:Guest,,,:/tmp/guest-0J5WWF:/bin/bash
guest-L6PIWs:x:120:132:Guest,,,:/tmp/guest-L6PIWs:/bin/bash
guest-XHgvSi:x:121:133:Guest,,,:/tmp/guest-XHgvSi:/bin/bash
guest-a5Fjkz:x:122:134:Guest,,,:/tmp/guest-a5Fjkz:/bin/bash
guest-H5pnys:x:123:135:Guest,,,:/tmp/guest-H5pnys:/bin/bash
guest-pwVEFp:x:124:136:Guest,,,:/tmp/guest-pwVEFp:/bin/bash
guest-x2cZBZ:x:125:137:Guest,,,:/tmp/guest-x2cZBZ:/bin/bash
guest-hRUS3D:x:126:138:Guest,,,:/tmp/guest-hRUS3D:/bin/bash
guest-YujfXm:x:127:139:Guest,,,:/tmp/guest-YujfXm:/bin/bash
guest-YujfXm@jj-laptop:~$

I then typed

id <user name> (the only user name I know is jj)

and the response was

uid=1000(jj) gid=1000(jj) groups=1000(jj),4(adm),20(dialout),24(cdrom),46(plugdev),105(lpadmin),119(admin),122(sambashare)
guest-YujfXm@jj-laptop:~$

I then typed in

who am i

and the response was

guest-YujfXm pts/0 2012-05-12 08:34 (:0)
guest-YujfXm@jj-laptop:~$

finally I typed

echo $EUID

and the response was

127
guest-YujfXm@jj-laptop:~$

Does this give you any more info?

The problem remains - I have full functionality from the guest login (but no access to my files and folders), when I login to my account (jj) the moment I hit return I get a black screen and the command prompt

If I type CNTRL+ALT+F7 from the guest account this takes me to a shell that prompts me to login which I can do successfully but that is all (I cannot get out of shell) CNTRL+ALT+F7 just takes me back to the guest account.

I have not tried sudo apt-get install gnome-shell yet - where should I do this from? the guest account or my account? does it matter. Thanks I really appreciate your help Jonnie

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #196439]: when i made login to 12.04 with usual user i get terminal, but works with guest account
> Date: Wed, 9 May 2012 06:55:48 +0000
>
> Your question #196439 on ubuntu-meta in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/ubuntu-meta/+question/196439
>
> Status: Open => Answered
>
> Jeet proposed the following answer:
> please paste the output of
>
> login into shell (Black screen)
>
> cat /etc/passwd
> id <user-name> (please provide both user detail guest and admin)
> who am i (command to check your current user)
> echo $EUID
>
> Please provide this detail
>
> and as far as i think super user do not have Desktop control and you are
> using right user for Desktop.
>
>
> alternatively you can install gnome - shell by command
>
> sudo apt-get install gnome-shell
>
> then proceed
>
> Thanks and let me know
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/ubuntu-meta/+question/196439/+confirm?answer_id=3
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/ubuntu-meta/+question/196439
>
> You received this question notification because you asked the question.

Revision history for this message
jonnie barnes-yallowley (barnesyallowley) said :
#6

Hey Jeet - further to my last I have now run 'sudo apt-get install gnome-shell' from the shell page I get when I login and it ran a software download then when I logged in it asked for a restart - this I have done but no change to the problem. I still can't get to the Ubuntu window from my login.

Thanks Jonnie

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #196439]: when i made login to 12.04 with usual user i get terminal, but works with guest account
> Date: Sat, 12 May 2012 15:55:50 +0000
>
> Your question #196439 on ubuntu-meta in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/ubuntu-meta/+question/196439
>
> Status: Answered => Open
>
> You are still having a problem:
>
> Hi Jeet
>
> Having logged into the guest account I when to shell (terminal) and
> typed in
>
> cat /etc/passwd
>
> and the response was
>
> sh
> usbmux:x:107:46:usbmux daemon,,,:/home/usbmux:/bin/false
> haldaemon:x:108:114:Hardware abstraction layer,,,:/var/run/hald:/bin/false
> kernoops:x:109:65534:Kernel Oops Tracking Daemon,,,:/:/bin/false
> pulse:x:110:115:PulseAudio daemon,,,:/var/run/pulse:/bin/false
> rtkit:x:111:117:RealtimeKit,,,:/proc:/bin/false
> saned:x:112:118::/home/saned:/bin/false
> hplip:x:113:7:HPLIP system user,,,:/var/run/hplip:/bin/false
> gdm:x:114:120:Gnome Display Manager:/var/lib/gdm:/bin/false
> jj:x:1000:1000:Jonnie Barnes-Yallowley,,,:/home/jj:/bin/bash
> lightdm:x:115:126:Light Display Manager:/var/lib/lightdm:/bin/false
> colord:x:116:127:colord colour management daemon,,,:/var/lib/colord:/bin/false
> whoopsie:x:117:129::/nonexistent:/bin/false
> guest-iqiYxA:x:118:130:Guest,,,:/tmp/guest-iqiYxA:/bin/bash
> guest-0J5WWF:x:119:131:Guest,,,:/tmp/guest-0J5WWF:/bin/bash
> guest-L6PIWs:x:120:132:Guest,,,:/tmp/guest-L6PIWs:/bin/bash
> guest-XHgvSi:x:121:133:Guest,,,:/tmp/guest-XHgvSi:/bin/bash
> guest-a5Fjkz:x:122:134:Guest,,,:/tmp/guest-a5Fjkz:/bin/bash
> guest-H5pnys:x:123:135:Guest,,,:/tmp/guest-H5pnys:/bin/bash
> guest-pwVEFp:x:124:136:Guest,,,:/tmp/guest-pwVEFp:/bin/bash
> guest-x2cZBZ:x:125:137:Guest,,,:/tmp/guest-x2cZBZ:/bin/bash
> guest-hRUS3D:x:126:138:Guest,,,:/tmp/guest-hRUS3D:/bin/bash
> guest-YujfXm:x:127:139:Guest,,,:/tmp/guest-YujfXm:/bin/bash
> guest-YujfXm@jj-laptop:~$
>
>
> I then typed
>
> id <user name> (the only user name I know is jj)
>
> and the response was
>
> uid=1000(jj) gid=1000(jj) groups=1000(jj),4(adm),20(dialout),24(cdrom),46(plugdev),105(lpadmin),119(admin),122(sambashare)
> guest-YujfXm@jj-laptop:~$
>
> I then typed in
>
> who am i
>
> and the response was
>
> guest-YujfXm pts/0 2012-05-12 08:34 (:0)
> guest-YujfXm@jj-laptop:~$
>
> finally I typed
>
> echo $EUID
>
> and the response was
>
> 127
> guest-YujfXm@jj-laptop:~$
>
>
> Does this give you any more info?
>
> The problem remains - I have full functionality from the guest login
> (but no access to my files and folders), when I login to my account (jj)
> the moment I hit return I get a black screen and the command prompt
>
> If I type CNTRL+ALT+F7 from the guest account this takes me to a shell
> that prompts me to login which I can do successfully but that is all (I
> cannot get out of shell) CNTRL+ALT+F7 just takes me back to the guest
> account.
>
> I have not tried sudo apt-get install gnome-shell yet - where should I
> do this from? the guest account or my account? does it matter.
> Thanks I really appreciate your help Jonnie
>
>
> > To: <email address hidden>
> > From: <email address hidden>
> > Subject: Re: [Question #196439]: when i made login to 12.04 with usual user i get terminal, but works with guest account
> > Date: Wed, 9 May 2012 06:55:48 +0000
> >
> > Your question #196439 on ubuntu-meta in Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+source/ubuntu-meta/+question/196439
> >
> > Status: Open => Answered
> >
> > Jeet proposed the following answer:
> > please paste the output of
> >
> > login into shell (Black screen)
> >
> > cat /etc/passwd
> > id <user-name> (please provide both user detail guest and admin)
> > who am i (command to check your current user)
> > echo $EUID
> >
> > Please provide this detail
> >
> > and as far as i think super user do not have Desktop control and you are
> > using right user for Desktop.
> >
> >
> > alternatively you can install gnome - shell by command
> >
> > sudo apt-get install gnome-shell
> >
> > then proceed
> >
> > Thanks and let me know
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> > https://answers.launchpad.net/ubuntu/+source/ubuntu-meta/+question/196439/+confirm?answer_id=3
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/ubuntu/+source/ubuntu-meta/+question/196439
> >
> > You received this question notification because you asked the question.
>
> --
> You received this question notification because you asked the question.

Revision history for this message
Barry Drake (b-drake) said :
#7

Have you tried switching to the Unity 2D option while you are in the login screen? (press the Ubuntu button to the right of the password prompt). Was the original install a clean install or an upgrade? If an upgrade, you might want to create a new adninistrator account, move all your data into that if it works OK and delete your old account as the problem is being caused by a configuration file you have in yout home folder. Could take a lot of finding!

Revision history for this message
jonnie barnes-yallowley (barnesyallowley) said :
#8

Hi Barry - this install was an upgrade.

The 2D option works !!! your are brilliant - but I have just had an error message saying that there is an internal problem with Ubuntu. So I think I will create a new administrator account. Can you advise on how I do that?

Thanks so much it is a great relief to to see all my files again - I am in the middle of a degree course!!!!

Jonnie

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #196439]: when i made login to 12.04 with usual user i get terminal, but works with guest account
> Date: Sat, 12 May 2012 17:10:54 +0000
>
> Your question #196439 on ubuntu-meta in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/ubuntu-meta/+question/196439
>
> Barry Drake posted a new comment:
> Have you tried switching to the Unity 2D option while you are in the
> login screen? (press the Ubuntu button to the right of the password
> prompt). Was the original install a clean install or an upgrade? If an
> upgrade, you might want to create a new adninistrator account, move all
> your data into that if it works OK and delete your old account as the
> problem is being caused by a configuration file you have in yout home
> folder. Could take a lot of finding!
>
> --
> You received this question notification because you asked the question.

Revision history for this message
Barry Drake (b-drake) said :
#9

System settings->accounts then unlock with your password and use the + icon to add an account. Make sure that account has all the privileges - administrator and everything else you could need. Test the new account to make sure there are no more error messages before going any further. If you still get random error messages, something went wrong with your upgrade. We can help you try to fix it, or you might want to do a clean install. Either way, make sure you have backed up any data you want to save.

Revision history for this message
Jeet (gour-jitendrasingh) said :
#10

Hi Jonnie sorry for late reply ...

as Barry suggested you are able to work with 2D option ..

now you can do some trick to enable root and add accounts and access data ..

i must say that you backup your important data first ..

to enable root.

in terminal enter following command .

sudo passwd root

then copy paste below in terminal

sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'

now restart and enjoy you can use root account.

for adding user you can go threw following ...

sudo useradd -p <user_name> <password>

after doing this you can open user management tool using

users-admin command and change user type to administrator...

more things related to user management can be available on

https://help.ubuntu.com/8.04/serverguide/user-management.html

Thanks
Jeet

Revision history for this message
jonnie barnes-yallowley (barnesyallowley) said :
#11

Hey - You guys rock - thank you so much for all the help. New administrator account set up, files transferred and old one deleted. System now appears stable and everything working. Question closed way to go Ubuntu. Jonnie
Sent via BlackBerry by AT&T

-----Original Message-----
From: Barry Drake <email address hidden>
Date: Sat, 12 May 2012 20:15:52
To: <email address hidden>
Subject: Re: [Question #196439]: when i made login to 12.04 with usual user
 i get terminal, but works with guest account

Your question #196439 on ubuntu-meta in Ubuntu changed:
https://answers.launchpad.net/ubuntu/&#43;source/ubuntu-meta/&#43;question/196439

Barry Drake posted a new comment:
System settings->accounts then unlock with your password and use the +
icon to add an account.  Make sure that account has all the privileges -
administrator and everything else you could need.  Test the new account
to make sure there are no more error messages before going any further.
If you still get random error messages, something went wrong with your
upgrade.  We can help you try to fix it, or you might want to do a clean
install.  Either way, make sure you have backed up any data you want to
save.

--
You received this question notification because you asked the question.

Revision history for this message
Jeet (gour-jitendrasingh) said :
#12

Nice to hear... Mark it solve ...
On May 13, 2012 11:31 AM, "jonnie barnes-yallowley" <
<email address hidden>> wrote:

> Question #196439 on ubuntu-meta in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/ubuntu-meta/+question/196439
>
> Status: Answered => Open
>
> jonnie barnes-yallowley is still having a problem:
> Hey - You guys rock - thank you so much for all the help. New
> administrator account set up, files transferred and old one deleted.
> System now appears stable and everything working. Question closed way to
> go Ubuntu. Jonnie
> Sent via BlackBerry by AT&T
>
> -----Original Message-----
> From: Barry Drake <email address hidden>
> Date: Sat, 12 May 2012 20:15:52
> To: <email address hidden>
> Subject: Re: [Question #196439]: when i made login to 12.04 with usual user
> i get terminal, but works with guest account
>
> Your question #196439 on ubuntu-meta in Ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/&#43;source/ubuntu-meta/&#43;question/196439
>
> Barry Drake posted a new comment:
> System settings->accounts then unlock with your password and use the +
> icon to add an account. Make sure that account has all the privileges -
> administrator and everything else you could need. Test the new account
> to make sure there are no more error messages before going any further.
> If you still get random error messages, something went wrong with your
> upgrade. We can help you try to fix it, or you might want to do a clean
> install. Either way, make sure you have backed up any data you want to
> save.
>
> --
> You received this question notification because you asked the question.
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Can you help with this problem?

Provide an answer of your own, or ask jonnie barnes-yallowley for more information if necessary.

To post a message you must log in.