"종료"가 이제 인사할까요?


10

업데이트-USB wifi 동글을 제거하면 문제가 해결되는 것 같습니다. 네트워킹도 비활성화됩니다 (Wi-Fi 만 비활성화하지는 않음). 이제 뭐? 업데이트 2- 'uptime'명령에 2 명의 사용자가 로그인되어 있다고 표시됩니다.이 경우 필자가 설명한 동작이 반드시 발생합니다. 나는 다른 사용자가 누구인지 알아낼 수 있는지 알아볼 것입니다. 이것은 데스크탑에서 열린 터미널 때문일뿐입니다.

계정에 로그인 한 경우 '종료'를 선택하거나 다시 시작하면 인사 장으로 이동합니다. greeter 자체에서도 마찬가지입니다. 나는 그곳에 남아 있습니다. 다른 사용자는 로그인하지 않았습니다.

다시 부팅 한 후 계정에 로그인 하지 않은 경우 , 인사말이 표시된 후 바로 선택하면 인사말에서 다시 시작 및 종료 메뉴 옵션이 작동합니다 . 여기에 부트 차트를 참조하십시오 : https://www.dropbox.com/s/ufb7s6ykvlbkjxj/jarlath-EP35-DS3-precise-20130116-3.png

5 초 동안 기다리거나 사용자 계정에 로그인하면 작동하지 않습니다. 나는 이것을 여러 번 테스트했다. 이 부트 차트를 참조하십시오 (사용자로 로그인) : https://www.dropbox.com/s/yx6jgoo2c7fy6pp/jarlath-EP35-DS3-precise-20130116-4.png

그러나 sudo -halt 및 sudo reboot는 모두 정상적으로 작동합니다.

로그인 한 계정 (ps -A)에서 모든 프로세스를 출력했으며 여기에 그대로 두었습니다. www.pastebin.com/e3WHtHYm

업데이트, 소프트웨어 센터에서 새로 나온 것 (내가 아무것도 설치하지 않았을 가능성이 있음) 또는 내가 발행 한 터미널 명령으로 인해이 문제가 발생한다고 가정합니다. 다음은 문제가 시작되기 전의 .bash_history입니다. pastebin.com/1DE5Tcd3

내 커널은 3.2.0-35이며 이전 커널을 부팅하려고 시도했습니다.

  • 3.2.0-32, 31, 30, 29, 26, 25, 24, 23, 22-> 차이 없음

버그 https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/838792의 제안에 따라 다음을 시도했습니다.

  • su를 사용하여 서비스에 대해 내 /etc/init.d를 찾은 후 1 (ClamAV)을 제거했습니다.
  • Killed PulseAudio

이 두 가지 모두 도움이되지 못했습니다. 아래에 더 많은 내용이 있습니다.

    jarlath@jarlath-EP35-DS3:~$ cat /etc/polkit-1/localauthority.conf.d/51-ubuntu-admin.conf 
[Configuration]
AdminIdentities=unix-group:sudo;unix-group:admin
jarlath@jarlath-EP35-DS3:~$ groups
jarlath adm cdrom sudo dip plugdev lpadmin sambashare vboxusers movies

Logviewer에서 다음은 사용자 메뉴에서 종료하려고 할 때 생성되는 출력입니다.

