Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

Użytkownik


Da się tak zrobic żeby na debianie 7 nie trzeba było wpisywać nazwy usera i hasła tylko żeby samo szło?
tak jak w znienawidzonym windowsie?
Ostatnio edytowany przez adi1423 (2013-04-28 20:17:13)
Offline







Palacz








Musimy wiedzieć jaki masz menadzer logowania
Pokaż
dpkg -l | grep dm
Offline

Użytkownik


ilin napisał(-a):
Musimy wiedzieć jaki masz menadzer logowania
PokażKod:
dpkg -l | grep dm
ii bsdmainutils 9.0.3 i386 collection of more utilities from FreeBSD
ii dmidecode 2.11-9 i386 SMBIOS/DMI table decoder
ii dmsetup 2:1.02.74-7 i386 Linux Kernel Device Mapper userspace library
ii iptables 1.4.14-3.1 i386 administration tools for packet filtering and NAT
ii liblightdm-gobject-1-0 1.2.2-4 i386 simple display manager (gobject library)
ii libnfsidmap2:i386 0.25-4 i386 NFS idmapping library
ii libquadmath0:i386 4.7.2-5 i386 GCC Quad-Precision Math Library
ii libxdmcp6:i386 1:1.1.1-1 i386 X11 Display Manager Control Protocol library
ii lightdm 1.2.2-4 i386 simple display manager
ii lightdm-gtk-greeter 1.1.6-2 i386 simple display manager (GTK+ greeter)
ii passwd 1:4.1.5.1-1 i386 change and administer password and group data
ii policykit-1 0.105-3 i386 framework for managing administrative policies and privileges
Offline







Palacz








Masz lightdm tak jak ja.
adam@debian:/etc/lightdm$ cat /etc/lightdm/lightdm.conf # # General configuration # # start-default-seat = True to always start one seat if none are defined in the configuration # greeter-user = User to run greeter as # minimum-display-number = Minimum display number to use for X servers # minimum-vt = First VT to run displays on # user-authority-in-system-dir = True if session authority should be in the system location # guest-account-script = Script to be run to setup guest account # log-directory = Directory to log information to # run-directory = Directory to put running state in # cache-directory = Directory to cache to # xsessions-directory = Directory to find X sessions # xgreeters-directory = Directory to find X greeters # [LightDM] #start-default-seat=true #greeter-user=lightdm #minimum-display-number=0 #minimum-vt=7 #user-authority-in-system-dir=false #guest-account-script=guest-account #log-directory=/var/log/lightdm #run-directory=/var/run/lightdm #cache-directory=/var/cache/lightdm #xsessions-directory=/usr/share/xsessions #xgreeters-directory=/usr/share/xgreeters # # Seat defaults # # xserver-command = X server command to run (can also contain arguments e.g. X -special-option) # xserver-layout = Layout to pass to X server # xserver-config = Config file to pass to X server # xserver-allow-tcp = True if TCP/IP connections are allowed to this X server # xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true) # xdmcp-port = XDMCP UDP/IP port to communicate on # xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf) # greeter-session = Session to load for greeter # greeter-hide-users = True to hide the user list # greeter-allow-guest = True if the greeter should show a guest login option # greeter-show-manual-login = True if the greeter should offer a manual login option # user-session = Session to load for users # allow-guest = True if guest login is allowed # guest-session = Session to load for guests (overrides user-session) # session-wrapper = Wrapper script to run session with # display-setup-script = Script to run when starting a greeter session (runs as root) # greeter-setup-script = Script to run when starting a greeter (runs as root) # session-setup-script = Script to run when starting a user session (runs as root) # session-cleanup-script = Script to run when quitting a user session (runs as root) # autologin-guest = True to log in as guest by default # autologin-user = User to log in with by default (overrides autologin-guest) # autologin-user-timeout = Number of seconds to wait before loading default user # autologin-session = Session to load for automatic login (overrides user-session) # exit-on-failure = True if the daemon should exit if this seat fails # [SeatDefaults] #xserver-command=X #xserver-layout= #xserver-config= xserver-allow-tcp=false #xdmcp-manager= #xdmcp-port=177 #xdmcp-key= greeter-session=lightdm-greeter greeter-hide-users=true #greeter-allow-guest=true #greeter-show-manual-login=false #user-session=default #allow-guest=true #guest-session=UNIMPLEMENTED session-wrapper=/etc/X11/Xsession #display-setup-script= #greeter-setup-script= #session-setup-script= #session-cleanup-script= #autologin-guest=false autologin-user=adam #autologin-user-timeout=0 #autologin-session=UNIMPLEMENTED #exit-on-failure=false # # Seat configuration # # Each seat must start with "Seat:". # Uses settings from [SeatDefaults], any of these can be overriden by setting them in this section. # #[Seat:0] # # XDMCP Server configuration # # enabled = True if XDMCP connections should be allowed # port = UDP/IP port to listen for connections on # key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf) # # The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. Alternatively # it can be a word and the first 7 characters are used as the key. # [XDMCPServer] #enabled=false #port=177 #key= # # VNC Server configuration # # enabled = True if VNC connections should be allowed # port = TCP/IP port to listen for connections on # [VNCServer] #enabled=false #port=5900 #width=1024 #height=768 #depth=8
Czas abyś sam wyciągnął wnioski :)
Dla ułatwienia
autologin-user=adam
Offline

