Tutto, stavo cercando di far funzionare VNC, apportando molte modifiche che non ricordo ora quando ho scoperto dopo un riavvio che non potevo accedere a Ubuntu 14.04. Credo di autenticare ok, ma tornerò alla schermata di accesso. Posso accedere come Ospite e tramite la console Alt-F1.
Ho cercato su Google gli errori e ho provato molte cose, ma senza successo e ora sono all'oscuro. vedere l'output di seguito. Nota che XFCE si carica ok, ma voglio riavere il mio lightdm.
Potrei davvero fare qualche consiglio e spiegazione su cosa sta succedendo qui. Saluti Martin
-rwxr-xr-x 1 martin martin 50 mar 14 22:13 .Xauthority * (Sono andato un po 'in mare a concedere le autorizzazioni per questo file - per ogni evenienza.)
martin @ thrio: ~ $ cat .xsession-errors Lo
script per ibus è iniziato a run_im.
Script per auto avviato a run_im.
Lo script per impostazione predefinita è stato avviato a run_im.
init: processo principale gnome-session (Unity) (2745) terminato con stato 1
init: disconnesso dal bus D-Bus notificato
init: logrotate main process (2596) ucciso dal segnale TERM
init: update-notifier-crash (/ var / crash /_usr_lib_ibus_ibus-ui-gtk3.1000.crash) processo principale> (2645) terminato dal segnale TERM
init: update-notifier-crash (/var/crash/_usr_lib_unity_unity-panel-service.1000.crash) main> process (2646) ucciso dal segnale TERM
: processo principale upstart-dbus-session-bridge (2697) terminato con stato 1
init: processo principale xsession-init (2705) ucciso dal segnale TERM
init: processo principale hud (2715) ucciso dal segnale TERM
init: processo principale unità-pannello-servizio (2753) ucciso dal segnale TERM
init: finestra-stack-bridge principale processo (2620) ucciso dal segnale KILLmartin @ thrio: ~ $ unity - rimpiazzare
posto: lavoro sconosciuto: unità-panel-service
inizio: lavoro sconosciuto: unity-panel-service
compiz (core) - Info: caricamento plugin: core
compiz (core) - Info: plugin di avvio : core Non
valido MIT-MAGIC-COOKIE-1 keycompiz (core) - Fatale: impossibile aprire il display: 0
compiz (core) - Info: Stopper plugin: core
compiz (core) - Info: Plugin di scaricamento: core
Potrebbe essere correlato all'impostazione del display: originariamente stavo cercando di far funzionare VNC e cercavo di disattivare la crittografia predefinita che sembra non funzionare e alcune delle istruzioni che stavo cercando di seguire riguardavano il display
Da /var/log/lightdm/lightdm.log
[+522.72s] DEBUG: Session pid=2785: Authenticate result for user martin: Success
[+522.72s] DEBUG: Session pid=2785: User martin authorized
[+522.72s] DEBUG: Session pid=2785: Greeter requests session Ubuntu
522.72s] DEBUG: Seat: Stopping greeter; display server will be re-used for user session
[+522.72s] DEBUG: Session pid=2785: Sending SIGTERM
[+522.73s] DEBUG: Session pid=2785: Exited with return value 0
[+522.73s] DEBUG: Seat: Session stopped
[+522.73s] DEBUG: Seat: Greeter stopped, running session
[+522.73s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session1
[+522.73s] DEBUG: Session pid=2845: Running command /usr/sbin/lightdm-session gnome-session --session=Ubuntu
[+522.73s] DEBUG: Creating shared data directory /var/lib/lightdm-data/martin
[+522.73s] DEBUG: Session pid=2845: Logging to .xsession-errors
[+522.74s] DEBUG: Activating VT 7
[+522.74s] DEBUG: Activating login1 session c4
[+524.24s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
[+528.25s] DEBUG: Session pid=2845: Exited with return value 0
[+528.25s] DEBUG: Seat: Session stopped
[+528.25s] DEBUG: Seat: Stopping display server, no sessions require it
[+528.25s] DEBUG: Sending signal 15 to process 2778
[+528.36s] DEBUG: Process 2778 exited with return value 0
[+528.36s] DEBUG: DisplayServer x-0: X server stopped
[+528.36s] DEBUG: Releasing VT 7
[+528.36s] DEBUG: DisplayServer x-0: Removing X server authority /var/run/lightdm/root/:0
[+528.36s] DEBUG: Seat: Display server stopped
[+528.36s] DEBUG: Seat: Active display server stopped, starting greeter
[+528.36s] DEBUG: Seat: Creating greeter session
[+528.36s] DEBUG: Seat: Creating display server of type x
[+528.36s] DEBUG: Using VT 7
[+528.36s] DEBUG: Seat: Starting local X display on VT 7
[+528.36s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+528.36s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
[+528.36s] DEBUG: DisplayServer x-0: Launching X Server
[+528.36s] DEBUG: Launching process 3516: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+528.36s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+528.43s] DEBUG: Got signal 10 from process 3516
[+528.43s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+528.43s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+528.43s] DEBUG: Seat: Display server ready, starting session authentication
[+528.43s] DEBUG: Session pid=3523: Started with service 'lightdm-greeter', username 'lightdm'
[+528.44s] DEBUG: Session pid=3523: Authentication complete with return value 0: Success
[+528.44s] DEBUG: Seat: Session authenticated, running command
[+528.44s] DEBUG: Session pid=3523: Running command /usr/lib/lightdm/lightdm-greeter- session /usr/sbin/unity-greeter
[+528.44s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+528.44s] DEBUG: Session pid=3523: Logging to /var/log/lightdm/x-0-greeter.log
[+528.45s] DEBUG: Activating VT 7
[+528.45s] DEBUG: Activating login1 session c5
[+528.57s] DEBUG: Session pid=3523: Greeter connected version=1.10.4
[+528.69s] DEBUG: Session pid=3523: Greeter start authentication for martin
[+528.69s] DEBUG: Session pid=3583: Started with service 'lightdm', username 'martin'
[+528.70s] DEBUG: Session pid=3583: Got 1 message(s) from PAM
[+528.70s] DEBUG: Session pid=3523: Prompt greeter with 1 message(s)
[+529.73s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
martin@thrio:~$ uname -r
3.13.0-46-generic
martin@thrio:~$ lsmod|grep fglrx
martin@thrio:~$
martin@thrio:/var/log$ lshw -c video
WARNING: you should run this program as super-user.
*-display
description: VGA compatible controller
product: Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:48 memory:f7400000-f77fffff memory:e0000000-efffffff ioport:f000 (size=64)
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
martin@thrio:/var/log$ modinfo
modinfo: ERROR: missing module or filename.
Ulteriori informazioni dopo la revisione di
"Hai installato dei driver? Potresti connetterti da alcuni TTY (Ctrl + Alt + F1..F6) con qualsiasi utente?" Nessun driver: sì al login TTY
"Ho spostato tutti i file lì nella mia directory / home (per avere una copia) e ho provato ad accedere usando kdm (io uso Kubuntu). Per selezionare kdm come schermata di accesso, ho eseguito sudo dpkg-reconfigure lightdm e selezionato kdm. Con kdm puoi seleziona una sessione precedente o di default. Questa era la strada da percorrere. "
installato KDM (sudo apt-get install KDM) - durante l'installazione avevo un'opzione per scegliere KDM o lightDM, ho scelto lightDM. Riavviato: nessuna modifica
spostata su home dir / home / martin su / home / martinbak e riavviata - nessuna modifica
martin@thrio:~$ sudo dpkg-reconfigure kdm and rebooted - entered KDM shell - error "cannot enter home directory. using /." - still would not log in .
martin@thrio:~$ sudo dpkg-reconfigure lightdm and switched back to lightdm - rebooted - same login loop
martin@thrio:/home$ sudo mv martinbak martin and rebooted.
Chown .Xauthority - Questo è stato verificato in precedenza ed è corretto
Chown / tmp - Questo è stato verificato in precedenza ed è corretto
"Se non entrambi, ti consiglio di
1.dpkg-reconfigure lightdm
2.o disinstallarlo, reinstallarlo."
dpkg-reconfigure è stato provato
martin @ thrio: ~ $ sudo apt-get purge lightdm
"Rimozione di lightdm (1.10.4-0ubuntu2) ...
Eliminazione dei file di configurazione per lightdm (1.10.4-0ubuntu2) ...
Rimozione dell'utente lightdm ' non ha più membri.
** userdel: l'utente lightdm è attualmente utilizzato dal processo 2092
/ usr / sbin / deluser: `/ usr / sbin / userdel lightdm 'ha restituito il codice di errore 8. Uscita.
dpkg: pacchetto di elaborazione dell'errore lightdm (--purge ): lo
script post-rimozione installato sottoprocesso ha restituito lo stato di uscita dell'errore 1 L'
elaborazione si innesca per man-db (2.6.7.1-1ubuntu1) ...
E: Il processo secondario / usr / bin / dpkg ha restituito un codice di errore (1) "** martin @ thrio: ~ $ sudo apt-get install lightdm lightdm' ...
Warning: group
sono verificati errori durante l'elaborazione:
lightdm
Non sembra una rimozione pulita e reinstallare.
"Dopo aver quasi rinunciato, ho guardato gli errori .xsession e ho notato che avevo un refuso nel mio .profile"
Non ho modificato questo file, ma se ci fosse un problema non saprei cosa stavo cercando.
`martin@thrio:~$ cat .profile
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
martin@thrio:~$ `
_sudo mv ~/.Xauthority ~/.Xauthority.backup
sudo service lightdm restart_
martin@thrio:~$ mv ~/.Xauthority ~/.Xauthority.bak
martin@thrio:~$ sudo service lightdm restart
[sudo] password for martin:
lightdm stop/waiting
lightdm start/running, process 3032
martin@thrio:~$
ancora bloccato nel ciclo di accesso
"Reinstallato xubuntu-desktop ed è stato risolto ora"
martin@thrio:~$ sudo apt-get purge xubuntu-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'xubuntu-desktop' is not installed, so not removed
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
martin@thrio:~$
_ "Quindi, digita sudo apt-get install gdm. Lascialo installare e digita sudo dpkg-reconfigure gdm e segui le istruzioni per impostarlo come gestore degli accessi.
Premi Ctrl + Alt + F7 per tornare alla schermata di accesso che dovrebbe ora apparire diverso: il login funziona? Se lo fa, il tuo problema è risolto!
In caso contrario, tornare al terminale a schermo intero e digitare sudo dpkg-reconfigure lightdm per impostare LigthDM come nuovo login manager. Ora sai che questo è sicuramente un problema con i tuoi driver grafici. "_
sudo apt-get install gdme riavviato - loop di accesso. (Quindi questo suggerisce un problema con il driver grafico - ricordo che ho avuto
martin@thrio:~$ lsmod|grep fglrx
martin@thrio:~$
Devo ottenere un output per questa ricerca?