auth.log
Feb 28 15:39:01 jarlath-EP35-DS3 CRON[15249]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 28 15:39:01 jarlath-EP35-DS3 CRON[15249]: pam_unix(cron:session): session closed for user root
Feb 28 15:39:16 jarlath-EP35-DS3 polkitd(authority=local): Unregistered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session6 (system bus name :1.114, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Feb 28 15:39:19 jarlath-EP35-DS3 lightdm: pam_unix(lightdm:session): session closed for user jarlath
Feb 28 15:39:22 jarlath-EP35-DS3 lightdm: pam_unix(lightdm:session): session opened for user lightdm by (uid=0)
Feb 28 15:39:22 jarlath-EP35-DS3 lightdm: pam_ck_connector(lightdm:session): nox11 mode, ignoring PAM_TTY :0
Feb 28 15:39:25 jarlath-EP35-DS3 lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "jarlath"
Feb 28 15:39:26 jarlath-EP35-DS3 dbus[580]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.184" (uid=104 pid=15385 comm="/usr/lib/indicator-datetime/indicator-datetime-ser") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.15" (uid=0 pid=1438 comm="/usr/sbin/console-kit-daemon --no-daemon ")
Feb 28 15:39:30 jarlath-EP35-DS3 lightdm: pam_unix(lightdm:session): session closed for user lightdm
Feb 28 15:39:30 jarlath-EP35-DS3 lightdm: pam_unix(lightdm:session): session opened for user jarlath by (uid=0)
Feb 28 15:39:30 jarlath-EP35-DS3 lightdm: pam_ck_connector(lightdm:session): nox11 mode, ignoring PAM_TTY :0
Feb 28 15:39:34 jarlath-EP35-DS3 polkitd(authority=local): Registered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session9 (system bus name :1.198 [/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Feb 28 15:39:45 jarlath-EP35-DS3 dbus[580]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.208" (uid=1000 pid=15640 comm="/usr/lib/indicator-datetime/indicator-datetime-ser") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.15" (uid=0 pid=1438 comm="/usr/sbin/console-kit-daemon --no-daemon ")


syslog
Feb 28 15:39:01 jarlath-EP35-DS3 CRON[15250]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
Feb 28 15:39:16 jarlath-EP35-DS3 gnome-session[3479]: WARNING: Unable to load desktop file '/usr/bin/everpad.desktop': No such file or directory
Feb 28 15:39:16 jarlath-EP35-DS3 gnome-session[3479]: EggSMClient-WARNING: Desktop file '/usr/share/applications/everpad.desktop' has malformed Icon key 'everpad.png'(should not include extension)
Feb 28 15:39:16 jarlath-EP35-DS3 gnome-session[3479]: WARNING: Unable to find desktop file 'Transmission BitTorrent Client.desktop': Valid key file could not be found in search dirs
Feb 28 15:39:16 jarlath-EP35-DS3 gnome-session[3479]: WARNING: Unable to find desktop file 'gnome-Transmission BitTorrent Client.desktop': Valid key file could not be found in search dirs
Feb 28 15:39:18 jarlath-EP35-DS3 gnome-session[3479]: WARNING: Unable to stop system: Authorization is required
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.sleep-wake: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.enable-disable-wifi: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.enable-disable-wwan: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.enable-disable-wimax: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.network-control: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.settings.modify.system: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.settings.modify.own: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:20 jarlath-EP35-DS3 NetworkManager[1173]: <warn> error requesting auth for org.freedesktop.NetworkManager.settings.modify.hostname: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.126': no such name
Feb 28 15:39:21 jarlath-EP35-DS3 acpid: client 3292[0:0] has disconnected
Feb 28 15:39:21 jarlath-EP35-DS3 acpid: client 3292[0:0] has disconnected
Feb 28 15:39:21 jarlath-EP35-DS3 acpid: client connected from 15280[0:0]
Feb 28 15:39:21 jarlath-EP35-DS3 acpid: 1 client rule loaded
Feb 28 15:39:22 jarlath-EP35-DS3 acpid: client connected from 15280[0:0]
Feb 28 15:39:22 jarlath-EP35-DS3 acpid: 1 client rule loaded
Feb 28 15:39:26 jarlath-EP35-DS3 rtkit-daemon[2276]: Successfully made thread 15412 of process 15412 (n/a) owned by '104' high priority at nice level -11.
Feb 28 15:39:26 jarlath-EP35-DS3 rtkit-daemon[2276]: Supervising 7 threads of 2 processes of 2 users.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Successfully made thread 15416 of process 15412 (n/a) owned by '104' RT at priority 5.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Supervising 8 threads of 2 processes of 2 users.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Successfully made thread 15417 of process 15412 (n/a) owned by '104' RT at priority 5.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Supervising 9 threads of 2 processes of 2 users.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Successfully made thread 15418 of process 15412 (n/a) owned by '104' RT at priority 5.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Supervising 10 threads of 2 processes of 2 users.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Successfully made thread 15419 of process 15412 (n/a) owned by '104' RT at priority 5.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Supervising 11 threads of 2 processes of 2 users.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Successfully made thread 15420 of process 15412 (n/a) owned by '104' RT at priority 5.
Feb 28 15:39:27 jarlath-EP35-DS3 rtkit-daemon[2276]: Supervising 12 threads of 2 processes of 2 users.
Feb 28 15:39:31 jarlath-EP35-DS3 gnome-session[15446]: EggSMClient-WARNING: Desktop file '/home/jarlath/.config/autostart/everpad.desktop' has malformed Icon key 'everpad.png'(should not include extension)
Feb 28 15:39:36 jarlath-EP35-DS3 goa[15570]: goa-daemon version 3.4.0 starting [main.c:112, main()]
Feb 28 15:40:45 jarlath-EP35-DS3 dbus[580]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Feb 28 15:40:45 jarlath-EP35-DS3 AptDaemon: INFO: Initializing daemon
Feb 28 15:40:45 jarlath-EP35-DS3 AptDaemon.PackageKit: INFO: Initializing PackageKit compat layer
Feb 28 15:40:45 jarlath-EP35-DS3 dbus[580]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Feb 28 15:40:45 jarlath-EP35-DS3 AptDaemon.PackageKit: INFO: Initializing PackageKit transaction
Feb 28 15:40:45 jarlath-EP35-DS3 AptDaemon.Worker: INFO: Simulating trans: /org/debian/apt/transaction/dcf18c7d7f2c412a82d3288c2df8c094
Feb 28 15:40:45 jarlath-EP35-DS3 AptDaemon.Worker: INFO: Processing transaction /org/debian/apt/transaction/dcf18c7d7f2c412a82d3288c2df8c094
Feb 28 15:40:46 jarlath-EP35-DS3 AptDaemon.PackageKit: INFO: Get updates()
Feb 28 15:40:46 jarlath-EP35-DS3 AptDaemon.Worker: INFO: Finished transaction /org/debian/apt/transaction/dcf18c7d7f2c412a82d3288c2df8c094

해결책 : 해결책 을 찾았습니다. 근본 원인을 식별하지 못하기 때문에 대답으로 사용하지 않지만 스스로 해결책만으로 만족하는 다른 사람들에게는 grendndelman.net 에서이 조언을 시도해야합니다.

/etc/polkit-1/localauthority/50-local.d/usershutdown.pkla (이름은 .pkla로 끝나야 함)라는 파일을 만들고 다음을 입력하십시오.

[Allow Shutdown]
Identity=unix-user:*
Action=org.freedesktop.consolekit.system.stop-multiple-users
ResultAny=yes
ResultInactive=yes
ResultActive=yes

[Allow Restart]
Identity=unix-user:*
Action=org.freedesktop.consolekit.system.restart-multiple-users
ResultAny=yes
ResultInactive=yes
ResultActive=yes

가상 터미널로 가려면 Ctrl + Alt + F1을 사용하십시오. 로그인 및 삭제 ~ / .Xauthority
chaskes

그래도 어떤 사용자? 사용자가없는 문제인 것 같습니다.
TenLeftFingers

Ctrl + Alt + F1을 사용하여 tty1에 도착한 후 직접 로그인 한 다음 파일을 삭제하십시오. X 세션이 충돌 한 경우 이전 파일로 인해 X를 시작 및 중지 할 수 없어 종료 문제가 발생합니다. 그것이 문제라면 ...
Chaskes

방금 시도했지만 효과가 없습니다. 어쨌든 고마워 또한 모든 사용자 (게스트 제외)를 위해 시도했지만 여전히 운이 없습니다. 네트워킹과 직접 관련이있는 것 같습니다.
TenLeftFingers

1
Alex L. 완료 그룹에 대해 궁금합니다. 다른 사용자에게 영화 사용자가 소유 한 "영화"파티션에 대한 액세스 권한을 부여하려는 노력으로 문제가 시작된 시점에 문제가있었습니다.
TenLeftFingers

답변:


1

한 명 이상의 사람이 로그온 한 경우 종료 버튼을 누르면 인사 장으로 이동합니다. 명령 행을 사용하여 명령 행으로 종료 할 수 있습니다.sudo shutdown -h now


사실, 하나의 '사람'만 로그인했습니다. 다른 사용자 (예 : 서비스)로 로그인했는지 여부는 알 수 없습니다.
TenLeftFingers

1

시도하십시오 sudo halt. 그 사실을 알게되면 흥미로울 것입니다.


sudo 중지 및 sudo 재부팅이 정상적으로 작동합니다. 그것을 반영하기 위해 내 질문을 업데이트했습니다.
TenLeftFingers

0

이것이 문제가되지 않더라도이 문제가 발생하여 오는 모든 사람에게 유용한 팁입니다.

나는 같은 문제가 있다고 생각했다.

다른 세션 (SSH, ctrl-alt-f1 등)에 로그인하면 "종료"가 작동하지 않습니다.

필자의 경우,이 일이 처음 발생했을 때 temp를 확인하기 위해 SSH 세션을 열었지만 그 시점부터는 항상 "지금 로그에서 발생하는 사항을 확인하십시오"-세션으로 인해 문제가 매우 일관되게되었습니다.

모든 ssh / other 로그인을 종료하면 종료가 다시 작동합니다.


ssh가 다른 로그인으로 계산되기 때문에 알고 있습니다. 그러나 지적하는 것이 좋습니다.
TenLeftFingers 12

0

터미널에서 ctrl + F1을 누른 다음 sudo poweroff를 실행하거나 터미널에서 sudo poweroff를 실행하여 일시적으로 문제를 해결할 수 있습니다.


나는 그것을 해결책으로 삼아왔다. 나는 그것을 질문에서 언급 할 수 있었다. 감사.
TenLeftFingers

0

당신은 명령을 사용할 수 있습니다

사용자

또는

다른 사람이 어떻게 든 로그인했는지 확인합니다.


로그인 한 사용자가 한 명뿐입니다 : tenleftfingers consols
Fri19 4days-– TenLeftFingers

"w"명령의 출력을 게시 할 수 있습니다. Fri19에 로그온했고 4 일 동안 유휴 상태 였다고 표시되면 문제의 일부일 수 있습니다.
Dan

-1

당신은 그것을 강요 할 수 있습니다. 이전 사용자가 스위치 사용자 대신 로그 아웃했는지 확인하십시오.

당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.