Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

"who am i" isn't working in Guake #199

Closed
ulidtko opened this Issue · 12 comments

7 participants

@ulidtko
Owner

The controlling tty of Guake terminals lacks the username attribute (it's empty):

% who am i
%
% tty
/dev/pts/3
% who -a | grep pts/3     
           pts/3        2013-07-08 18:48                 0 id=/3    term=0 exit=0
^^^^^^^^^^
[no username]

This isn't happening in gnome-terminal.

@ulidtko ulidtko was assigned
@toobaz

This is just to report that the bug doesn't appear is gtk3 guake (with bash as shell).

@scrawl

Is "who am i" a correct command? Try "whoami" instead. It works fine for me in guake.

 scrawl-desktop:~$ whoami
 scrawl
@Stibbons
Owner

actually I didn't knew it, but it seems to work on a terminal. But this look like a ubuntu-stuff. I take it

@Stibbons Stibbons added this to the 0.5.0 milestone
@ulidtko ulidtko was unassigned by Stibbons
@Stibbons Stibbons self-assigned this
@pypingou
Owner

It's not an ubuntu-stuff, neither @ulidtko or I run ubuntu

@scrawl

I found a related discussion for mrxvt: https://lists.debian.org/debian-user/2009/01/msg02276.html

I'm not sure what a wtmp database is, but maybe it could help you ;)

@Stibbons
Owner

Ok

@ulidtko
Owner

This is on Ubuntu.

Yes, there is whoami, but who am i is also valid (and who mom likes too ☺), see man 1 who:

If ARG1 ARG2 given, -m presumed: 'am i' or 'mom likes' are usual.

wtmp/utmp database(s) just store (in binary format) records about who's logged in to the system. Programs like login, sshd write to that database.

The issue, I believe, is related to some details of how Guake initializes libvte. Have to look into this further.

@Stibbons Stibbons removed their assignment
@Stibbons Stibbons modified the milestone: 0.6.0, 0.5.0
@bwrsandman

I am on Arch.
In guake whoami works but who am i, who mom likes does not.
In gnome-terminal, they all do.

@Stibbons
Owner

I confirm than who am i doesn't work on ubuntu neither.

It is not really urgent, if someone want to fix it. I don't plan to fix it until 0.6.0

@behrangsa

Even who -m doesn't work, so I think this is a critical bug.

@Stibbons
Owner

Should be linked to #349

@Stibbons Stibbons modified the milestone: 0.5.1, 0.5.2
@Stibbons
Owner

Duplicate of #349

@Stibbons Stibbons closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.