automatyczny startx

Tutaj można zadać pytanie, jeśli Linuksa widzi się pierwszy raz w życiu ;)
Awatar użytkownika
Krisof
Sędziwy Jeż
Sędziwy Jeż
Posty: 51
Rejestracja: 25 lut 2011, 22:33
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Architektura: x86

automatyczny startx

Post autor: Krisof »

Witam,
jest problem. Chcę by moje ubuntu bez wklepywania startx'a włączyło ekran logowania.
W Menu->System->Administracja-> Ekran Logowania jak dam odblokuj nic się nie dzieje.

Z góry dzięki.
Kris(t)of
Dell Vostro 1710, GF 8600M, Ubuntu 10.04, 3G RAM, | Urt, TC:E,TC:CQB | player
True Combat: Close Quarters Battle <------ POTRZEBA GRACZY MOD DO Wolfenstein: ET
(troszkę patchy wychodzi)
Awatar użytkownika
icyhot12
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 174
Rejestracja: 22 gru 2008, 22:07
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Inne
Architektura: x86
Kontakt:

Odp: automatyczny startx

Post autor: icyhot12 »

Po włączeniu komputera nie włączają się X'y i masz ekran logowania w terminalu?
Daj pare informacji więcej bo problem nie wydaje się być trudny :)
# Registered Linux user number 490592
# Asus Z53S + Archlinux :)
Awatar użytkownika
Ptak0076
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 137
Rejestracja: 13 cze 2009, 21:14
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Xfce
Architektura: x86_64
Lokalizacja: Pool

Odp: automatyczny startx

Post autor: Ptak0076 »

a możne by tak zainstalować gdm?? (nie jestem pewny czy to pomoże dopiero się uczę wiec zaczekaj aż to ktoś skomentuje)
Awatar użytkownika
Krisof
Sędziwy Jeż
Sędziwy Jeż
Posty: 51
Rejestracja: 25 lut 2011, 22:33
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Architektura: x86

Odp: automatyczny startx

Post autor: Krisof »

Witam Panów :P
Włączam laptopa, następnie wybieram ubuntu, daje enter, leci sobie log co tam sobie uruchamia i jakie karty graficzne, monitory, dysk itp. znalazło.
No i mam w terminalu

Kod: Zaznacz cały

[nazwa komputera] login: 
password:
loguje się i następnie włączam Xy przez

Kod: Zaznacz cały

startx
Edit:
Dałem sudo su i poźniej apt-get install gdm.
Zrestartowałem komputer i jest jak było.
Dell Vostro 1710, GF 8600M, Ubuntu 10.04, 3G RAM, | Urt, TC:E,TC:CQB | player
True Combat: Close Quarters Battle <------ POTRZEBA GRACZY MOD DO Wolfenstein: ET
(troszkę patchy wychodzi)
Awatar użytkownika
aga
Przyjaciel
Przyjaciel
Posty: 1383
Rejestracja: 12 paź 2007, 14:58
Płeć: Kobieta
Wersja Ubuntu: inny OS
Środowisko graficzne: GNOME
Architektura: x86_64

Odp: automatyczny startx

Post autor: aga »

Kolega wyżej Ci napisał.

Sprawdź w synapticu czy masz paczkę gdm.
Jeśli masz problemy z ortografią, to zainstaluj słownik do przeglądarki.
Temat rozwiązany -wpisz [solved]
Ubuntu user # 20613 i user #474846
Świetny Blog
Grupa Ubuntu.pl na lastfm- Zapraszamy
Awatar użytkownika
Krisof
Sędziwy Jeż
Sędziwy Jeż
Posty: 51
Rejestracja: 25 lut 2011, 22:33
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Architektura: x86

Odp: automatyczny startx

Post autor: Krisof »

Tak, mam zainstalowane.

Edit:

Kod: Zaznacz cały

adml@dell17:~$ gdmflexiserver 
** (gdmflexiserver:2681): DEBUG: checking if seat can activate sessions

** (gdmflexiserver:2681): WARNING **: Unable to create transient display: The name org.gnome.DisplayManager was not provided by any .service files
adml@dell17:~$ gdmsetup 

