Simple display manager linux

Simple Desktop Display Manager (SDDM)

If you have any questions about the content on this page, don’t hesitate to open a new ticket and we’ll do our best to assist you.

Theming

sddm-greeter —test —theme /usr/share/sddm/themes/breeze/

Configuration

The variables in your theme’s theme.conf.user override those in theme.conf .

Video background

Make sure to add sddm user to the video group.
$ sudo gpasswd -a sddm video

User icons

For user avatars:
— Rename images as username.face.icon and place them in the folder
/usr/share/sddm/faces/

or:
— Edit /etc/sddm.conf and change the FaceDir setting.

or:
put a .face.icon file in your home directory
~/.face.icon

Logs

Log handling is one of the major shortcomings of sddm.
1) As can be seen by browsing sddm’s official bug tracker, a «black screen» is a common symptom that may be caused by a viarity of mis-configurations. The problem is that users are left, almost litterally, in the dark because there is no explicit log entry that may point the user in the right direction.
2) A «black screen» is itself a major useability issue. sddm should detect the failure to start the session and provide some visible feedback.
3) In some situations, errors that are supposed to be logged are not. See: Error did not get logged, issue #770: https://github.com/sddm/sddm/issues/770
4) Logs such as ~/.local/share/sddm/xorg-session.log do not include any timestamps, so it is harder to connect the occurence of a bug to specific log entries.

System settings

Simple things can be configured in KDE system settings > Workspace > Startup and shutdown > Login screen (SDDM).

You can change the background. Note that when selecting a new picture as background, the picture will be copied to the theme folder within /usr/share/sddm/themes/. Changing the picture again might leave the old copy of the previous picture in the theme’s directory. Pay attention when using videos as background, as it may lead to disk space issues!

Project Summary Status Priority Category Last updated Assigned to
Linux software sddm upgrade: missing logs and missing maui theme active normal bug report 6 years 21 weeks
Linux software sddm: Add screen locker active normal feature request 6 years 22 weeks
Linux software sddm: remember last user in tty active normal feature request 6 years 22 weeks
Linux software sddm: Image: Error decoding: file:video.mp4: Un… active normal bug report 6 years 21 weeks
Linux software sddm requires systemd to log errors active normal bug report 6 years 21 weeks
Linux software Support elogind as an alterantive session track… active normal feature request 6 years 21 weeks
Linux software sddm: unused tty do not expire active normal bug report 6 years 21 weeks
Linux software sddm breeze: user icons/avatars do not show active normal bug report 6 years 15 weeks
Читайте также:  Как перезапустить сетевой linux

Источник

Дисплейные менеджеры в дистрибутивах Linux

Поговорим про важную составляющую графического интерфейса дистрибутивов Linux — дисплейные менеджеры, менеджеры входа или логин-менеджеры. Расскажу про то, что это такое и какие популярные менеджеры доступны пользователям.

Что такое дисплейный менеджер?

Это графический экран, который встречает вас при входе в любой дистрибутив Линукс со средой рабочего стола и просит ввести логин и пароль. Их существует огромное множество, ровно также, как существует много сред рабочего стола. Практически все существующие дисплейные менеджеры имеют конфигурационные файлы и доступны для кастомизации.

Способы входа в дистрибутив Линукс

Использование графического дисплейного менеджера не является обязательным. В установленный дистрибутив вы можете настроить автовход, можете установить консольный дисплейный менеджер или входить при загрузке в консоль и оттуда стартовать среду рабочего стола (последний вариант вообще для фриков, но я знаю нескольких людей, которые входят в систему именно так). Основными преимуществами графического логин-менеджера является то, что это привычный большинству пользователям способ входа и то, что при таком входе можно менять среду рабочего стола (в случае, если вы используете одновременно несколько сред на одном дистрибутиве).

Популярные графические логин-менеджеры

Мы поговорим про графические менеджеры входа, их консольным вариантам будет посвящен отдельный пост. Каждый из перечисленных дисплейных менеджеров используется по-умолчанию в конкретных средах рабочего стола, но это не означает, что есть жесткая привязка логин-менеджера, среды рабочего стола и дистрибутива.