Użytkownik


ilin napisał(-a):
Masz lightdm tak jak ja.
Kod:
adam@debian:/etc/lightdm$ cat /etc/lightdm/lightdm.conf # # General configuration # # start-default-seat = True to always start one seat if none are defined in the configuration # greeter-user = User to run greeter as # minimum-display-number = Minimum display number to use for X servers # minimum-vt = First VT to run displays on # user-authority-in-system-dir = True if session authority should be in the system location # guest-account-script = Script to be run to setup guest account # log-directory = Directory to log information to # run-directory = Directory to put running state in # cache-directory = Directory to cache to # xsessions-directory = Directory to find X sessions # xgreeters-directory = Directory to find X greeters # [LightDM] #start-default-seat=true #greeter-user=lightdm #minimum-display-number=0 #minimum-vt=7 #user-authority-in-system-dir=false #guest-account-script=guest-account #log-directory=/var/log/lightdm #run-directory=/var/run/lightdm #cache-directory=/var/cache/lightdm #xsessions-directory=/usr/share/xsessions #xgreeters-directory=/usr/share/xgreeters # # Seat defaults # # xserver-command = X server command to run (can also contain arguments e.g. X -special-option) # xserver-layout = Layout to pass to X server # xserver-config = Config file to pass to X server # xserver-allow-tcp = True if TCP/IP connections are allowed to this X server # xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true) # xdmcp-port = XDMCP UDP/IP port to communicate on # xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf) # greeter-session = Session to load for greeter # greeter-hide-users = True to hide the user list # greeter-allow-guest = True if the greeter should show a guest login option # greeter-show-manual-login = True if the greeter should offer a manual login option # user-session = Session to load for users # allow-guest = True if guest login is allowed # guest-session = Session to load for guests (overrides user-session) # session-wrapper = Wrapper script to run session with # display-setup-script = Script to run when starting a greeter session (runs as root) # greeter-setup-script = Script to run when starting a greeter (runs as root) # session-setup-script = Script to run when starting a user session (runs as root) # session-cleanup-script = Script to run when quitting a user session (runs as root) # autologin-guest = True to log in as guest by default # autologin-user = User to log in with by default (overrides autologin-guest) # autologin-user-timeout = Number of seconds to wait before loading default user # autologin-session = Session to load for automatic login (overrides user-session) # exit-on-failure = True if the daemon should exit if this seat fails # [SeatDefaults] #xserver-command=X #xserver-layout= #xserver-config= xserver-allow-tcp=false #xdmcp-manager= #xdmcp-port=177 #xdmcp-key= greeter-session=lightdm-greeter greeter-hide-users=true #greeter-allow-guest=true #greeter-show-manual-login=false #user-session=default #allow-guest=true #guest-session=UNIMPLEMENTED session-wrapper=/etc/X11/Xsession #display-setup-script= #greeter-setup-script= #session-setup-script= #session-cleanup-script= #autologin-guest=false autologin-user=adam #autologin-user-timeout=0 #autologin-session=UNIMPLEMENTED #exit-on-failure=false # # Seat configuration # # Each seat must start with "Seat:". # Uses settings from [SeatDefaults], any of these can be overriden by setting them in this section. # #[Seat:0] # # XDMCP Server configuration # # enabled = True if XDMCP connections should be allowed # port = UDP/IP port to listen for connections on # key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf) # # The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. Alternatively # it can be a word and the first 7 characters are used as the key. # [XDMCPServer] #enabled=false #port=177 #key= # # VNC Server configuration # # enabled = True if VNC connections should be allowed # port = TCP/IP port to listen for connections on # [VNCServer] #enabled=false #port=5900 #width=1024 #height=768 #depth=8Czas abyś sam wyciągnął wnioski :)
Dla ułatwieniaKod:
autologin-user=adam
hmmm... pomyśle
może
nano /etc/lightdm/lightdm.conf
w etc jest wszystko więc tam poszukałem i była nazwa menadzera logowania więc przypomniałem sobie komendę nano do edytowania i tam jest coś autlogin czyli rozumiem że mam to zmienić na to co napisałeś? nieważne i tak spróbuje
Ostatnio edytowany przez adi1423 (2013-04-28 20:52:13)
Offline