** (gdmsetup:2682): WARNING **: Error calling GetSoundEnabled(): The name org.gnome.DisplayManager was not provided by any .service files

** (gdmsetup:2682): WARNING **: Error calling GetValue('daemon/TimedLoginEnable'): The name org.gnome.DisplayManager was not provided by any .service files

** (gdmsetup:2682): WARNING **: Error calling GetValue('daemon/TimedLoginDelay'): The name org.gnome.DisplayManager was not provided by any .service files
** (gdmsetup:2682): DEBUG: init delay=30
** (gdmsetup:2682): DEBUG: "/usr/share/xsessions/une-guest-restricted.desktop" is hidden or contains non-executable TryExec program

** (gdmsetup:2682): DEBUG: "/usr/share/xsessions/une-efl-guest-restricted.desktop" is hidden or contains non-executable TryExec program

** (gdmsetup:2682): DEBUG: "/usr/share/xsessions/guest-restricted.desktop" is hidden or contains non-executable TryExec program


** (gdmsetup:2682): WARNING **: Error calling GetValue('daemon/DefaultSession'): The name org.gnome.DisplayManager was not provided by any .service files
** (gdmsetup:2682): DEBUG: Init default session found:'(null)'
** (gdmsetup:2682): DEBUG: GdmUserManager: Found current seat: /org/freedesktop/ConsoleKit/Seat1
** (gdmsetup:2682): DEBUG: GdmUserManager: running 'ck-history --frequent --seat='Seat1' --session-type='''
** (gdmsetup:2682): DEBUG: GdmUserManager: explicitly skipping user: nobody
** (gdmsetup:2682): DEBUG: GdmUserManager: user icon changed
** (gdmsetup:2682): DEBUG: adding monitor for '/home/adml/.face'
** (gdmsetup:2682): DEBUG: GdmUserManager: user icon changed
** (gdmsetup:2682): DEBUG: adding monitor for '/home/kristof/.face'
** (gdmsetup:2682): DEBUG: GdmUserManager: user icon changed
** (gdmsetup:2682): DEBUG: adding monitor for '/home/ja/.face'
** (gdmsetup:2682): DEBUG: Getting list of sessions for user 1002
** (gdmsetup:2682): DEBUG: Found 0 sessions for user ja
** (gdmsetup:2682): DEBUG: Getting list of sessions for user 1001
** (gdmsetup:2682): DEBUG: Found 0 sessions for user kristof
** (gdmsetup:2682): DEBUG: Getting list of sessions for user 1000
** (gdmsetup:2682): DEBUG: Found 2 sessions for user adml
** (gdmsetup:2682): DEBUG: GdmUserManager: not adding session without a x11 display: /org/freedesktop/ConsoleKit/Session1
** (gdmsetup:2682): DEBUG: GdmUser: adding session /org/freedesktop/ConsoleKit/Session2
** (gdmsetup:2682): DEBUG: GdmUserManager: sessions changed user=adml num=1
** (gdmsetup:2682): DEBUG: GdmUserManager: added session for user: adml

** (ck-history:2684): WARNING **: Unable to parse session added event: seat-id='Seat1' session-id='Session1' session-type='' session-x11-display='' session-x11-display-device='' session-display-device='/dev/tty1' session-remote-host-name='' session-is-local=TRUE session-unix-user=1000 ses1281901777.162 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0


** (ck-history:2684): WARNING **: Unable to parse session removed event: seat-id='Seat1' session-id='Session6' session-type='' session-x11-display='' session-x11-display-device='' session-display-device='/dev/???' session-remote-host-name='' session-is-local=TRUE ses1288380579.105 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0


** (ck-history:2684): WARNING **: Unable to parse session added event: seat-id='Seat1' session-id='Session2' session-type='' session-1288564545.170 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0


** (ck-history:2684): WARNING **: Unable to parse session added event: seat-id='1288635700.473 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0


** (ck-history:2684): WARNING **: Unable to parse session removed event: seat-id='Seat1' session-id='Session2' session-type='' session-x11-display=':0' session-x11-display-device='/dev/tty7' session-display-device='/dev/tty1' session-remote-host-name='' session-is-local=TRUE session-unix-user=1000 ses1288659099.022 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0


