Ubuntu 12.04 - autologin
Mám problém, že mi nefunguje autologin. Keď som to inštaloval pred dvoma mesiacmi, tak to fungovalo. Teraz som to preinštaloval a nefunguje. Zastaví sa to na prihlasovacej obrazovke. Keď sa tam prihlásim, tak sa hneď spustí XBMC tak ako má. Nefunguje to automaticky. Viete niekto poradiť ?
Pre pridávanie komentárov sa musíte prihlásiť.
SeatDefaults]
autologin-user=xbmc
autologin-user-timeout=0
user-session=XBMC
greeter-session=lightdm-gtk-greeter
Ak používaš Ubuntu a v ňom GDM, tak zmena pre program LightDM bude mať nulový efekt. Ale, to je jedno. Obvykle sa to pre GDM dalo naklikať že po koľkých sekundách sa má automaticky prihlásiť a aký užívateľ.
Pokiaľ teda chalan inštaloval Ubuntu, tak má GDM a zmena pre akýkoľvek iný DM sa nebude mať v čom prejaviť.
Pokiaľ použil Minimal Install CD, tak si sám klikal že ktoré programy si nainštaluje. Predpokladám, že vie aký DM okrem LightDM inštaloval.
V tom prípade sa oplatí potvrdiť či bol DM reštartutý (užívateľ sa odhlásil a prihlásil alebo sa stroj reštartol), a či v logu z DM nie je napísaná nejaká chyba.
Gnome má gdm stále, to len ubuntu sa odklonilo a začalo používa svoj vlastný dm.
[+0.01s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.01s] DEBUG: Starting Light Display Manager 1.2.1, UID=0 PID=1199
[+0.01s] DEBUG: Loaded configuration from /etc/lightdm/lightdm.conf
[+0.01s] 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.02s] DEBUG: Starting seat
[+0.02s] DEBUG: Starting new display for automatic login as user xbmc
[+0.02s] DEBUG: Starting local X display
[+0.05s] DEBUG: X server :0 will replace Plymouth
[+0.08s] DEBUG: Using VT 7
[+0.08s] DEBUG: Activating VT 7
[+0.08s] 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 1248: /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch -background none
[+0.09s] DEBUG: Waiting for ready signal from X server :0
[+0.09s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.09s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+2.82s] DEBUG: Got signal 10 from process 1248
[+2.82s] DEBUG: Got signal from X server :0
[+2.82s] DEBUG: Stopping Plymouth, X server is ready
[+2.85s] DEBUG: Connecting to XServer :0
[+2.85s] DEBUG: Automatically logging in user xbmc
[+2.85s] DEBUG: Started session 1556 with service 'lightdm-autologin', username 'xbmc'
[+2.97s] DEBUG: Session 1556 authentication complete with return value 0: Success
[+2.97s] DEBUG: Autologin user xbmc authorized
[+3.01s] DEBUG: Autologin using session XBMC
[+3.05s] DEBUG: Dropping privileges to uid 1000
[+3.05s] DEBUG: Restoring privileges
[+3.08s] DEBUG: Dropping privileges to uid 1000
[+3.08s] DEBUG: Writing /home/xbmc/.dmrc
[+3.08s] DEBUG: Restoring privileges
[+3.09s] DEBUG: Starting session XBMC as user xbmc
[+3.09s] DEBUG: Session 1556 running command /usr/sbin/lightdm-session xbmc-standalone
[+3.16s] DEBUG: New display ready, switching to it
[+3.16s] DEBUG: Activating VT 7
[+3.16s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+3.16s] DEBUG: Session 1556 exited with return value 1
[+3.16s] DEBUG: User session quit
[+3.16s] DEBUG: Stopping display
[+3.16s] DEBUG: Sending signal 15 to process 1248
[+3.59s] DEBUG: Process 1248 exited with return value 0
[+3.59s] DEBUG: X server stopped
[+3.59s] DEBUG: Removing X server authority /var/run/lightdm/root/:0
[+3.59s] DEBUG: Releasing VT 7
[+3.59s] DEBUG: Display server stopped
[+3.59s] DEBUG: Display stopped
[+3.59s] DEBUG: Active display stopped, switching to greeter
[+3.59s] DEBUG: Switching to greeter
[+3.59s] DEBUG: Starting new display for greeter
[+3.59s] DEBUG: Starting local X display
[+3.59s] DEBUG: Using VT 7
[+3.59s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+3.59s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+3.59s] DEBUG: Launching X Server
[+3.59s] DEBUG: Launching process 1669: /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+3.59s] DEBUG: Waiting for ready signal from X server :0
[+6.10s] DEBUG: Got signal 10 from process 1669
[+6.10s] DEBUG: Got signal from X server :0
[+6.10s] DEBUG: Connecting to XServer :0
[+6.11s] DEBUG: Starting greeter
[+6.11s] DEBUG: Started session 1677 with service 'lightdm', username 'lightdm'
[+6.18s] DEBUG: Session 1677 authentication complete with return value 0: Success
[+6.18s] DEBUG: Greeter authorized
[+6.18s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+6.18s] DEBUG: Session 1677 running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/lightdm-gtk-greeter
[+6.27s] DEBUG: Greeter connected version=1.2.1
[+6.27s] DEBUG: Greeter connected, display is ready
[+6.27s] DEBUG: New display ready, switching to it
[+6.27s] DEBUG: Activating VT 7
[+6.27s] DEBUG: Stopping greeter display being switched from
[+6.62s] DEBUG: Greeter start authentication for xbmc
[+6.62s] DEBUG: Started session 1794 with service 'lightdm', username 'xbmc'
[+6.69s] DEBUG: Session 1794 got 1 message(s) from PAM
[+6.69s] DEBUG: Prompt greeter with 1 message(s)
xbmc-standalone
sa Ti po 0.05s vypne. Predpokladám, že dôvod je v/home/xbmc/.xsession-errors
a tak isto je viditeľný v príkazovej riadke po zadaní príkazusudo -i xbmc-standalone
(skrytý súbor).Takže zatiaľ to vyzerá na iú chybu. Bol vytvorený domovský priečinok pre toho užívateľa?
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Segmentation fault
Nerozumiem prečo je chyba s VDPAU keď ja mám grafiku ATI.
Ten príkaz
sudo -i xbmc-standalone
fungoval? Je možné, že to celé funguje ale Ty si nedal absolútnu cestu pre spustenie programu, alebo tam nastala iná chyba.No nič, je večer, Štefana. Idem si ja vypočuť extip.
xbmc@XBMC-NAS:~$ sudo -i xbmc-standalone
[sudo] password for xbmc:
Error: unable to open display
FEH.py: cannot connect to X server
Error: unable to open display
FEH.py: cannot connect to X server
Error: unable to open display
FEH.py: cannot connect to X server
XBMC has exited uncleanly 3 times in the last 1 seconds.
Something is probably wrong
Písal si, že si inštaloval minimálnu verziu, takže je možné, že Ti chýbajú nejaké balíky. Nechceš to celé radšej preinštalovať pomocou XBMC LiveCD? Asi to bude rýchlejšie.
Takže naštartuj ten počítač normálne, prihlás sa doň ako užívateľ a spusti emulátor terminálu (gnome terminal, KTerm, xterm, uxterm) . V ňom potom spusti ten príkaz a povedz čo urobil.
Tebe ale ide o niečo iné. Ty chceš aby sa Ti namiesto sedenia automaticky naštartoval jediný program. Ten sa ale za ten zlomok sekundy ani nestihne naštartovať, takže tam máš zjavne nejakú chybu.
A vieš čomy nerozumiem ja? Chceš porozumieť riešeniu, ale nechceš ho pomôcť nájsť. A tak isto si sa ani nepozrel na záložné možnosti riešenia. To XBMC LiveCD má už dve verzie. Jedno je pre ATI/AMD karty a druhé pre Nvidia karty.
No nič, stojí to na Tebe. Ja si idem v kľude pozrieť dostavník ktorým pôjdem osláviť Nový rok.
Zatiaľ si to LiveCD len vyskúšaj, nad reinštaláciou poroznýšľaj keď to pôjde na prvý šup. Len sa zamysli, že či potrebuješ okrem samby aj iné nastavenia.
No nič, vlak ide skoro ráno. Budík už mám nastavený.