Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-03-10 08:40:35

paaguti
Member
Registered: 2016-03-23
Posts: 2

logname: No login name

Hi,

I'm on XUbuntu 18.04 and it seems that logname is not quite happy with the installation. It keeps answering that there is no login name. It seems to work OK when I ssh -t into my machine.

Maybe this is something to fix completely from XFCE in the next release. Until then, I'm not going to be able to use XFCE in many installations...

Best, /PA

Offline

#2 2020-03-10 10:27:30

Aravisian
Member
Registered: 2019-08-17
Posts: 406

Re: logname: No login name

Could you please check your ownership of .Xauthority?
in Terminal, also try

sudo dpkg-reconfigure lightdm

Offline

#3 2020-03-10 10:27:40

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,687

Re: logname: No login name

There was a change in the vte library a while ago that caused this. It affected many terminals including xfce4-terminal, gnome-terminal, lxterminal. I believe this was the bug report for the issue. It has sine been fixed and logname works again but xubuntu 18.04 must still be using a version of the vte library in which it is broken.

As a temporary workaround, you could use:

who -m | awk '{print $1;}'

...and maybe even alias it to "logname" so you can still continue to use the same command.

Offline

Board footer

Powered by FluxBB