GDM (Gnome Display Manager или экранный менеджер GNOME)

Экранный менеджер встретит вас по-умолчанию при использовании среды рабочего стола GNOME. Помимо ввода логина и пароля пользователю доступна смена среды рабочего стола, смена графического сервера (в случае поддержки дистрибутивом и средой сервера Wayland) доступ к расширенным возможностям для ввода (экранная клавиатура, лупа), действия по работе с сеансом (спящий режим, перезагрузка, выключение).

Читайте также:  Linux поддержка java firefox

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

A Simple Display Manager for Linux/Unix, it will start a Xorg Server and log a user to run X Client or Greeter

License

thdaemon/mydm

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

A simple and lightweight display manager for Linux/Unix

Runtime dependent: Glibc, libX11

Compiling dependent: GNU Make, GCC or other c99-supported compilers, libX11-dev (optional), shell, etc.

cd path-to-mydm-src ./mkconfig.sh --enable-xsec make sudo make install 
  • On FreeBSD, you need use gmake instead of make . And if you do not want to install gcc, you can use FreeBSD clang compiler
 gmake CC="cc -I/usr/local/include" LDFLAGS="-lX11 -L/usr/local/lib" 

mydm has .tar.xz format binary archive and .deb format Debian Package. Go to the release page

For a simple example, start the Xfce4 desktop on display: 0, the 7th virtual console as a user foo

# mydm -d :0 -v vt7 -c startxfce4 -u foo -n 

Greeter mode and XSecurity please see below.

Some commonly used options

-d display Display name, default ':0' -v vt VT number, default 'vt7' -c program X client, e.g. 'xterm' -r program After run x client, will run it, but do not wait it to exit, default null -u(-l) username The user to login, default null (Not login) -n Do not use the su command of system (default used) -A Use MIT-MAGIC-COOKIE-1 XSecurity, See below! -g Use greeter mode (After session exited restart it), See below! -p pidfile Create and lock a pid file, default null -D Initialize mydm to a daemon process -S Let X client setsid before executable 

You can add the additional options to X server. e.g. -depth x, like this

mydm -d :0 -v vt7 -c startxfce4 -u foo -n -- -depth 24 

Register mydm as a system service and auto start

Читайте также:  Виртуальная windows for linux

For an LSB-supported initialization system, you can register mydm as a system service directly using the following command (as root)

mydm-service-install --target linux-lsb --default 

For the specific usage of the mydm-service-install utility, go to this Wiki

  1. Not Authority mydm can run X without XSecurity, and this is the default. It is NOT suitable for computers that have multiple users logged in at the same time. But for the personal computer and most of the embedded device is enough.
  2. Use MIT-MAGIC-COOKIE-1

Mydm supports greeter mode, you can use the -g option to activate the mode

# mydm -c /usr/lib/mydm/mydm-gtk-demo-greeter/mydm-gtk-demo-greeter -g 

On greeter mode, when a session exited, mydm will restart it.

So, greeter is usually a gui program, it created the login interface requires the user to enter the user name and password. I wrote a greeter demo, use gtk+, see here

To compile and install it, you can run these in top source directory

make gtk_greeter sudo make gtk_greeter_install 

Cross compiling and building packages

If you want to learn to cross compile this project or build a binary package, please see this Wiki

X Client can be set at runtime by cmdline, but you can set a default X client before build

If you do not set it, default X client will be set to ‘xterm’

./mkconfig.sh --enable-xsec --default-xclient=startxfce4 

Do not want to install libx11-dev (Linux only)?

Warning: it is not suggested! It is better if you install libx11-dev. And you can uninstall it after compiling.

When you compile mydm, libx11-dev may be needed because mydm use some headers of Xlib’s. But after compiling mydm, libx11-dev is not needed anymore.

And if you don’t want install to libx11-dev in compiling time, you can see this Wiki

About

A Simple Display Manager for Linux/Unix, it will start a Xorg Server and log a user to run X Client or Greeter

Источник

Оцените статью
Adblock
detector