You are not logged in.
Pages: 1
I have installed Arch Linux yesterday with Gnome, GDM and NVIDIA proprietary driver.
I have to install NVIDIA proprietary driver because with Nouveau when I close the Gnome session, the PC hangs. I had the same problem with Fedora 23.
The problem is logname: 'logname: no login name'. This problem occurs with gnome-terminal, terminator and vte but it works well in xterm. I have searched for this error but the info that I've found it doesn't help me. I use Fish shell and when it starts up call that command.
Last edited by j1simon (2016-01-29 09:57:53)
Offline
I use Fish shell and when it starts up call that command.
What "command" does fish call?
Matt
"It is very difficult to educate the educated."
Offline
^ logname.
The question is, why does it call that? Have you told it to? A fresh install of fish on my system does not call logname when I run it. If you have told it to run it, why have you? I get the same message when I run logname manually, but for the life of me I can't see the point in the utility when 'whoami' and 'echo $USER' report the name information that this utility is supposedly supposed to.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I see the code and the problem was a prompt from Oh-my-fish:
...
# Test user type:
if [ $USER = "root" ]
# User is root.
set color "red"
else if [ $USER != (logname) ]
# User is not login user.
set color "yellow"
else
# User is normal (well ... most of us are).
set color "green"
end
....
I have commented that code.
Offline
@j1simon, so the problem is solved then? If yes, then please mark your thread as solved.
Offline
Pages: 1