Witaj na Forum Linuxiarzy
Zanim zalogujesz się, by pisać na naszym forum, zapoznaj się z kilkoma zasadami savoir-vivre'u w dziale Administracja.
Wiadomości z problemami zamieszczone w wątku "Przywitaj się" oraz wszelkie reklamy na naszym forum będą usuwane.

Ostatnie wiadomości

#1
Arch / Odp: Jak usunąć ekran logowani...
Ostatnia wiadomość przez benton - Dzisiaj o 01:14:33 PM
Z tym lightdm to też mam czasem dziwne akcje, może jest zabugowany.
Gdy odpalam laptop bez monitora uruchamia się automatycznie, gdy podłączę monitor czasem zatrzymuje się na ekranie logowania i trzeba wpisać hasło.
Dość często uruchamia się z mniejszą rozdzielczością na zewnętrznym monitorze, muszę wyjąć przewód HDMI i ponownie włożyć. Nie wiem może muszę kupić nowszy przewód HDMI 2.2. Ewentualnie przejść na Slim.
#2
Sparky / Navigating Before Trial Procee...
Ostatnia wiadomość przez JeffreyMig - Dzisiaj o 02:20:30 AM
OVI laws within Ohio might be complicated, while it's crucial to have got a good understanding of themselves if you find yourself premiums. Driving below all influence of alcohol (DUI) was a grave law-breaking where can want significant consequences on your very own future. In Ohio, that the lawful limit for blood flow ethanol concentration (BAC) is 0.08% for greatest drivers so 0.04%  commercial driver.
 
If you'll be stopped by legal administration and accused of drunk driving charge, they may perform roadside temperance studies or chemical studies, this while breathalyser or bloodstream studies, to ascertain their level of impairment. Declining some tests can lead to computerized penalties, including driving license suspension.
 
dwi offenses in Ohio bring different penalties, based on factors fancy preceding judgment of conviction, BAC amount, and whether or not present seemed to be an auto accident or personal injury used. Repercussions might entail fines, license pause, imperative alcohol in the mouthwash cures services, probation, and equal penitentiary time. Regular crimes and worsened instances can cause more dreadful consequences.
 
Creating a knowledgeable DUI defensive strategy attorney is crucial to manage the difficulties of Ohio drunk driving statutes. They does analyze the facts, issue the lawfulness of the prevent, concern the clarity of investigations, and uncover potentially interested protections to help offset the charges. Also, an lawyer can advise you thru the eligible process, determining a good are secured and advocating for the most useful possible end.
 
