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 Fundację Dzieciom „Zdążyć 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







Palacz








Obecnie nie trzeba tworzyć pliku /etc/pam.d/lightdm-autologin
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
Własnie miało być jeszcze enter .. pierdoła a problem..no ale już takie coś to mogłem się kapnąć..Dzięki..
Offline
Nie chciałem odgrzewać kotleta, ale się zakręciłem jak pokrywka na słoiku. Ale do rzeczy
mój system: uname -a
Linux debian 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) i686 GNU/Linux
menadżer logowania: dpkg -l | grep dm
ii bsdmainutils 9.0.6 i386 collection of more utilities from FreeBSD ii dmidecode 2.12-3 i386 SMBIOS/DMI table decoder ii dmsetup 2:1.02.90-2.2 i386 Linux Kernel Device Mapper userspace library ii gdm3 3.14.1-7 i386 GNOME Display Manager ii gir1.2-gdm3 3.14.1-7 i386 GObject introspection data for the GNOME Display Manager ii gstreamer1.0-libav:i386 1:1.4.5-dmo1 i386 FFmpeg plugin for GStreamer ii iptables 1.4.21-2+b1 i386 administration tools for packet filtering and NAT ii libaacplus2:i386 2.0.2-dmo2 i386 AAC+ encoding library - runtime files ii libaacs0:i386 0.8.1-dmo1 i386 free-and-libre implementation of AACS ii libavcodec56:i386 10:2.6.8-dmo1 i386 Library to encode decode multimedia streams - runtime files ii libavformat56:i386 10:2.6.8-dmo1 i386 FFmpeg file format library ii libavresample2:i386 10:2.6.8-dmo1 i386 FFmpeg audio conversion library ii libavutil54:i386 10:2.6.8-dmo1 i386 FFmpeg avutil library - runtime files ii libbluray1:i386 2:0.7.0-dmo1 i386 Blu-ray disc playback support library (shared library) ii libchromaprint0:i386 1.2-dmo2 i386 Audio fingerprint library ii libdca0:i386 0.0.5-dmo2 i386 decoding library for DTS Coherent Acoustics streams ii libdmapsharing-3.0-2 2.9.28-1 i386 DMAP client and server library - runtime ii libfaac0:i386 1:1.28-dmo3 i386 AAC audio encoder - library files. ii libfdk-aac1:i386 1:0.1.4-dmo1 i386 Fraunhofer FDK AAC codec library. ii libgdm1 3.14.1-7 i386 GNOME Display Manager (shared library) ii libgegl-0.2-0:i386 1:0.2.0-dmo8 i386 Generic Graphics Library. ii libmjpegutils-2.1-0:i386 2:2.1.0-dmo6 i386 MJPEG capture/editing/replay and MPEG encoding toolset (library) ii libmp3lame0:i386 1:3.99.5-dmo4 i386 Shared libraries for MP3 encoding ii libmpeg2encpp-2.1-0:i386 2:2.1.0-dmo6 i386 MJPEG capture/editing/replay and MPEG encoding toolset (library) ii libmplex2-2.1-0:i386 2:2.1.0-dmo6 i386 MJPEG capture/editing/replay and MPEG encoding toolset (library) ii libnfsidmap2:i386 0.25-5 i386 NFS idmapping library ii libpod-readme-perl 0.11-1 all Perl module to convert POD to README file ii libquadmath0:i386 4.9.2-10 i386 GCC Quad-Precision Math Library ii librtmp1:i386 2:2.4~20150315.gita107cef9b-dmo1 i386 Toolkit for RTMP streams (shared library) ii libswresample1:i386 10:2.6.8-dmo1 i386 FFmpeg audio rescaling library ii libswscale3:i386 10:2.6.8-dmo1 i386 FFmpeg video scaling library ii libutvideo15:i386 15.1.0-dmo2 i386 Ut Video Codec Suite library ii libwildmidi-config 0.3.7-1 all software MIDI player configuration ii libwildmidi1:i386 0.3.7-1 i386 software MIDI player library ii libx264-146:i386 3:0.146.2538+git121396c-dmo1 i386 x264 video coding library ii libx265-51:i386 1.6-dmo1 i386 x265 video coding library ii libxdmcp6:i386 1:1.1.1-1+b1 i386 X11 Display Manager Control Protocol library ii libxvidcore4:i386 3:1.3.3-dmo1 i386 High quality ISO MPEG4 codec library ii mplayer2 1:2.0~git20130903-dmo7 i386 Advanced general-purpose video player ii passwd 1:4.2-3+deb8u1 i386 change and administer password and group data ii policykit-1 0.105-8 i386 framework for managing administrative policies and privileges ii vdpau-va-driver:i386 0.7.4-dmo5 i386 VDPAU-based backend for VA API
A z racji tego, że często używam komputera w autobusie (dojeżdżam do pracy ok. 170 km w obie strony) więc chciałem skrócić do minimum czas ładowania systemu i przygotowania środowiska.
Czy ktoś może mi podpowiedzieć jak mogę włączyć autologowanie?
Pozdrawiam Konrad
P.S. Wiem, że ten wątek dotyczył Debian 7 i lxdm a u mnie jest Debian 8 na gdm3 ale wydaje mi się, że w samym logowaniu to nie powinno być dużej różnicy
Ostatnio edytowany przez s_konrad (2016-03-10 19:03:50)
Offline