모든 것이 루트로 실행됩니다. x를 시작하고 iceWM에 들어갈 수 있습니다. 저는 i3를 사용할 예정인데 "other"로 로그인한 다음 "root"라고 쓰면 lightdm을 통해서도 작동합니다.
TTY를 사용하여 로그인할 수도 있지만 루트로만 로그인할 수 있습니다. 사용자로 로그인하려고 하면 잠시 멈췄다가 이전 상태로 돌아갑니다.
TTY에 루트로 로그인하여 작업을 수행하면 거기에 파일이 없습니다. 디렉터리가 있습니다.라는 메시지가 su mats
나타납니다 .su: failed to execute /usr/bin/fish: No such file or directory
/usr/bin
#journalctl -f
일반 사용자로 lightdm을 통해 i3를 열려고 시도한 결과입니다.
nux-v80v:~ # journalctl -f
-- Logs begin at Wed 2019-01-16 15:40:46 CET. --
Jan 16 15:44:27 linux-v80v dbus-daemon[2587]: [session uid=469 pid=2587] Successfully activated service 'org.a11y.Bus'
Jan 16 15:44:27 linux-v80v systemd[2571]: Started Accessibility services bus.
Jan 16 15:44:27 linux-v80v at-spi-bus-launcher[2588]: dbus-daemon[2593]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=469 pid=2577 comm="/usr/sbin/lightdm-gtk-greeter ")
Jan 16 15:44:27 linux-v80v dbus-daemon[2587]: [session uid=469 pid=2587] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.3' (uid=469 pid=2577 comm="/usr/sbin/lightdm-gtk-greeter ")
Jan 16 15:44:27 linux-v80v at-spi-bus-launcher[2588]: dbus-daemon[2593]: Successfully activated service 'org.a11y.atspi.Registry'
Jan 16 15:44:27 linux-v80v at-spi-bus-launcher[2588]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Jan 16 15:44:27 linux-v80v systemd[2571]: Starting Virtual filesystem service...
Jan 16 15:44:27 linux-v80v chronyd[1535]: Selected source 185.175.56.126
Jan 16 15:44:27 linux-v80v dbus-daemon[2587]: [session uid=469 pid=2587] Successfully activated service 'org.gtk.vfs.Daemon'
Jan 16 15:44:27 linux-v80v systemd[2571]: Started Virtual filesystem service.
Jan 16 15:44:51 linux-v80v systemd[1]: session-5.scope: Killing process 2561 (lightdm) with signal SIGTERM.
Jan 16 15:44:51 linux-v80v systemd[1]: session-5.scope: Killing process 2577 (lightdm-gtk-gre) with signal SIGTERM.
Jan 16 15:44:51 linux-v80v systemd[1]: Stopping Session 5 of user lightdm.
Jan 16 15:44:51 linux-v80v lightdm[2561]: pam_unix(lightdm-greeter:session): session closed for user lightdm
Jan 16 15:44:51 linux-v80v systemd[1]: Stopped Session 5 of user lightdm.
Jan 16 15:44:51 linux-v80v systemd-logind[1532]: Removed session 5.
Jan 16 15:44:51 linux-v80v systemd[1]: Stopping User Manager for UID 469...
Jan 16 15:44:51 linux-v80v systemd[2571]: Stopping Accessibility services bus...
Jan 16 15:44:51 linux-v80v systemd[2571]: Stopping D-Bus User Message Bus...
Jan 16 15:44:51 linux-v80v systemd[2571]: Stopped target Default.
Jan 16 15:44:51 linux-v80v systemd[2571]: Stopping Virtual filesystem service...
Jan 16 15:44:51 linux-v80v systemd[2571]: Stopped D-Bus User Message Bus.
Jan 16 15:44:51 linux-v80v systemd[2571]: Stopped Accessibility services bus.
Jan 16 15:44:51 linux-v80v lightdm[1995]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 16 15:44:51 linux-v80v systemd[1]: Created slice User Slice of mats.
Jan 16 15:44:51 linux-v80v systemd[2571]: Stopped Virtual filesystem service.
Jan 16 15:44:51 linux-v80v systemd[2571]: Stopped target Basic System.
Jan 16 15:44:51 linux-v80v systemd[2571]: Stopped target Timers.
Jan 16 15:44:51 linux-v80v systemd[2571]: Stopped target Sockets.
Jan 16 15:44:51 linux-v80v systemd[2571]: Closed D-Bus User Message Bus Socket.
Jan 16 15:44:51 linux-v80v systemd[2571]: Stopped target Paths.
Jan 16 15:44:51 linux-v80v systemd[2571]: Reached target Shutdown.
Jan 16 15:44:51 linux-v80v systemd[2571]: Starting Exit the Session...
Jan 16 15:44:51 linux-v80v systemd[1]: Starting User Manager for UID 1000...
Jan 16 15:44:51 linux-v80v systemd-logind[1532]: New session 6 of user mats.
Jan 16 15:44:51 linux-v80v systemd[2571]: Received SIGRTMIN+24 from PID 2636 (kill).
Jan 16 15:44:51 linux-v80v systemd[1]: Started Session 6 of user mats.
Jan 16 15:44:51 linux-v80v systemd[2635]: pam_unix(systemd-user:session): session opened for user mats by (uid=0)
Jan 16 15:44:51 linux-v80v systemd[2635]: Reached target Paths.
Jan 16 15:44:51 linux-v80v systemd[2635]: Reached target Timers.
Jan 16 15:44:51 linux-v80v systemd[2572]: pam_unix(systemd-user:session): session closed for user lightdm
Jan 16 15:44:51 linux-v80v systemd[2635]: Starting D-Bus User Message Bus Socket.
Jan 16 15:44:51 linux-v80v systemd[1]: Stopped User Manager for UID 469.
Jan 16 15:44:51 linux-v80v systemd[1]: Removed slice User Slice of lightdm.
Jan 16 15:44:51 linux-v80v systemd[2635]: Listening on D-Bus User Message Bus Socket.
Jan 16 15:44:51 linux-v80v systemd[2635]: Reached target Sockets.
Jan 16 15:44:51 linux-v80v systemd[2635]: Reached target Basic System.
Jan 16 15:44:51 linux-v80v systemd[2635]: Reached target Default.
Jan 16 15:44:51 linux-v80v systemd[2635]: Startup finished in 26ms.
Jan 16 15:44:51 linux-v80v lightdm[2619]: pam_unix(lightdm:session): session opened for user mats by (uid=0)
Jan 16 15:44:51 linux-v80v systemd[1]: Started User Manager for UID 1000.
Jan 16 15:44:51 linux-v80v systemd[2635]: Started D-Bus User Message Bus.
v
y
Jan 16 15:48:12 linux-v80v lightdm[2619]: pam_unix(lightdm:session): session closed for user mats
Jan 16 15:48:12 linux-v80v systemd-logind[1532]: Removed session 6.
Jan 16 15:48:12 linux-v80v systemd[1]: Stopping User Manager for UID 1000...
Jan 16 15:48:12 linux-v80v systemd[2635]: Stopping D-Bus User Message Bus...
Jan 16 15:48:12 linux-v80v systemd[2635]: Stopped target Default.
Jan 16 15:48:12 linux-v80v systemd[2635]: Stopped D-Bus User Message Bus.
Jan 16 15:48:12 linux-v80v systemd[2635]: Stopped target Basic System.
Jan 16 15:48:12 linux-v80v systemd[2635]: Stopped target Timers.
Jan 16 15:48:12 linux-v80v systemd[2635]: Stopped target Sockets.
Jan 16 15:48:12 linux-v80v systemd[2635]: Stopped target Paths.
Jan 16 15:48:12 linux-v80v systemd[2635]: Closed D-Bus User Message Bus Socket.
Jan 16 15:48:12 linux-v80v systemd[2635]: Reached target Shutdown.
Jan 16 15:48:12 linux-v80v systemd[2635]: Starting Exit the Session...
Jan 16 15:48:12 linux-v80v systemd[2635]: Received SIGRTMIN+24 from PID 2734 (kill).
Jan 16 15:48:12 linux-v80v systemd[2637]: pam_unix(systemd-user:session): session closed for user mats
Jan 16 15:48:12 linux-v80v systemd[1]: Stopped User Manager for UID 1000.
Jan 16 15:48:12 linux-v80v systemd[1]: Removed slice User Slice of mats.
Jan 16 15:48:13 linux-v80v lightdm[1995]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 16 15:48:13 linux-v80v systemd[1]: Created slice User Slice of lightdm.
Jan 16 15:48:13 linux-v80v systemd[1]: Starting User Manager for UID 469...
Jan 16 15:48:13 linux-v80v systemd-logind[1532]: New session 7 of user lightdm.
Jan 16 15:48:13 linux-v80v systemd[1]: Started Session 7 of user lightdm.
Jan 16 15:48:13 linux-v80v systemd[2758]: pam_unix(systemd-user:session): session opened for user lightdm by (uid=0)
Jan 16 15:48:13 linux-v80v systemd[2758]: Reached target Paths.
Jan 16 15:48:13 linux-v80v systemd[2758]: Reached target Timers.
Jan 16 15:48:13 linux-v80v systemd[2758]: Starting D-Bus User Message Bus Socket.
Jan 16 15:48:13 linux-v80v systemd[2758]: Listening on D-Bus User Message Bus Socket.
Jan 16 15:48:13 linux-v80v systemd[2758]: Reached target Sockets.
Jan 16 15:48:13 linux-v80v systemd[2758]: Reached target Basic System.
Jan 16 15:48:13 linux-v80v systemd[2758]: Reached target Default.
Jan 16 15:48:13 linux-v80v systemd[2758]: Startup finished in 23ms.
Jan 16 15:48:13 linux-v80v systemd[1]: Started User Manager for UID 469.
Jan 16 15:48:13 linux-v80v lightdm[2748]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Jan 16 15:48:13 linux-v80v systemd[2758]: Started D-Bus User Message Bus.
Jan 16 15:48:13 linux-v80v dbus-daemon[2774]: [session uid=469 pid=2774] Activating systemd to hand-off: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.0' (uid=469 pid=2764 comm="/usr/sbin/lightdm-gtk-greeter ")
Jan 16 15:48:13 linux-v80v dbus-daemon[2774]: [session uid=469 pid=2774] Successfully activated service 'org.freedesktop.systemd1'
Jan 16 15:48:13 linux-v80v systemd[2758]: Starting Accessibility services bus...
Jan 16 15:48:13 linux-v80v dbus-daemon[2774]: [session uid=469 pid=2774] Successfully activated service 'org.a11y.Bus'
Jan 16 15:48:13 linux-v80v systemd[2758]: Started Accessibility services bus.
Jan 16 15:48:13 linux-v80v at-spi-bus-launcher[2775]: dbus-daemon[2780]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=469 pid=2764 comm="/usr/sbin/lightdm-gtk-greeter ")
Jan 16 15:48:13 linux-v80v dbus-daemon[2774]: [session uid=469 pid=2774] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.3' (uid=469 pid=2764 comm="/usr/sbin/lightdm-gtk-greeter ")
Jan 16 15:48:13 linux-v80v systemd[2758]: Starting Virtual filesystem service...
Jan 16 15:48:13 linux-v80v at-spi-bus-launcher[2775]: dbus-daemon[2780]: Successfully activated service 'org.a11y.atspi.Registry'
Jan 16 15:48:13 linux-v80v at-spi-bus-launcher[2775]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Jan 16 15:48:13 linux-v80v dbus-daemon[2774]: [session uid=469 pid=2774] Successfully activated service 'org.gtk.vfs.Daemon'
Jan 16 15:48:13 linux-v80v systemd[2758]: Started Virtual filesystem service
답변1
@Mark가 지적했듯이 문제는 생선 껍질을 찾을 수 없다는 것입니다.
쉘 경로를 지정하기 만하면됩니다.
케이스를 다시 설치해야 했습니다. (설치되지 않은 것 같아서 openSUSE와 같은 것에는 조금 이상하다고 생각합니다.)
zypper install fish
그래도 작동하지 않으면 셸 위치를 지정할 수도 있습니다. (설치되어 있는지 확인하세요.)
chsh *username*
TTY(로그인 후)를 입력 하고 를 입력합니다 usr/bin/fish
. (또는 사용 중인 쉘의 경로, 저는 zsh를 사용하므로 그게 전부입니다 /usr/bin/zsh
.)