LINUX.ORG.RU

Lightdm. Не стартует второй Х сервер.

 ,


0

3

Не получается при запуске стартовать два Х сервера. [ebuild R ~] x11-misc/lightdm-1.18.0::gentoo USE=«gtk introspection qt5 -audit -gnome -kde -qt4» 0 KiB

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.18.1, UID=0 PID=2668
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registered seat module xlocal
[+0.01s] DEBUG: Registered seat module xremote
[+0.01s] DEBUG: Registered seat module unity
[+0.04s] WARNING: Failed to get list of logind seats: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.fre$
[+0.04s] DEBUG: Adding default seat
[+0.04s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.04s] DEBUG: Seat seat0: Starting
[+0.04s] DEBUG: Seat seat0: Creating user session
[+0.59s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.59s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.59s] DEBUG: Seat seat0: Creating display server of type x
[+0.59s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.59s] DEBUG: Using VT 7
[+0.59s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.59s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.59s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
[+0.59s] DEBUG: DisplayServer x-0: Launching X Server
[+0.59s] DEBUG: Launching process 2708: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.59s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.59s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.60s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+1.67s] DEBUG: Got signal 10 from process 2708
[+1.67s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+1.67s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+1.67s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.67s] DEBUG: Session pid=2757: Started with service 'lightdm-autologin', username 'user'
[+1.68s] DEBUG: Session pid=2757: Authentication complete with return value 0: Success
[+1.68s] DEBUG: Seat seat0: Session authenticated, running command
[+1.68s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+1.68s] DEBUG: Session pid=2757: Running command /etc/lightdm/Xsession /usr/bin/startlxde
[+1.68s] DEBUG: Creating shared data directory /var/lib/lightdm-data/user
[+1.68s] DEBUG: Session pid=2757: Logging to .xsession-errors
[+1.76s] DEBUG: Activating VT 7
[+1.76s] DEBUG: Activating ConsoleKit session Gentoo-1461249461.84418-312797342
[+1.76s] WARNING: Error activating ConsoleKit session: GDBus.Error:org.freedesktop.ConsoleKit.Session.Error.AlreadyActive: Se$
# 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-load-seats = True to automatically set up multi-seat configuration from logind
# 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
#
[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-load-seats=false
#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
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
#greeters-directory=/usr/share/lightdm/greeters:/usr/share/xgreeters

#
# Seat defaults
#
# type = Seat type (xlocal, xremote)
# xdg-seat = Seat name to set pam_systemd XDG_SEAT variable and name to pass to X server
# 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)
# 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
# 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=/etc/lightdm/Xsession
# 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
#xdg-seat=seat0
#pam-service=lightdm
#pam-autologin-service=lightdm-autologin
#pam-greeter-service=lightdm-greeter
#xserver-command=X
#xserver-layout=
#xserver-config=
#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=/etc/lightdm/Xsession
#greeter-wrapper=
#guest-wrapper=
#display-setup-script= 
#display-stopped-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
autologin-user=user
autologin-user-timeout=0
#autologin-in-background=false
#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]
xserver-command=/usr/bin/X :0 vt7 -nolisten tcp

[Seat:1]
xserver-command=/usr/bin/X :1 vt8 -nolisten tcp

#[Seat:2]
#xserver-command=/usr/bin/X :2 vt9 -nolisten tcp

#
# 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
# command = Command to run Xvnc server with
# port = TCP/IP port to listen for connections on
# 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
#width=1024
#height=768
#depth=8

В чем может быть причина и как исправить?

Ответ на: комментарий от ns_ramesses

Lxde(openbox) запуск dbus прописан в rc-update(default) dm-tool lock не пробовал

ampermetr ()

Что используется в качестве системы инициализации: openrc или systemd? Покажи выхлоп emerge --info

The name org.fre$
$

Очень похоже на обрезку буфера строки при копировании, например из nano. Покажи полный лог.

Pinkbyte ★★★★★ ()
Ответ на: комментарий от Pinkbyte
user@Gentoo ~ $ sudo cat /var/log/lightdm/lightdm.log
Пароль: 
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.18.1, UID=0 PID=2668
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registered seat module xlocal
[+0.01s] DEBUG: Registered seat module xremote
[+0.01s] DEBUG: Registered seat module unity
[+0.04s] WARNING: Failed to get list of logind seats: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.login1 was not provided by any .service files
[+0.04s] DEBUG: Adding default seat
[+0.04s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.04s] DEBUG: Seat seat0: Starting
[+0.04s] DEBUG: Seat seat0: Creating user session
[+0.59s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.59s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.59s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+0.59s] DEBUG: Seat seat0: Creating display server of type x
[+0.59s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.59s] DEBUG: Using VT 7
[+0.59s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.59s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.59s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
[+0.59s] DEBUG: DisplayServer x-0: Launching X Server
[+0.59s] DEBUG: Launching process 2708: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.59s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.59s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.60s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+1.67s] DEBUG: Got signal 10 from process 2708
[+1.67s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+1.67s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+1.67s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.67s] DEBUG: Session pid=2757: Started with service 'lightdm-autologin', username 'user'
[+1.68s] DEBUG: Session pid=2757: Authentication complete with return value 0: Success
[+1.68s] DEBUG: Seat seat0: Session authenticated, running command
[+1.68s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+1.68s] DEBUG: Session pid=2757: Running command /etc/lightdm/Xsession /usr/bin/startlxde
[+1.68s] DEBUG: Creating shared data directory /var/lib/lightdm-data/user
[+1.68s] DEBUG: Session pid=2757: Logging to .xsession-errors
[+1.76s] DEBUG: Activating VT 7
[+1.76s] DEBUG: Activating ConsoleKit session Gentoo-1461249461.84418-312797342
[+1.76s] WARNING: Error activating ConsoleKit session: GDBus.Error:org.freedesktop.ConsoleKit.Session.Error.AlreadyActive: Session already active
user@Gentoo ~ $ 
ampermetr ()
Ответ на: комментарий от Pinkbyte

Только сейчас заметил первую часть сообщения. Используется OpenRc.

 
Gentoo user # emerge --info
!!! SYNC setting found in make.conf.
    This setting is Deprecated and no longer used.  Please ensure your 'sync-type' and 'sync-uri' are set correctly in /etc/portage/repos.conf/gentoo.conf
!!! Repository 'x-local' is missing masters attribute in '/usr/portage/local/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
WARNING: One or more repositories have missing repo_name entries:
	/usr/portage/local/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.

Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.5, glibc-2.22-r4, 4.4.1-gentoo x86_64)
================================================================
System uname: Linux-4.4.1-gentoo-x86_64-Intel-R-_Core-TM-_i3_CPU_560_@_3.33GHz-with-gentoo-2.2
KiB Mem:     8168004 total,     65272 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 16 Apr 2016 20:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.3.5-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.5::gentoo, 4.9.3::OSSDL
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

sabayon
    location: /var/lib/layman/sabayon
    masters: gentoo
    priority: 0

OSSDL
    location: /var/lib/layman/OSSDL
    masters: gentoo
    priority: 1

archenroot
    location: /var/lib/layman/archenroot
    masters: gentoo
    priority: 2

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    masters: gentoo
    priority: 3

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 4

x-local
    location: /usr/portage/local
    masters: gentoo
    priority: 5

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 6

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -g -ggdb3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -pipe -g -ggdb3"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org ftp://de-mirror.org/gentoo"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam fbcondecor firefox flac fortran gdbm gif glamor gpm gtk hal iconv ipv6 jpeg kde lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit polkit ppds qt3support qt5 readline sdl seccomp session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udi udisks unicode upower usb vorbis wxwidgets x264 xa xattr xcb xml xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="generic" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Gentoo user # 

ampermetr ()
Ответ на: комментарий от ampermetr

В итоге то решили проблему? А то такая же беда на арче))

BytEvil ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.