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/.
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
https://wiki.debian.org/GDM
Offline
[quote=s_konrad]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[/quote]
Jest różnica i to wielka.
Zajrzyj do pliku [tt]/etc/gdm3/daemon.conf[/tt]
Offline
Zajrzałem i wolałbym się upewnić czy dobrze kojarzę, że powinienem odhashować ten fragment:
[daemon] # Enabling automatic login # AutomaticLoginEnable = true # AutomaticLogin = user1
no i zmienić wartośc true na false a wartośći user1 na mój login?
Ostatnio edytowany przez s_konrad (2016-03-10 19:16:39)
Offline
Ja nie używam gdm, ale opis jest jednoznaczny.
Offline
AutomaticLoginEnable = true AutomaticLogin = s_konrad
Oczywiście nazwa użytkownika taka jaki ma być logowany :)
Offline
Opis jest bardzo jasny, ale moje zmiany jakie wprowadziłem nie dały efektu.
[daemon] Enabling automatic login AutomaticLoginEnable = false AutomaticLogin = konrad
Czy tak miało to wyglądać? Nie wiem czy dobrze to ogarnąłem, a nie znam się na wielu sprawach jeszcze :(
Ostatnio edytowany przez s_konrad (2016-03-10 19:29:52)
Offline
Nie
Tak ma być
[daemon] #Enabling automatic login AutomaticLoginEnable = true AutomaticLogin = konrad
Offline
[b]ilin[/b] bardzo dziękuję, zadziałało. Teraz dopiero widzę, że za dużo odhashowałem i niepotrzebnie zmieniałem true na false.
Jeszcze raz dziękuję za pomoc.
Pozdrawiam Konrad
Offline
Mam Debiana z Mate. Podczas logowania muszę wpisać nazwę użytkownika i hasło - to i to ręcznie. Chcę ,żebym standardowo miał wybranego użytkownika "maciej" i nie musiał wpisywać nazwy usera tylko samo hasło do niego. Próbowałem zabawy z autologin-user=maciej ale loguje mnie wtedy automatycznie na usera:maciej bez prośby o podanie hasła.
Mój plik /etc/lightdm/lightdm.conf wygląda tak:
# # 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 # lock-memory = True to prevent memory from being paged to disk # 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 # logind-check-graphical = True to on start seats that are marked as graphical by logind # log-directory = Directory to log information to # run-directory = Directory to put running state in # cache-directory = Directory to cache to # sessions-directory = Directory to find sessions # remote-sessions-directory = Directory to find remote sessions # greeters-directory = Directory to find greeters # backup-logs = True to move add a .old suffix to old log files when opening new ones # [LightDM] #start-default-seat=true #greeter-user=lightdm #minimum-display-number=0 #minimum-vt=7 #lock-memory=true #user-authority-in-system-dir=false #guest-account-script=guest-account #logind-check-graphical=false #log-directory=/var/log/lightdm #run-directory=/var/run/lightdm #cache-directory=/var/cache/lightdm #sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions #remote-sessions-directory=/usr/share/lightdm/remote-sessions #greeters-directory=/usr/share/lightdm/greeters:/usr/share/xgreeters #backup-logs=true # # Seat configuration # # Seat configuration is matched against the seat name glob in the section, for example: # [Seat:*] matches all seats and is applied first. # [Seat:seat0] matches the seat named "seat0". # [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client". # # type = Seat type (xlocal, xremote, unity) # pam-service = PAM service to use for login # pam-autologin-service = PAM service to use for autologin # pam-greeter-service = PAM service to use for greeters # xserver-command = X server command to run (can also contain arguments e.g. X -special-option) # xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option) # xserver-config = Config file to pass to X server # xserver-layout = Layout to pass to X server # xserver-allow-tcp = True if TCP/IP connections are allowed to this X server # xserver-share = True if the X server is shared for both greeter and session # xserver-hostname = Hostname of X server (only for type=xremote) # xserver-display-number = Display number of X server (only for type=xremote) # 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) # unity-compositor-command = Unity compositor command to run (can also contain arguments e.g. unity-system-compositor -special-option) # unity-compositor-timeout = Number of seconds to wait for compositor to start # 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 # greeter-show-remote-login = True if the greeter should offer a remote login option # user-session = Session to load for users # allow-user-switching = True if allowed to switch 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 # greeter-wrapper = Wrapper script to run greeter with # guest-wrapper = Wrapper script to run guest sessions with # display-setup-script = Script to run when starting a greeter session (runs as root) # display-stopped-script = Script to run after stopping the display server (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) # autologin-in-background = True if autologin session should not be immediately activated # exit-on-failure = True if the daemon should exit if this seat fails # [Seat:*] #type=xlocal #pam-service=lightdm #pam-autologin-service=lightdm-autologin #pam-greeter-service=lightdm-greeter #xserver-command=X #xmir-command=Xmir #xserver-config= #xserver-layout= #xserver-allow-tcp=false #xserver-share=true #xserver-hostname= #xserver-display-number= #xdmcp-manager= #xdmcp-port=177 #xdmcp-key= #unity-compositor-command=unity-system-compositor #unity-compositor-timeout=60 #greeter-session=example-gtk-gnome #greeter-hide-users=false #greeter-allow-guest=true #greeter-show-manual-login=false #greeter-show-remote-login=true #user-session=default #allow-user-switching=true #allow-guest=true #guest-session= #session-wrapper=lightdm-session #greeter-wrapper= #guest-wrapper= #display-setup-script= #display-stopped-script= #greeter-setup-script= #session-setup-script= #session-cleanup-script= #autologin-guest=false #autologin-user= #autologin-user-timeout=0 #autologin-in-background=false #autologin-session= #exit-on-failure=false # # XDMCP Server configuration # # enabled = True if XDMCP connections should be allowed # port = UDP/IP port to listen for connections on # listen-address = Host/address to listen for XDMCP connections (use all addresses if not present) # key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf) # hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset) # # 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 #listen-address= #key= #hostname= # # VNC Server configuration # # enabled = True if VNC connections should be allowed # command = Command to run Xvnc server with # port = TCP/IP port to listen for connections on # listen-address = Host/address to listen for VNC connections (use all addresses if not present) # width = Width of display to use # height = Height of display to use # depth = Color depth of display to use # [VNCServer] #enabled=false #command=Xvnc #port=5900 #listen-address= #width=1024 #height=768 #depth=8
Offline
Na początek odkomentuj greeter-hide-users=false
Potem możesz się pobawić w users.conf w zakresie hiden-users.
Offline
Time (s) | Query |
---|---|
0.00012 | SET CHARSET latin2 |
0.00007 | SET NAMES latin2 |
0.00230 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.137.190.6' WHERE u.id=1 |
0.00077 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.137.190.6', 1732503588) |
0.00047 | SELECT * FROM punbb_online WHERE logged<1732503288 |
0.00076 | DELETE FROM punbb_online WHERE ident='54.36.149.89' |
0.00060 | DELETE FROM punbb_online WHERE ident='85.208.96.197' |
0.00051 | SELECT topic_id FROM punbb_posts WHERE id=259882 |
0.00005 | SELECT id FROM punbb_posts WHERE topic_id=23422 ORDER BY posted |
0.00045 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=23422 AND t.moved_to IS NULL |
0.00006 | SELECT search_for, replace_with FROM punbb_censoring |
0.00394 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=23422 ORDER BY p.id LIMIT 25,25 |
0.00053 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=23422 |
Total query time: 0.01063 s |