LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 03-01-2012, 07:05 PM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,436

Rep: Reputation: 83
who is logged in? (Debian wheezy, current)


Hya,

I am somewhat confused.

System
Debian wheezy, current as of 1/mar/2012 UTC

Situation
After console login, (no display manager, conventional login)
Code:
>who
>
then startx and open xterm
Code:
>who
penguin  pts/1        2012-03-02 08:55 (:0)
>
If I remember correct, penguin is supposed to be log in through tty1.

Can anybody point out where problem is?
 
Old 03-01-2012, 07:30 PM   #2
Sidicas
Member
 
Registered: Apr 2004
Distribution: Debian GNU/Linux
Posts: 45

Rep: Reputation: 6
tty is the regular text login prompts (Ctrl+Alt+F1 through Ctrl+ALT+F6)..

When you open X you automatically get bumped to the X session on Ctrl+ALT+F7, and then when you open a terminal from inside of an X session, it's pts. If you use Ctrl+ALT+F1, you can go back to your tty.

Last edited by Sidicas; 03-01-2012 at 07:34 PM.
 
Old 03-01-2012, 09:23 PM   #3
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,436

Original Poster
Rep: Reputation: 83
Thanks,

I guess I did regular text login. Conventional console login, as I did pre X age.
 
Old 03-07-2012, 11:57 PM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,436

Original Poster
Rep: Reputation: 83
Hya,

Self reply.

I checked two X86 laptop penguins. (Debian wheezy, but kernel is 3.1.8)
Code:
>who
penguin  tty1        2012-03-08 08:55
>
after console login.

I checked bug reports on Debian but no report.

Post #1 was done on amd64 ones. I guess something is wrong with amd64 Debian wheezy.

Can anybody reproduce this? If necessary I will submit bug report.

Cheers

Last edited by kaz2100; 03-08-2012 at 04:19 PM.
 
Old 03-08-2012, 01:21 AM   #5
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,221

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
tom@debian:~$ uname -a
Linux debian 3.2.0-1-amd64 #1 SMP Fri Feb 17 05:17:36 UTC 2012 x86_64 GNU/Linux
tom@debian:~$ who
tom tty7 2012-03-08 00:16 (:0)
tom pts/0 2012-03-08 00:20 (:0.0)
tom@debian:~$
 
Old 03-08-2012, 04:30 PM   #6
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,436

Original Poster
Rep: Reputation: 83
Hya,

Thanks, widget.

Your debian looks good.

I tried another x86 wheezy, (3.2.8 kernel) and NOT good.

So far,

all amd64 ones are NG. (even with 3.1 kernel)
One x86 (with 3.2.8) is NG.
Two x86's (with 3.1, and with 3.2.4) are OK.


I need to narrow down. Version of who command is 8.13 (x86, amd64).
Is this kernel related or something else?

One thing I need to check is date of last dist-upgrade. (Not all of them are "current as of 1/Mar")

cheers
 
Old 03-08-2012, 06:32 PM   #7
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,221

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
I need to go "visit" my other installs.

Will give it a whack on one of my Sid install and see what that does.
 
Old 03-08-2012, 09:33 PM   #8
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,221

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Sid works fine too.

I do however have a question.

Are you sure you are not logging in at a root prompt?
 
Old 03-09-2012, 04:37 PM   #9
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,436

Original Poster
Rep: Reputation: 83
Hya,

Thanks, widget.

It is nice to have good penguin.

What is "root prompt"?

$prompt (tcsh) or $PS1 (bash)??

My situation is:
power on, lilo goes, many lines show, NO X kicked in (no XDM, GDM..) login

Some wheezy Penguins, who shows somebody on tty1,
while the others, who returns nobody.

cheers
 
Old 03-09-2012, 06:13 PM   #10
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,221

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
A user prompt is the $.

A root prompt is the #.

If you log in on the root prompt you are logged in as root.

If you have set up a background other than the default on your install in user land and log in as root you will see the default background as it has not been changed for user root.

I doubt this is the case but it would explain how you are getting logged in that way.

If you are just missing a log in manager you could boot to recovery and that should take you to an option of giving your root password so you can do what ever maintainance you need to do. That would include things like;
Code:
apt-get install gdm3
Gdm3 is a display manager but if you just want a login manager "slim" could be put in place of gdm3.

I am not a big fan of Slim (Simple Log In Manager). Have had some problems with it on some installs and none on others. Am getting to the point I think it is simple to the point of being silly. It does however log me in at the proper level.

Slim certainly pulls in fewer depends.

Assuming you are using gnome the depends will not be that much with gdm either as most will be there. I use Xfce so it is a little different.

Xdm is alright too and certainly lighter than gdm3.

If you are simply having a problem with gdm3 you could log into recovery and run;
Code:
dpkg-reconfigure gdm3
and see if that helps.

If not maybe;
Code:
apt-get purge gdm3
followed by;
Code:
apt-get install gdm3
would straighten it out
 
Old 03-10-2012, 04:34 PM   #11
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,436

Original Poster
Rep: Reputation: 83
Hya,

Thanks, however, my description might not have been clear.

I am NOT using gdm or whatever. My penguins do not have any of them.

Question is:
why nobody is logged in thrugh tty1? In this case, why "penguin" is missing?
 
Old 03-10-2012, 05:39 PM   #12
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,221

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
OK. You are checking this before you startx or after? If before that would be fine. If after it is really strange.

If you are checking this after starting x do you have root permissions all the time?
 
Old 03-11-2012, 07:47 AM   #13
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,436

Original Poster
Rep: Reputation: 83
Hya,

widget: please refer my posts #1 and #3. With me, I have been able to start X (or motif) with user permission on many systems, (Linux, Sun Solaris, HP-UX..), so my system set up looks different from yours.



I checked history of system upgrade.

One wheezy penguin, (who can find user on ttyX), last update dist-upgrade was on Feb 16 2012.

Today, I did update dist-upgrade, then BINGO.. (probably NON bingo), who cannot find users on ttyX. I did not touch kernel.

So, problem is not kernel related. Neither coreutil nor libacl was upgraded. One suspicious package is consolekit, which was upgraded from 0.4.5-1 to 0.4.5-3.

cheers
 
Old 03-11-2012, 11:51 AM   #14
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,221

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
I was just checking because, as you say, this is very strange.

You should be able to start x with user permissions. Kind of hard to run with user permissions without x.

This kind of driving me nuts. Nuttier than usual anyway.

I think I am going to do another install with out a DM or login manager. It is hard to know if I am actually recreating your conditions with a DM installed.

I can always find use for another testing install anyway. Some people collect doilies, I collect installs of Linux.
 
Old 03-11-2012, 07:59 PM   #15
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,436

Original Poster
Rep: Reputation: 83
Hya,

Strange point is that who command cannot detect user(s) on ttyX. I do not think any privilage/permission issue related.

cheers
 
  


Reply

Tags
console, coreutils, tty, wheezy


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Newly installed debian sid & saved debian wheezy home would like to transfer files EDDY1 Linux - Newbie 11 01-20-2012 07:43 PM
LXer: Debian to offer MultiArch support with Debian Wheezy 7 in 2013 LXer Syndicated Linux News 0 08-11-2011 01:50 AM
LXer: Debian looking at a June 2012 freeze for Debian Wheezy LXer Syndicated Linux News 0 08-10-2011 10:00 AM
Info: Debian Wheezy on the way jdkaye Debian 14 09-17-2010 09:36 PM
Current logged in users deci007 Linux - Newbie 4 11-25-2009 04:06 AM


All times are GMT -5. The time now is 07:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration