You are not logged in.

#1 2019-10-17 15:59:41

lsg
Member
Registered: 2017-11-18
Posts: 4

SHELL variable not found

Hi, i've noticed this log and don't know if it's important or how to fix it. It is something related to pkexe.
found this: https://bbs.archlinux.org/viewtopic.php?id=165934
tried the solution posted there but the message is still there

" gdm: The value for the SHELL variable was not found the /etc/shells file [USER = root] [TTY = unknown] [CWD=/var/lib/gdm] [COMMAND=/usr/lib/gsd-backlight-helper /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight 1230]  "

Any clue? Thanks in advance.

Last edited by lsg (2019-10-17 16:01:00)

Offline

#2 2019-10-20 01:40:18

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: SHELL variable not found

What is $SHELL set to and what is the contents of /etc/shells ?

Offline

#3 2019-10-20 02:17:45

lsg
Member
Registered: 2017-11-18
Posts: 4

Re: SHELL variable not found

$SHELL is set to bash (according to "echo $0") or /bin/bash (according to "echo $SHELL")

the content of /etc/shells is:
/bin/sh
/bin/bash

Last edited by lsg (2019-10-20 02:19:09)

Offline

#4 2019-10-20 06:46:37

seth
Member
Registered: 2012-09-03
Posts: 51,041

Re: SHELL variable not found

SHELL variable was not found the /etc/shells file [USER = root]

grep root /etc/passwd

(this will not reveal your root password)

Offline

#5 2019-10-20 11:00:41

lsg
Member
Registered: 2017-11-18
Posts: 4

Re: SHELL variable not found

" grep root /etc/passwd :

root:x:0:0::/root:/bin/bash "

Last edited by lsg (2019-10-20 11:01:06)

Offline

Board footer

Powered by FluxBB