** (ck-history:2684): WARNING **: Unable to parse session removed event: seat-id='Seat1' session-id='Session8' sessio1290971930.607 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0


** (ck-history:2684): WARNING **: Unable to parse session added event: seat-id='Seat1' session-id='Session1' session-type='' session-x11-display='' session-x11-display-device='' session-display-device='/dev/tty11298577553.984 type=SEAT_ADDED : seat-id='Seat1' seat-kind=0

** (gdmsetup:2682): DEBUG: GdmUserManager: history output: adml     2623

** (gdmsetup:2682): DEBUG: GdmUserManager: history output: kristof  229

** (gdmsetup:2682): DEBUG: GdmUserManager: history output: root     190

** (gdmsetup:2682): DEBUG: GdmUserManager: excluding user 'root'
** (gdmsetup:2682): DEBUG: GdmUserManager: history output: ja       19

** (gdmsetup:2682): DEBUG: Login freq 1=19 2=229
** (gdmsetup:2682): DEBUG: Login freq 1=2623 2=229

** (gdmsetup:2682): WARNING **: Error calling GetValue('daemon/AutomaticLoginEnable'): The name org.gnome.DisplayManager was not provided by any .service files

** (gdmsetup:2682): WARNING **: Error calling GetValue('daemon/TimedLoginEnable'): The name org.gnome.DisplayManager was not provided by any .service files

** (gdmsetup:2682): WARNING **: Error calling GetValue('daemon/TimedLogin'): The name org.gnome.DisplayManager was not provided by any .service files
** (gdmsetup:2682): DEBUG: init user='(null)' auto=False








** (gdmsetup:2682): WARNING **: Failed to unlock: The name org.gnome.DisplayManager was not provided by any .service files
Dell Vostro 1710, GF 8600M, Ubuntu 10.04, 3G RAM, | Urt, TC:E,TC:CQB | player
True Combat: Close Quarters Battle <------ POTRZEBA GRACZY MOD DO Wolfenstein: ET
(troszkę patchy wychodzi)
Awatar użytkownika
avay
Piegowaty Guziec
Piegowaty Guziec
Posty: 2
Rejestracja: 18 lut 2011, 10:20
Płeć: Mężczyzna
Wersja Ubuntu: 10.10
Środowisko graficzne: GNOME
Architektura: x86
Kontakt:

Odp: automatyczny startx

Post autor: avay »

Nie odpalają Ci sie x,y. ja bym poprostu zainstalował system ponownie, najlepiej w wersji 10.10 ;p
Ewentualnie:
- Wyloguj się
- ctrl-alt-f1 podaj swoją nazwe i hasło
- Wpisz komende:
export DISPLAY=:0.0
sudo -u gdm gconf-editor
- Wróć do GDM (ctrl-alt-f7). Powinieneś zobaczyć gconf-editor.
-Przejdź do 'apps->gdm->simple-greeter' ustawiając 'disable_user_list' na true. Zamknij gconf
-Wróć do 1 konsoli i wpisz komendę:
sudo /etc/init.d/gdm restart
Awatar użytkownika
icyhot12
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 174
Rejestracja: 22 gru 2008, 22:07
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Inne
Architektura: x86
Kontakt:

Odp: automatyczny startx

Post autor: icyhot12 »

Wpisz w google "automatic gdm start"czy podobne. Masa tematow. Nie wiem jakim sposobem masz wylaczone automatyczne wlaczanie gdm I tyle.
# Registered Linux user number 490592
# Asus Z53S + Archlinux :)
Awatar użytkownika
Krisof
Sędziwy Jeż
Sędziwy Jeż
Posty: 51
Rejestracja: 25 lut 2011, 22:33
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Architektura: x86

Odp: automatyczny startx

Post autor: Krisof »

Mój laptop był kiedyś ojca (informatyk, który zawodowo się zajmuje linuxami) i potrzebował wyłączyć Xy. Powiedział, żebym sobie potrenował :P Jak nie będę umiał to mi zrobi :)
Czyste samozaparcie