Palacz








Tu nie ma co myśleć
/etc/lightdm/lightdm.conf
To plik konfiguracyjny menadżera logowania lightdm.
Musisz w odpowiedniej lini wpisać nazwę użytkownika ,który ma być automatycznie logowany i zrestartowac komputer.
Offline

Użytkownik


ilin napisał(-a):
Tu nie ma co myśleć
Kod:
/etc/lightdm/lightdm.confTo plik konfiguracyjny menadżera logowania lightdm.
Musisz w odpowiedniej lini wpisać nazwę użytkownika ,który ma być automatycznie logowany i zrestartowac komputer.
grr właśnie napisałem że do tego doszłem :) ale dzięki przynajmniej mam pewność trochę mnie zdziwiło czemu nie ma nic o haśle ale już próbuje
Ostatnio edytowany przez adi1423 (2013-04-28 20:56:21)
Offline

Użytkownik


ilin napisał(-a):
Tu nie ma co myśleć
Kod:
/etc/lightdm/lightdm.confTo plik konfiguracyjny menadżera logowania lightdm.
Musisz w odpowiedniej lini wpisać nazwę użytkownika ,który ma być automatycznie logowany i zrestartowac komputer.
niestety okazuje się że za cenzure nie chce działać automatycznie
Offline







Palacz








Musiałeś popełnić jakiś błąd.
Pokaż zawartość tego pliku.
Offline

Użytkownik


ilin napisał(-a):
Musiałeś popełnić jakiś błąd.
Pokaż zawartość tego pliku.
oto zawartość (a raczej tylko część która mogła być zmieniona prze ze mnie
#guest-session=UNIMPLEMENTED session-wrapper=/etc/X11/Xsession #display-setup-script= #greeter-setup-script= #session-setup-script= #session-cleanup-script= #autologin-guest=true #autologin-user=miczeb15 #autologin-user-timeout=0 #autologin-session=UNIMPLEMENTED #exit-on-failure=false
Offline







Palacz








#autologin-user=miczeb15
Usun ten #
On oznacza w unixach ,że linia jest ignorowana.
Tak jakby jej wcale nie było.
Offline

Użytkownik


ilin napisał(-a):
Kod:
#autologin-user=miczeb15Usun ten #
On oznacza w unixach ,że linia jest ignorowana.
Tak jakby jej wcale nie było.
dzięki sam bym na to nie wpadł mój system już chyba spełnia moje oczekiwania ale i tak popatrze inne wątki może się czegoś naucze albo mi się spodoba coś :)
Offline







