Форум русскоязычного сообщества Ubuntu


Автор Тема: ubunt'a не пускает после копирования её на другой раздел  (Прочитано 841 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн lega911

  • Автор темы
  • Участник
  • *
  • Сообщений: 200
    • Просмотр профиля
    • python & linux
есть ubuntu desktop 64bit на /dev/sda6
загрузился с др. диска, примонтировал оба раздела и скопировал все sudo cp -prvx sda6/* sda8/
далее поправил fstab (sda6 -> sda8)
потом загрузился в sda6 и обновил grub: update-grub

гружусь в sda8, доходит до ввода пароля, ввожу, тухнет (как обычно пере загрузкой unity) и возвращает меня обратно на экран ввода пароля.

вот лог lightdm.log
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.4.0, UID=0 PID=1223
[+0.00s] DEBUG: Loaded configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registered seat module xlocal
[+0.01s] DEBUG: Registered seat module xremote
[+0.01s] DEBUG: Adding default seat
[+0.01s] DEBUG: Starting seat
[+0.01s] DEBUG: Starting new display for greeter
[+0.01s] DEBUG: Starting local X display
[+0.02s] DEBUG: X server :0 will replace Plymouth
[+0.05s] DEBUG: Using VT 7
[+0.05s] DEBUG: Activating VT 7
[+0.05s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+0.08s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+0.08s] DEBUG: Launching X Server
[+0.08s] DEBUG: Launching process 1317: /usr/bin/X :0 -core -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch -background none
[+0.08s] DEBUG: Waiting for ready signal from X server :0
[+0.08s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.08s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.81s] DEBUG: Got signal 10 from process 1317
[+0.81s] DEBUG: Got signal from X server :0
[+0.81s] DEBUG: Stopping Plymouth, X server is ready
[+0.83s] DEBUG: Connecting to XServer :0
[+0.83s] DEBUG: Starting greeter
[+0.83s] DEBUG: Started session 1573 with service 'lightdm-greeter', username 'lightdm'
[+1.13s] DEBUG: Session 1573 authentication complete with return value 0: Success
[+1.13s] DEBUG: Greeter authorized
[+1.13s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+1.13s] DEBUG: Session 1573 running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+1.48s] DEBUG: Greeter connected version=1.4.0
[+1.48s] DEBUG: Greeter connected, display is ready
[+1.48s] DEBUG: New display ready, switching to it
[+1.48s] DEBUG: Activating VT 7
[+2.10s] DEBUG: Greeter start authentication for user0
[+2.10s] DEBUG: Started session 1924 with service 'lightdm', username 'user0'
[+2.11s] DEBUG: Session 1924 got 1 message(s) from PAM
[+2.11s] DEBUG: Prompt greeter with 1 message(s)
[+2.14s] DEBUG: Greeter start authentication for user0
[+2.14s] DEBUG: Session 1924: Sending SIGTERM
[+2.14s] DEBUG: Started session 1926 with service 'lightdm', username 'user0'
[+2.14s] DEBUG: Session 1924 terminated with signal 15
[+2.14s] DEBUG: Session 1924 failed during authentication
[+2.14s] DEBUG: Session 1926 got 1 message(s) from PAM
[+2.14s] DEBUG: Prompt greeter with 1 message(s)
[+6.06s] DEBUG: Continue authentication
[+6.08s] DEBUG: Session 1926 authentication complete with return value 0: Success
[+6.08s] DEBUG: Authenticate result for user user0: Success
[+6.09s] DEBUG: User user0 authorized
[+6.09s] DEBUG: Greeter requests session ubuntu
[+6.09s] DEBUG: Using session ubuntu
[+6.09s] DEBUG: Stopping greeter
[+6.09s] DEBUG: Session 1573: Sending SIGTERM
[+6.13s] DEBUG: Greeter closed communication channel
[+6.13s] DEBUG: Session 1573 exited with return value 0
[+6.13s] DEBUG: Greeter quit
[+6.15s] DEBUG: Dropping privileges to uid 1002
[+6.15s] DEBUG: Calling setresgid
[+6.15s] DEBUG: Calling setresuid
[+6.15s] DEBUG: Restoring privileges
[+6.15s] DEBUG: Calling setresuid
[+6.15s] DEBUG: Calling setresgid
[+6.18s] DEBUG: Dropping privileges to uid 1002
[+6.18s] DEBUG: Calling setresgid
[+6.18s] DEBUG: Calling setresuid
[+6.18s] DEBUG: Writing /home/user0/.dmrc
[+6.18s] DEBUG: Restoring privileges
[+6.18s] DEBUG: Calling setresuid
[+6.18s] DEBUG: Calling setresgid
[+6.24s] DEBUG: Starting session ubuntu as user user0
[+6.24s] DEBUG: Session 1926 running command /usr/sbin/lightdm-session gnome-session --session=ubuntu
[+6.26s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+6.27s] DEBUG: Session 1926 exited with return value 1
[+6.27s] DEBUG: User session quit
[+6.27s] DEBUG: Stopping display
[+6.27s] DEBUG: Sending signal 15 to process 1317
[+7.02s] DEBUG: Process 1317 exited with return value 0
[+7.02s] DEBUG: X server stopped
[+7.02s] DEBUG: Removing X server authority /var/run/lightdm/root/:0
[+7.02s] DEBUG: Releasing VT 7
[+7.02s] DEBUG: Display server stopped
[+7.02s] DEBUG: Display stopped
[+7.02s] DEBUG: Active display stopped, switching to greeter
[+7.02s] DEBUG: Switching to greeter
[+7.02s] DEBUG: Starting new display for greeter
[+7.02s] DEBUG: Starting local X display
[+7.02s] DEBUG: Using VT 7
[+7.02s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+7.02s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+7.02s] DEBUG: Launching X Server
[+7.02s] DEBUG: Launching process 2224: /usr/bin/X :0 -core -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+7.02s] DEBUG: Waiting for ready signal from X server :0
[+7.51s] DEBUG: Got signal 10 from process 2224
[+7.51s] DEBUG: Got signal from X server :0
[+7.51s] DEBUG: Connecting to XServer :0
[+7.51s] DEBUG: Starting greeter
[+7.51s] DEBUG: Started session 2227 with service 'lightdm-greeter', username 'lightdm'
[+7.53s] DEBUG: Session 2227 authentication complete with return value 0: Success
[+7.53s] DEBUG: Greeter authorized
[+7.53s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+7.53s] DEBUG: Session 2227 running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+7.70s] DEBUG: Greeter connected version=1.4.0
[+7.70s] DEBUG: Greeter connected, display is ready
[+7.70s] DEBUG: New display ready, switching to it
[+7.70s] DEBUG: Activating VT 7
[+7.70s] DEBUG: Stopping greeter display being switched from
[+7.97s] DEBUG: Greeter start authentication for user0
[+7.97s] DEBUG: Started session 2328 with service 'lightdm', username 'user0'
[+7.97s] DEBUG: Session 2328 got 1 message(s) from PAM
[+7.97s] DEBUG: Prompt greeter with 1 message(s)
[+8.02s] DEBUG: Greeter start authentication for user0
[+8.02s] DEBUG: Session 2328: Sending SIGTERM
[+8.02s] DEBUG: Started session 2330 with service 'lightdm', username 'user0'
[+8.02s] DEBUG: Session 2328 terminated with signal 15
[+8.02s] DEBUG: Session 2328 failed during authentication
[+8.03s] DEBUG: Session 2330 got 1 message(s) from PAM
[+8.03s] DEBUG: Prompt greeter with 1 message(s)
[+9.51s] DEBUG: Greeter start authentication for test
[+9.51s] DEBUG: Session 2330: Sending SIGTERM
[+9.51s] DEBUG: Started session 2415 with service 'lightdm', username 'test'
[+9.51s] DEBUG: Session 2330 terminated with signal 15
[+9.51s] DEBUG: Session 2330 failed during authentication
[+9.51s] DEBUG: Session 2415 got 1 message(s) from PAM
[+9.51s] DEBUG: Prompt greeter with 1 message(s)
[+9.89s] DEBUG: Greeter start authentication for lega
[+9.89s] DEBUG: Session 2415: Sending SIGTERM
[+9.89s] DEBUG: Started session 2417 with service 'lightdm', username 'lega'
[+9.89s] DEBUG: Session 2415 terminated with signal 15
[+9.89s] DEBUG: Session 2415 failed during authentication
[+9.89s] DEBUG: Session 2417 got 1 message(s) from PAM
[+9.89s] DEBUG: Prompt greeter with 1 message(s)
[+14.76s] DEBUG: Continue authentication
[+14.78s] DEBUG: Session 2417 authentication complete with return value 0: Success
[+14.78s] DEBUG: Authenticate result for user lega: Success
[+14.79s] DEBUG: User lega authorized
[+14.80s] DEBUG: Greeter requests session ubuntu
[+14.80s] DEBUG: Using session ubuntu
[+14.80s] DEBUG: Stopping greeter
[+14.80s] DEBUG: Session 2227: Sending SIGTERM
[+14.84s] DEBUG: Greeter closed communication channel
[+14.84s] DEBUG: Session 2227 exited with return value 0
[+14.84s] DEBUG: Greeter quit
[+14.86s] DEBUG: Dropping privileges to uid 1000
[+14.86s] DEBUG: Calling setresgid
[+14.86s] DEBUG: Calling setresuid
[+14.86s] DEBUG: Restoring privileges
[+14.86s] DEBUG: Calling setresuid
[+14.86s] DEBUG: Calling setresgid
[+14.88s] DEBUG: Dropping privileges to uid 1000
[+14.88s] DEBUG: Calling setresgid
[+14.88s] DEBUG: Calling setresuid
[+14.88s] DEBUG: Writing /home/lega/.dmrc
[+14.88s] DEBUG: Restoring privileges
[+14.88s] DEBUG: Calling setresuid
[+14.88s] DEBUG: Calling setresgid
[+14.92s] DEBUG: Starting session ubuntu as user lega
[+14.92s] DEBUG: Session 2417 running command /usr/sbin/lightdm-session gnome-session --session=ubuntu
[+14.94s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session1
[+14.94s] DEBUG: Session 2417 exited with return value 1
[+14.94s] DEBUG: User session quit
[+14.94s] DEBUG: Stopping display
[+14.94s] DEBUG: Sending signal 15 to process 2224
[+15.71s] DEBUG: Process 2224 exited with return value 0
[+15.71s] DEBUG: X server stopped
[+15.71s] DEBUG: Removing X server authority /var/run/lightdm/root/:0
[+15.71s] DEBUG: Releasing VT 7
[+15.71s] DEBUG: Display server stopped
[+15.71s] DEBUG: Display stopped
[+15.71s] DEBUG: Active display stopped, switching to greeter
[+15.71s] DEBUG: Switching to greeter
[+15.71s] DEBUG: Starting new display for greeter
[+15.71s] DEBUG: Starting local X display
[+15.71s] DEBUG: Using VT 7
[+15.71s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+15.71s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+15.71s] DEBUG: Launching X Server
[+15.71s] DEBUG: Launching process 2473: /usr/bin/X :0 -core -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+15.71s] DEBUG: Waiting for ready signal from X server :0
[+16.20s] DEBUG: Got signal 10 from process 2473
[+16.20s] DEBUG: Got signal from X server :0
[+16.20s] DEBUG: Connecting to XServer :0
[+16.20s] DEBUG: Starting greeter
[+16.20s] DEBUG: Started session 2476 with service 'lightdm-greeter', username 'lightdm'
[+16.22s] DEBUG: Session 2476 authentication complete with return value 0: Success
[+16.22s] DEBUG: Greeter authorized
[+16.22s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+16.22s] DEBUG: Session 2476 running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+16.38s] DEBUG: Greeter connected version=1.4.0
[+16.38s] DEBUG: Greeter connected, display is ready
[+16.38s] DEBUG: New display ready, switching to it
[+16.38s] DEBUG: Activating VT 7
[+16.38s] DEBUG: Stopping greeter display being switched from
[+16.64s] DEBUG: Greeter start authentication for lega
[+16.64s] DEBUG: Started session 2577 with service 'lightdm', username 'lega'
[+16.64s] DEBUG: Session 2577 got 1 message(s) from PAM
[+16.64s] DEBUG: Prompt greeter with 1 message(s)
[+16.69s] DEBUG: Greeter start authentication for lega
[+16.69s] DEBUG: Session 2577: Sending SIGTERM
[+16.69s] DEBUG: Started session 2579 with service 'lightdm', username 'lega'
[+16.69s] DEBUG: Session 2577 terminated with signal 15
[+16.69s] DEBUG: Session 2577 failed during authentication
[+16.70s] DEBUG: Session 2579 got 1 message(s) from PAM
[+16.70s] DEBUG: Prompt greeter with 1 message(s)
[+19.88s] DEBUG: Greeter start authentication for test
[+19.88s] DEBUG: Session 2579: Sending SIGTERM
[+19.88s] DEBUG: Started session 2665 with service 'lightdm', username 'test'
[+19.88s] DEBUG: Session 2579 terminated with signal 15
[+19.88s] DEBUG: Session 2579 failed during authentication
[+19.88s] DEBUG: Session 2665 got 1 message(s) from PAM
[+19.88s] DEBUG: Prompt greeter with 1 message(s)
[+20.02s] DEBUG: Greeter start authentication for user0
[+20.02s] DEBUG: Session 2665: Sending SIGTERM
[+20.03s] DEBUG: Started session 2667 with service 'lightdm', username 'user0'
[+20.03s] DEBUG: Session 2665 terminated with signal 15
[+20.03s] DEBUG: Session 2665 failed during authentication
[+20.03s] DEBUG: Session 2667 got 1 message(s) from PAM
[+20.03s] DEBUG: Prompt greeter with 1 message(s)
[+20.19s] DEBUG: Greeter start authentication for guest account
[+20.19s] DEBUG: Session 2667: Sending SIGTERM
[+20.19s] DEBUG: Session 2667 terminated with signal 15
[+20.19s] DEBUG: Session 2667 failed during authentication
[+21.67s] DEBUG: Greeter start authentication for guest account
[+23.05s] DEBUG: Greeter start authentication for guest account
[+23.24s] DEBUG: Greeter start authentication for user0
[+23.24s] DEBUG: Started session 2671 with service 'lightdm', username 'user0'
[+23.25s] DEBUG: Session 2671 got 1 message(s) from PAM
[+23.25s] DEBUG: Prompt greeter with 1 message(s)
[+23.41s] DEBUG: Greeter start authentication for test
[+23.41s] DEBUG: Session 2671: Sending SIGTERM
[+23.41s] DEBUG: Started session 2673 with service 'lightdm', username 'test'
[+23.41s] DEBUG: Session 2671 terminated with signal 15
[+23.41s] DEBUG: Session 2671 failed during authentication
[+23.41s] DEBUG: Session 2673 got 1 message(s) from PAM
[+23.41s] DEBUG: Prompt greeter with 1 message(s)
[+23.57s] DEBUG: Greeter start authentication for lega
[+23.57s] DEBUG: Session 2673: Sending SIGTERM
[+23.57s] DEBUG: Started session 2675 with service 'lightdm', username 'lega'
[+23.57s] DEBUG: Session 2673 terminated with signal 15
[+23.57s] DEBUG: Session 2673 failed during authentication
[+23.57s] DEBUG: Session 2675 got 1 message(s) from PAM
[+23.57s] DEBUG: Prompt greeter with 1 message(s)
[+25.69s] DEBUG: Cancel authentication
[+25.69s] DEBUG: Session 2675: Sending SIGTERM
[+25.69s] DEBUG: Session 2675 terminated with signal 15
[+25.69s] DEBUG: Session 2675 failed during authentication
[+25.73s] DEBUG: Greeter start authentication for lega
[+25.73s] DEBUG: Started session 2677 with service 'lightdm', username 'lega'
[+25.73s] DEBUG: Session 2677 got 1 message(s) from PAM
[+25.73s] DEBUG: Prompt greeter with 1 message(s)
[+129.77s] DEBUG: Continue authentication
[+129.81s] DEBUG: Session 2677 authentication complete with return value 0: Success
[+129.81s] DEBUG: Authenticate result for user lega: Success
[+129.82s] DEBUG: User lega authorized
[+129.82s] DEBUG: Greeter requests session ubuntu
[+129.82s] DEBUG: Using session ubuntu
[+129.82s] DEBUG: Stopping greeter
[+129.82s] DEBUG: Session 2476: Sending SIGTERM
[+129.87s] DEBUG: Greeter closed communication channel
[+129.87s] DEBUG: Session 2476 exited with return value 0
[+129.87s] DEBUG: Greeter quit
[+129.89s] DEBUG: Dropping privileges to uid 1000
[+129.89s] DEBUG: Calling setresgid
[+129.89s] DEBUG: Calling setresuid
[+129.89s] DEBUG: Restoring privileges
[+129.89s] DEBUG: Calling setresuid
[+129.89s] DEBUG: Calling setresgid
[+129.91s] DEBUG: Dropping privileges to uid 1000
[+129.91s] DEBUG: Calling setresgid
[+129.91s] DEBUG: Calling setresuid
[+129.91s] DEBUG: Writing /home/lega/.dmrc
[+129.91s] DEBUG: Restoring privileges
[+129.91s] DEBUG: Calling setresuid
[+129.91s] DEBUG: Calling setresgid
[+129.95s] DEBUG: Starting session ubuntu as user lega
[+129.95s] DEBUG: Session 2677 running command /usr/sbin/lightdm-session gnome-session --session=ubuntu
[+129.98s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session2
[+129.98s] DEBUG: Session 2677 exited with return value 1
[+129.98s] DEBUG: User session quit
[+129.98s] DEBUG: Stopping display
[+129.98s] DEBUG: Sending signal 15 to process 2473
[+130.74s] DEBUG: Process 2473 exited with return value 0
[+130.74s] DEBUG: X server stopped
[+130.74s] DEBUG: Removing X server authority /var/run/lightdm/root/:0
[+130.74s] DEBUG: Releasing VT 7
[+130.74s] DEBUG: Display server stopped
[+130.74s] DEBUG: Display stopped
[+130.74s] DEBUG: Active display stopped, switching to greeter
[+130.74s] DEBUG: Switching to greeter
[+130.74s] DEBUG: Starting new display for greeter
[+130.74s] DEBUG: Starting local X display
[+130.74s] DEBUG: Using VT 7
[+130.74s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+130.74s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+130.74s] DEBUG: Launching X Server
[+130.74s] DEBUG: Launching process 2951: /usr/bin/X :0 -core -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+130.74s] DEBUG: Waiting for ready signal from X server :0
[+131.27s] DEBUG: Got signal 10 from process 2951
[+131.27s] DEBUG: Got signal from X server :0
[+131.27s] DEBUG: Connecting to XServer :0
[+131.27s] DEBUG: Starting greeter
[+131.27s] DEBUG: Started session 2954 with service 'lightdm-greeter', username 'lightdm'
[+131.30s] DEBUG: Session 2954 authentication complete with return value 0: Success
[+131.30s] DEBUG: Greeter authorized
[+131.30s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+131.30s] DEBUG: Session 2954 running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+131.52s] DEBUG: Greeter connected version=1.4.0
[+131.52s] DEBUG: Greeter connected, display is ready
[+131.52s] DEBUG: New display ready, switching to it
[+131.52s] DEBUG: Activating VT 7
[+131.52s] DEBUG: Stopping greeter display being switched from
[+131.81s] DEBUG: Greeter start authentication for lega
[+131.81s] DEBUG: Started session 3058 with service 'lightdm', username 'lega'
[+131.82s] DEBUG: Session 3058 got 1 message(s) from PAM
[+131.82s] DEBUG: Prompt greeter with 1 message(s)
[+131.88s] DEBUG: Greeter start authentication for lega
[+131.88s] DEBUG: Session 3058: Sending SIGTERM
[+131.88s] DEBUG: Started session 3060 with service 'lightdm', username 'lega'
[+131.88s] DEBUG: Session 3058 terminated with signal 15
[+131.88s] DEBUG: Session 3058 failed during authentication
[+131.89s] DEBUG: Session 3060 got 1 message(s) from PAM
[+131.89s] DEBUG: Prompt greeter with 1 message(s)

Чего ещё подкрутить надо?

Оффлайн ksaver

  • Активист
  • *
  • Сообщений: 492
  • Это не я...
    • Просмотр профиля
А еще - воспользоваться поиском по форуму. 100500 раз уже писАли, и в wiki есть - удалить из домашней директории пользователя скрытый файл .Xauthority.
Samsung NP305V5A-S06RU A6-3410MX APU AMD HD6470M/HD6520G RAM 6GB Ubuntu bionic 18.04 4.15.0-15(боевая)|budgie 18.04 4.15.0-15 (тестовая)

Оффлайн lega911

  • Автор темы
  • Участник
  • *
  • Сообщений: 200
    • Просмотр профиля
    • python & linux
А еще - воспользоваться поиском по форуму. 100500 раз уже писАли, и в wiki есть - удалить из домашней директории пользователя скрытый файл .Xauthority.
я home и папку пользователя новые создал (забыл написать), ещё из под рута добавил нового пользователя для теста.
результат в 1 посте.
я уже читал несколько инструкций прежде чем задать вопрос.


Пользователь решил продолжить мысль 05 Февраль 2013, 15:24:22:
Ступил - /home/user руту принадлежали, вернул пользователю.

Всем спасибо.
« Последнее редактирование: 05 Февраль 2013, 15:24:22 от lega911 »

 

Страница сгенерирована за 0.065 секунд. Запросов: 25.