Z góry dzięki panowie ( i pani :P )
Kris(t)of
Dell Vostro 1710, GF 8600M, Ubuntu 10.04, 3G RAM, | Urt, TC:E,TC:CQB | player
True Combat: Close Quarters Battle <------ POTRZEBA GRACZY MOD DO Wolfenstein: ET
(troszkę patchy wychodzi)
Awatar użytkownika
Admc
Gibki Gibbon
Gibki Gibbon
Posty: 2149
Rejestracja: 23 lip 2009, 08:57
Płeć: Mężczyzna
Wersja Ubuntu: 13.10
Środowisko graficzne: KDE Plasma
Architektura: x86_64

Odp: automatyczny startx

Post autor: Admc »

Podaj wyniki poleceń:

Kod: Zaznacz cały

cat /boot/grub/grub.cfg

Kod: Zaznacz cały

cat /boot/grub/menu.lst
╔═╦╗╔╦═╦═╦╗╔╗Blaszak (Phenom II x4 955BE, 4 GB RAM, GF GTX 550Ti) - Kubuntu 13.10 amd64
║═╣║║║╔╣╔╣╚╝║Toshiba Satellite A110-293 - Lubuntu 13.10 x86
║╔╣╚╝║║║║╚╗╔╝HTC Hero - Tegro 2.6 (Android 2.1)
╚╝╚══╩╝╚╝♥╚╝ Liczniki: Linux - 496087, Ubuntu - 28751.
Awatar użytkownika
Krisof
Sędziwy Jeż
Sędziwy Jeż
Posty: 51
Rejestracja: 25 lut 2011, 22:33
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Architektura: x86

Odp: automatyczny startx

Post autor: Krisof »

Wynik dla cat /boot/grub/grub.cfg

Kod: Zaznacz cały

