You are not logged in.

#1 2014-11-26 09:49:12

mokxter
Member
Registered: 2014-11-26
Posts: 2

[SOLVED] XFCE4 session menu doesn't display username

Hello everyone,

I'm having a problem with my xfce4 session menu. Rather than displaying the username of the current user. It's displaying "Comment". Does anyone know what to do to fix this? Thank you in advance.

Screenshot of the session menu

Last edited by mokxter (2014-11-26 15:12:16)

Offline

#2 2014-11-26 11:18:06

toz
Member
Registered: 2011-10-28
Posts: 513

Re: [SOLVED] XFCE4 session menu doesn't display username

The Actions Buttons plugin (what displays the username on the panel) uses the contents of the "comment" or "real name" field from /etc/passwd if a non-blank string exists, otherwise it displays the contents of the "login name" field. See "man 5 passwd". If you want to change what is displayed, either change the contents of this field or blank it out (https://wiki.archlinux.org/index.php/ch … _Real_Name).

Offline

#3 2014-11-26 15:11:05

mokxter
Member
Registered: 2014-11-26
Posts: 2

Re: [SOLVED] XFCE4 session menu doesn't display username

Thanks! Fixed it. Thank you very much for the info.

I just run

# sudo usermod -c "" username

Then relogin. smile

Offline

Board footer

Powered by FluxBB