Keep in mind, being told pertaining to Ohio's DUI laws and seeking the support of an practiced attorneys are important actions in easily approaching a DUI charge as well as saving all of your outlook.  theft crime lawyer
#3
Arch / Odp: Jak usunąć ekran logowani...
Ostatnia wiadomość przez robson75 - Lipiec 04, 2025, 11:39:14 PM
Nigdy nie używałem żadnych wynalazków typu lightdm-settings, tylko zawsze to robię manualnie według Wiki Archa i wszystko działa.
#4
Arch / Odp: Jak usunąć ekran logowani...
Ostatnia wiadomość przez pavbaranov - Lipiec 04, 2025, 04:36:51 PM
@ciubaka - Programy czytają pliki *.conf, *.config itd. itp., ale o istnieniu pliku *.config.save (przykład) nie mają pojęcia :) Zrób:
# mv lightdm.config lightdm.config.bak && cp lightdm.config.save lightdm.configi zrestartuj system, bądź samą usługe.
#5
Arch / Odp: Jak usunąć ekran logowani...
Ostatnia wiadomość przez ciubaka - Lipiec 04, 2025, 02:09:10 PM
Chyba sobie nie radzę :-(
Zmodyfikowałem lightdm.config według rady Kolegów Pawłów.
Podobnie trochę do tego co pisał Kolega Benton.
Zapisałem i wyszło 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
# dbus-service = True if LightDM provides a D-Bus service to control it
#
[LightDM]
#start-default-seat=true
#greeter-user=lightdm
#minimum-display-number=0
#minimum-vt=7 # Setting this to a value < 7 implies security issues, see FS#46799
#lock-memory=true
#user-authority-in-system-dir=false
#guest-account-script=guest-account
#logind-check-graphical=true
#log-directory=/var/log/lightdm
run-directory=/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=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
#backup-logs=true
#dbus-service=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 (local, xremote)
# 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)
# 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=local
#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=
#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=/etc/lightdm/Xsession
greeter-show-manual-login=false
autologin-user=ciubaka
#greeter-wrapper=
#guest-wrapper=
#display-setup-script=
#display-stopped-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
autologin-user=ciubaka
#autologin-user-timeout=0
#autologin-in-background=false
autologin-session=lightdm-xsession
#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
^0


^X




Zapisało się jako lightdm.config.save , czyli były dwa pliki konfiguracyjne.
Zamknąłem system i odpaliłem od nowa.
Nic, nadal logowanie z hasłem.
Przeniosłem więc plik pierwotny lightdm.conf poza system, zostawiając ten -save.
Zamknąłem i uruchomiłem archa ponownie.
Rozpacz.
Nadal strona logowania z hasłem, ale nie mogę wejść ani na usera, ani na roota.
Nie przyjmuje hasła.
Przywróciłem plik pierwotny.
Wszystko działa, ale z logowaniem hasłem.
Chyba jestem niepojętny jakiś, prawda?

EDIT.
Dodam tylko, że zmiany konfiguracyjne robiłem na tym drugim Seat, jak u Kolegi Bentona...
#6
Arch / Odp: Jak usunąć ekran logowani...
Ostatnia wiadomość przez pavbaranov - Lipiec 04, 2025, 08:41:39 AM
@ciubaka - W czym widzisz problem? Doprowadź swój wpis do tego, co podał Ci @paw w 8. Ma to dokładnie tak wyglądać. Usunięte "#" i dopisana nazwa Twojego usera, który ma być w autologin-user.
#7
Arch / Odp: Jak usunąć ekran logowani...
Ostatnia wiadomość przez ciubaka - Lipiec 03, 2025, 10:02:35 PM
ten config jest strasznie bogaty i we wpisy, i w haszki wszelakie :-(

[Seat:*]
#type=local
#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=
#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=/etc/lightdm/Xsession
greeter-show-manual-login=false
autologin-user=ciubaka
#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
#8
Arch / Odp: Jak usunąć ekran logowani...
Ostatnia wiadomość przez paw - Lipiec 03, 2025, 11:27:46 AM
Jesli xfce uzywa lightdm to wystarczy w lightdm.conf zmienic 2 opcje:
autologin-user=twoj-user
autologin-session=lightdm-xsession
#9
Arch / Odp: Jak usunąć ekran logowani...
Ostatnia wiadomość przez linux4ever - Lipiec 03, 2025, 11:00:42 AM
@ciubaka Użyj Vima lub Emacs uruchomisz któryś z nich jako root lub sudo albo su i zapiszesz konfiguracje.

Vima i Emacs uruchomisz w terminalu z nazwą pliku.

Przez sudo i su uruchomisz wszystko jako root z tym że kiedy używasz su jesteś cały czas zalogowany jako root.

Nano jest prosty ale nie tak dobry jak vim czy emacs w przypadku programów z terminala.

Co do exec startxfce4 tu wyjaśnienie:

https://forum.xfce.org/viewtopic.php?id=13210

I tu więcej a automatycznym zalogowaniu:https://wiki.archlinux.org/title/Xinit
#10
Arch / Odp: Jak usunąć ekran logowani...
Ostatnia wiadomość przez ciubaka - Lipiec 03, 2025, 09:21:22 AM
Ciężko mi to idzie na razie :-(
Chociaż wydawało się być proste metodą lightdm-settings.
Niby proste okienko, a dwie próby nieudane.
Za pierwszym razem wcale się nie mogłem zalogować do usera, ani autologiem, ani hasłem normalnie.
Odznaczałem tam ptaszka ręczne logowanie, dawałem w wersach poniżej żeby autologował na usera z opóźnieniem 5 sekund.
I nic, uratował mnie dopiero root, z którego to poprawiłem znowu na logowanie z hasłem z powrotem.
Za drugim razem podobnie, tylko dałem opóźnienie 0 sekund i wcale nie zareagowało, logowało normalnie z hasłem.
Jeśli zaś chodzi o zmiany w nano, to od razu konsola krzyczy że są niedopuszczalne i nie da się edytować.
Może to powinienem robić na koncie root? Albo z sudo przynajmniej?
Faktem jest że mam tam we  wierszu pustawo jakoś, bo "autologin-user=" i chciałoby się mnie dopisać.
Metoda Pawła też jest dla mnie chyba do ugryzienia, tylko w którym miejscu wpisać "exec startxfce4" ?

#!/bin/sh

prefix="/usr"
exec_prefix="${prefix}"
xrdb="xrdb"
xinitdir="/etc/X11/xinit"
xclock="xclock"
xterm="xterm"
twm="twm"
xmodmap="xmodmap"

userresources="$HOME/.Xresources"
usermodmap="$HOME/.Xmodmap"
sysresources="$xinitdir/.Xresources"
sysmodmap="$xinitdir/.Xmodmap"

# merge in defaults and keymaps

if [ -f "$sysresources" ]; then
    if [ -x /usr/bin/cpp ] ; then
        "$xrdb" -merge "$sysresources"
    else
        "$xrdb" -nocpp -merge "$sysresources"
    fi
fi

if [ -f "$sysmodmap" ]; then
    "$xmodmap" "$sysmodmap"
fi

if [ -f "$userresources" ]; then
    if [ -x /usr/bin/cpp ] ; then
        "$xrdb" -merge "$userresources"
    else
        "$xrdb" -nocpp -merge "$userresources"
    fi
fi

if [ -f "$usermodmap" ]; then
    "$xmodmap" "$usermodmap"
fi

# start some nice programs

if [ -d "$xinitdir"/xinitrc.d ] ; then
for f in "$xinitdir/xinitrc.d"/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi

"$twm" &
"$xclock" -geometry 50x50-1+1 &
"$xterm" -geometry 80x50+494+51 &
"$xterm" -geometry 80x20+494-0 &
exec "$xterm" -geometry 80x66+0+0 -name login

Zobacz najnowsze wiadomości na forum