adml@dell17:~$ cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 06361c1a-4581-4c9e-b33f-fd2920d92515
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set 06361c1a-4581-4c9e-b33f-fd2920d92515
set locale_dir=($root)/boot/grub/locale
set lang=pl
insmod gettext
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, za pomocą systemu Linux 2.6.32-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd0,5)'
	search --no-floppy --fs-uuid --set 06361c1a-4581-4c9e-b33f-fd2920d92515
	linux	/boot/vmlinuz-2.6.32-23-generic root=UUID=06361c1a-4581-4c9e-b33f-fd2920d92515 ro   text nosplash acpi.power_nocheck=1
	initrd	/boot/initrd.img-2.6.32-23-generic
}
menuentry 'Ubuntu, za pomocą systemu Linux 2.6.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd0,5)'
	search --no-floppy --fs-uuid --set 06361c1a-4581-4c9e-b33f-fd2920d92515
	linux	/boot/vmlinuz-2.6.32-22-generic root=UUID=06361c1a-4581-4c9e-b33f-fd2920d92515 ro   text nosplash acpi.power_nocheck=1
	initrd	/boot/initrd.img-2.6.32-22-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod ext2
	set root='(hd0,5)'
	search --no-floppy --fs-uuid --set 06361c1a-4581-4c9e-b33f-fd2920d92515
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod ext2
	set root='(hd0,5)'
	search --no-floppy --fs-uuid --set 06361c1a-4581-4c9e-b33f-fd2920d92515
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
menuentry "PartedMagic" {
set root=(hd0,5)
linux /pmagic/bzImage edd=off noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=791 loglevel=0 max_loop=256 keymap=pl
initrd /pmagic/initramfs
}
#menuentry "Clonezilla" {
#set root=(hd0,1)
#linux /live-hd/vmlinuz boot=live union=aufs vga=788 ip=frommedia
#live-media-path=/live-hd bootfrom=/dev/hda1 toram=filesystem.squashfs
#initrd /live-hd/initrd.img
#}
menuentry "Parted Magic ISO" {
insmod ntfs
set isofile="/boot/pmagic-5.10.iso"
loopback loop (hd0,5)$isofile
linux (loop)/pmagic/bzImage iso_filename=$isofile boot=live load_ramdisk=1 prompt_ramdisk=0 noeject noprompt
initrd (loop)/pmagic/initramfs

Wynik dla cat /boot/grub/menu.lst

Kod: Zaznacz cały

cat: /boot/grub/menu.lst: No such file or directory
Dell Vostro 1710, GF 8600M, Ubuntu 10.04, 3G RAM, | Urt, TC:E,TC:CQB | player
True Combat: Close Quarters Battle <------ POTRZEBA GRACZY MOD DO Wolfenstein: ET
(troszkę patchy wychodzi)
Awatar użytkownika
Admc
Gibki Gibbon
Gibki Gibbon
Posty: 2149
Rejestracja: 23 lip 2009, 08:57
Płeć: Mężczyzna
Wersja Ubuntu: 13.10
Środowisko graficzne: KDE Plasma
Architektura: x86_64

Odp: automatyczny startx

Post autor: Admc »

W takim razie problem jest banalny i łatwy do rozwiązania.
Wydaj polecenie:

Kod: Zaznacz cały

gksudo gedit /etc/default/grub
Znajdź linijkę zaczynającą się od:

Kod: Zaznacz cały

GRUB_CMDLINE_LINUX_DEFAULT
I zamień słowa:

Kod: Zaznacz cały

text nosplash
na słowa:

Kod: Zaznacz cały

quiet splash
Teraz wydaj komendę:

Kod: Zaznacz cały

sudo update-grub
Powinno działać.
╔═╦╗╔╦═╦═╦╗╔╗Blaszak (Phenom II x4 955BE, 4 GB RAM, GF GTX 550Ti) - Kubuntu 13.10 amd64
║═╣║║║╔╣╔╣╚╝║Toshiba Satellite A110-293 - Lubuntu 13.10 x86
║╔╣╚╝║║║║╚╗╔╝HTC Hero - Tegro 2.6 (Android 2.1)
╚╝╚══╩╝╚╝♥╚╝ Liczniki: Linux - 496087, Ubuntu - 28751.
Awatar użytkownika
Krisof
Sędziwy Jeż
Sędziwy Jeż
Posty: 51
Rejestracja: 25 lut 2011, 22:33
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Architektura: x86

Odp: automatyczny startx

Post autor: Krisof »

W GRUB'ie mam do wyboru ubuntu i 2 memtesty
Po wybraniu ubuntu przez jakiś czas mam migającą deskę "_", a później na tty7 włącza się pasek ładowania i na tym koniec. Pasek cały czas sobie leci.
Odpalam startx z tty6. Poszukam u wujka googla, może coś się znajdzie.

Edit:
Google jest definitywnie analfabetą. ( wg. google gdm=gsm)

EDIT:
Chyba poddam sie :( Jutro pobiore 10.10 i popsuje do końca 10.04 :P

EDIT:
avay pisze:Nie odpalają Ci sie x,y. ja bym poprostu zainstalował system ponownie, najlepiej w wersji 10.10 ;p
Ewentualnie:
- Wyloguj się
- ctrl-alt-f1 podaj swoją nazwe i hasło
- Wpisz komende:
export DISPLAY=:0.0
sudo -u gdm gconf-editor
- Wróć do GDM (ctrl-alt-f7). Powinieneś zobaczyć gconf-editor.
-Przejdź do 'apps->gdm->simple-greeter' ustawiając 'disable_user_list' na true. Zamknij gconf
-Wróć do 1 konsoli i wpisz komendę:
sudo /etc/init.d/gdm restart
Utknąłem na

Kod: Zaznacz cały

sudo -u gdm gconf-editor
Oto błąd:

Kod: Zaznacz cały

adml@dell17:~$ sudo -u gdm gconf-editor
[sudo] password for adml: 
No protocol specified

** (gconf-editor:2931): CRITICAL **: Failed to parse arguments: Nie można otworzyć ekranu: 
adml@dell17:~$

EDIT:
Zrobiłem tak

Kod: Zaznacz cały

root@dell17:/home/adml# gconf-editor 
root@dell17:/home/adml# sudo /etc/init.d/gdm restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service gdm restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart gdm
gdm start/running, process 2994
root@dell17:/home/adml# 


jak było tak jest
Dell Vostro 1710, GF 8600M, Ubuntu 10.04, 3G RAM, | Urt, TC:E,TC:CQB | player
True Combat: Close Quarters Battle <------ POTRZEBA GRACZY MOD DO Wolfenstein: ET
(troszkę patchy wychodzi)
ODPOWIEDZ

Wróć do „Przedszkole Linuksa”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 6 gości