Palacz








Za jeden dwa dni sie linuxa nie nauczysz. :)
Używaj go. Wiele spraw jeszcze wyjdzie i nie obawiaj sie zadawać pytań
Za jakiś czas ty będziesz mógł pomagać poczatkującym.
Od Ciebie to zależy.
Offline

Użytkownik


ilin napisał(-a):
Za jeden dwa dni sie linuxa nie nauczysz. :)
Używaj go. Wiele spraw jeszcze wyjdzie i nie obawiaj sie zadawać pytań
Za jakiś czas ty będziesz mógł pomagać poczatkującym.
Od Ciebie to zależy.
Ja już szukałem czegoś żeby pomóc ale większość rozwiązane (a bym umiał) a ponad 90% nie ogarniam
tu raczej nie ma pytań typu "jak wstawić obiekt swf do ofifice" albo "jak na pc mieć taki wygląd facebooka jak tu http://cdn.userstyles.org/style_screenshots/79105_after.png"
ale skoro o windowskie wiem większość i znam wszystkie triki typu w windows 7 potrząśnij okienkiem a reszta okienek się zminimalizuje to z debianem też wierze że się uda
Offline







Palacz








Wszystko przyjdzie z czasem.
Powodzenia :)
Offline

Użytkownik


ilin napisał(-a):
Wszystko przyjdzie z czasem.
Powodzenia :)
oby :)
Offline


Użytkownik



Szukaj, a znajdziesz:
http://forum.dug.net.pl/viewtopic.php?pid=195884#p195884 .
Offline







Palacz








Obecnie nie trzeba tworzyć pliku /etc/pam.d/lightdm-autologin
Offline


Użytkownik



ilin
--yes, chodziło mi o co innego.
Ostatnio edytowany przez marcin'82 (2013-04-29 09:42:40)
Offline
Witam..Znalazłem ten temat a że jestem nowy to nie bedę zaśmiecał.Córka chce mieć linuxa i zostało na tej dystrybucji..ale do rzeczy.Problem tak jak wyżej menager logowania z Xfce lightdm.conf.Chce automatyczne logowanie.Tylko przez Thunar pluje sie o prawa roota i nie umiem w tych plikach coś zmienic.We właściwościach są ustawienia na zmiane ale nieaktywne...sorry za lamerstwo za miesiąc będę lepszy...
Offline







Palacz








Zwykły użytkownik nie może tam nic zmienić.
Może tylko root.
Zaloguj się w terminalu na roota
su
Wpisujesz hasło roota ( nie widać go) enter.
Natępnie
nano /etc/lightdm/lightdm.conf
Otworzy się tekstowy edytor nano
Dokonasz odpowiednich wpisów.
Zapiszesz zmiany kombinacją klawiszy
ctrl + o
Z edytora wyjdziesz kombinacją klawiszy
ctrl + x
Offline
Super tylko po Ctrl+O pisze....Nazwa pliku do zapisu: /etc/lighdm/.... a na Ctrl+X nie reaguje wychodzą inne kombinacje klawiszy fomat dos,format mac..itp.Coś robie żle napewno
Offline







Palacz








Domyślam sie, ze nie zalogowałeś sie na roota i robisz to z konta użytkownika.
Musi być w terminalu
# a nie $
Poza tym poćwicz sobie używanie nano na dowolnym pliku
nano ~/test
Offline




Imperator





Z czasem przyjdzie wszystko, ale trzeba się uczyć, a nie czekać aż samo wejdzie. :D
Bo tak nic nie wejdzie.
Offline



Dyskutant




Jak dasz Ctrl+O, to tamtą nazwę po prostu zatwierdź ENTERem i wciśnij CRTL+X żeby wyjść
Offline