You are not logged in.
Pages: 1
Hi, my problem is that I can't login @ tty1 in console. After boot there stays bootup messages. Lightdm and X session runs in tty7 after a tiny modification of it's config file. I've got a "gettty@tty1.service" but it doen't start. And when I try run it manually after X session started up it does show login prompt on tty1, yes. But imidietly shuts down X session (kills lightdm.service) when I then "sudo systemctl start lightdm.service" it kills everything on tty1 and clears it (shows only blanking cursor - no imput so ever possible). "ps -ef | grep tty1" outputs only grep (before restart of lightdm there was working console with logined user).
lightdm.conf:
(...)
[LightDM]
(...)
minimum-vt=7
(...)
Output of some commands:
mateusz@tws ~ % systemctl status lightdm.service
● lightdm.service - Light Display Manager
Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled)
Active: active (running) since wto 2014-06-03 04:00:19 CEST; 11min ago
Docs: man:lightdm(1)
Main PID: 2806 (lightdm)
CGroup: /system.slice/lightdm.service
├─2806 /usr/bin/lightdm
└─2811 /usr/sbin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
cze 03 04:00:19 tws systemd[1]: Started Light Display Manager.
cze 03 04:00:21 tws lightdm[2825]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
cze 03 04:00:40 tws lightdm[2834]: pam_unix(lightdm:session): session opened for user mateusz by (uid=0)
mateusz@tws ~ % systemctl status getty@tty1.service
● getty@tty1.service - Getty on tty1
Loaded: loaded (/usr/lib/systemd/system/getty@.service; enabled)
Active: inactive (dead) since wto 2014-06-03 04:00:19 CEST; 12min ago
Docs: man:agetty(8)
man:systemd-getty-generator(8)
http://0pointer.de/blog/projects/serial-console.html
Main PID: 2554 (code=exited, status=0/SUCCESS)
cze 03 03:56:22 tws systemd[1]: Started Getty on tty1.
cze 03 03:56:39 tws login[2554]: pam_unix(login:session): session opened for user mateusz by LOGIN(uid=0)
cze 03 04:00:19 tws systemd[1]: Stopping Getty on tty1...
cze 03 04:00:19 tws systemd[1]: Stopped Getty on tty1.
mateusz@tws ~ % l /etc/systemd/system
razem 4
drwxr-xr-x 2 root root 30 2013-06-12 bluetooth.target.wants/
lrwxrwxrwx 1 root root 41 2013-06-12 dbus-org.bluez.service -> /usr/lib/systemd/system/bluetooth.service
lrwxrwxrwx 1 root root 46 2013-02-01 dbus-org.freedesktop.NetworkManager.service -> /usr/lib/systemd/system/NetworkManager.service
lrwxrwxrwx 1 root root 40 2012-11-09 default.target -> /usr/lib/systemd/system/graphical.target
lrwxrwxrwx 1 root root 39 03-22 16:52 display-manager.service -> /usr/lib/systemd/system/lightdm.service
drwxr-xr-x 2 root root 31 2012-11-08 getty.target.wants/
drwxr-xr-x 2 root root 4096 05-12 11:19 multi-user.target.wants/
drwxr-xr-x 2 root root 25 2013-02-09 printer.target.wants/
drwxr-xr-x 2 root root 24 2013-02-09 sockets.target.wants/
mateusz@tws ~ % l /etc/systemd/system/multi-user.target.wants
razem 0
lrwxrwxrwx 1 root root 33 2013-02-09 cups.path -> /usr/lib/systemd/system/cups.path
lrwxrwxrwx 1 root root 36 2013-02-09 dkms.service -> /usr/lib/systemd/system/dkms.service
lrwxrwxrwx 1 root root 35 2013-02-02 gpm.service -> /usr/lib/systemd/system/gpm.service
lrwxrwxrwx 1 root root 40 2013-01-31 libvirtd.service -> /usr/lib/systemd/system/libvirtd.service
lrwxrwxrwx 1 root root 38 2013-03-08 mysqld.service -> /usr/lib/systemd/system/mysqld.service
lrwxrwxrwx 1 root root 46 2013-04-30 net-auto-wired.service -> /usr/lib/systemd/system/net-auto-wired.service
lrwxrwxrwx 1 root root 38 2013-04-30 netcfg.service -> /usr/lib/systemd/system/netcfg.service
lrwxrwxrwx 1 root root 46 2013-02-01 NetworkManager.service -> /usr/lib/systemd/system/NetworkManager.service
lrwxrwxrwx 1 root root 51 04-13 09:11 remote-fs.target -> ../../../../usr/lib/systemd/system/remote-fs.target
lrwxrwxrwx 1 root root 37 03-22 19:42 samba.service -> /usr/lib/systemd/system/samba.service
lrwxrwxrwx 1 root root 36 2013-07-04 sshd.service -> /usr/lib/systemd/system/sshd.service
mateusz@tws ~ % l /etc/systemd/system/getty.target.wants
razem 0
lrwxrwxrwx 1 root root 38 2012-11-08 getty\@tty1.service -> /usr/lib/systemd/system/getty\@.service
mateusz@tws ~ % uname -a
Linux tws 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014 x86_64 GNU/Linux
mateusz@tws ~ % pacman -Ss systemd | grep zainstalowano
core/libsystemd 212-3 [zainstalowano]
core/netctl 1.7-1 (base) [zainstalowano]
core/systemd 212-3 [zainstalowano]
core/systemd-sysvcompat 212-3 (base) [zainstalowano]
multilib/lib32-systemd 212-1 [zainstalowano]
mateusz@tws ~ % pacman -Ss nvidia | grep zainstalowano
extra/libcl 1.1-3 [zainstalowano]
extra/libvdpau 0.7-1 [zainstalowano]
extra/nvidia 337.25-1 [zainstalowano]
extra/nvidia-libgl 337.25-1 [zainstalowano]
extra/nvidia-utils 337.25-1 [zainstalowano]
extra/opencl-nvidia 337.25-1 [zainstalowano]
community/cuda 6.0.37-2 [zainstalowano]
community/libxnvctrl 337.12-1 [zainstalowano]
multilib/lib32-libcl 1.1-1 [zainstalowano]
multilib/lib32-libvdpau 0.7-2 [zainstalowano]
multilib/lib32-nvidia-libgl 337.25-1 [zainstalowano]
multilib/lib32-nvidia-utils 337.25-1 [zainstalowano]
multilib/lib32-opencl-nvidia 337.25-1 [zainstalowano]
mateusz@tws ~ % lspci -vv -s 01:00.0
01:00.0 VGA compatible controller: NVIDIA Corporation G98M [GeForce 9300M GS] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. U6V laptop
Physical Slot: 16
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 49
Region 0: Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at fa000000 (64-bit, non-prefetchable) [size=32M]
Region 5: I/O ports at dc00 [size=128]
[virtual] Expansion ROM at f9f00000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia
mateusz@tws ~ % systemctl list-units | egrep -i "tty|login"
sys-devices-platform-serial8250-tty-ttyS0.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS0
sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
getty@tty2.service loaded active running Getty on tty2
getty@tty3.service loaded active running Getty on tty3
getty@tty4.service loaded active running Getty on tty4
getty@tty5.service loaded active running Getty on tty5
getty@tty6.service loaded active running Getty on tty6
systemd-logind.service loaded active running Login Service
system-getty.slice loaded active active system-getty.slice
getty.target loaded active active Login Prompts
mateusz@tws ~ % ps -au | grep tty
root 1799 0.0 0.0 10220 788 tty2 Ss+ 03:38 0:00 /sbin/agetty --noclear tty2 linux
root 2566 0.0 0.0 10220 792 tty3 Ss+ 03:56 0:00 /sbin/agetty --noclear tty3 linux
root 2568 0.0 0.0 10220 788 tty4 Ss+ 03:56 0:00 /sbin/agetty --noclear tty4 linux
root 2570 0.0 0.0 10220 796 tty5 Ss+ 03:56 0:00 /sbin/agetty --noclear tty5 linux
root 2572 0.0 0.0 10220 792 tty6 Ss+ 03:56 0:00 /sbin/agetty --noclear tty6 linux
root 2811 5.0 1.7 241260 71588 tty7 Ss+ 04:00 1:25 /usr/sbin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
mateusz 3632 0.0 0.0 13032 1100 pts/0 S+ 04:28 0:00 grep --color=auto tty
mateusz@tws ~ % systemctl status systemd-logind.service
● systemd-logind.service - Login Service
Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static)
Active: active (running) since wto 2014-06-03 00:55:57 CEST; 3h 33min ago
Docs: man:systemd-logind.service(8)
man:logind.conf(5)
http://www.freedesktop.org/wiki/Software/systemd/logind
http://www.freedesktop.org/wiki/Software/systemd/multiseat
Main PID: 386 (systemd-logind)
Status: "Processing requests..."
CGroup: /system.slice/systemd-logind.service
└─386 /usr/lib/systemd/systemd-logind
cze 03 03:35:20 tws systemd-logind[386]: New session c3 of user lightdm.
cze 03 03:35:23 tws systemd-logind[386]: Lid closed.
cze 03 03:37:53 tws systemd-logind[386]: Lid opened.
cze 03 03:38:24 tws systemd-logind[386]: New session c4 of user mateusz.
cze 03 03:56:22 tws systemd-logind[386]: Removed session c3.
cze 03 03:56:22 tws systemd-logind[386]: Removed session c4.
cze 03 03:56:39 tws systemd-logind[386]: New session c5 of user mateusz.
cze 03 04:00:19 tws systemd-logind[386]: Removed session c5.
cze 03 04:00:21 tws systemd-logind[386]: New session c6 of user lightdm.
cze 03 04:00:40 tws systemd-logind[386]: New session c7 of user mateusz.
mateusz@tws ~ % systemctl --full list-units | egrep -i "console"
systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch
console-kit-daemon.service loaded active running Console Manager
console-kit-log-system-start.service loaded active exited Console System Startup Logging
gpm.service loaded active running Virtual console mouse server
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
m
mateusz@tws ~ % systemctl status systemd-ask-password-console.service
● systemd-ask-password-console.service - Dispatch Password Requests to Console
Loaded: loaded (/usr/lib/systemd/system/systemd-ask-password-console.service; static)
Active: inactive (dead)
Docs: man:systemd-ask-password-console.service(8)
mateusz@tws ~ % systemctl status systemd-ask-password-console.path
● systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch
Loaded: loaded (/usr/lib/systemd/system/systemd-ask-password-console.path; static)
Active: active (waiting) since wto 2014-06-03 00:55:38 CEST; 3h 39min ago
Docs: man:systemd-ask-password-console.service(8)
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
I know, that not every of this information is needed to help me with solving my problem, but I give you prety much everything about my computer and enviroment. More then it's usually needed to know.
I'm using Linux OSes since 1998 (then RedHat Linux) and I'm expirenced and advanced Linux user, and I just want to have normal envirment, text virtual consoles from tty1 to tty6, X session starting from tty7 and if possible system messages at tty0 as it was always in default since Red Hat.
Last edited by cbvipmabcoya (2014-06-03 03:03:33)
Offline
Never mind. Solved by commenting:
mateusz@tws ~ % cat /etc/systemd/system/display-manager.service
[Unit]
Description=Light Display Manager
Documentation=man:lightdm(1)
#Conflicts=getty@tty1.service
After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service[Service]
ExecStart=/usr/bin/lightdm
Restart=always
IgnoreSIGPIPE=no
BusName=org.freedesktop.DisplayManager[Install]
Alias=display-manager.service
Last edited by cbvipmabcoya (2014-06-03 03:22:00)
Offline
Bold doesn't work in code blocks. If you really want to use things like bold, italics, underlines, etc (and the content of your code block isn't too substantial) just use a quote block instead.
Offline
@WonderWoofy: Thanks for the sugest.
Problem solved. And let it stay here if anyone in the future would face similar.
Offline
Threads don't typically get removed unless there is a reason to do so. So fear not, your thread will be here to help others for quite some time.
Offline
Threads don't typically get removed unless there is a reason to do so.
I don't like this thread. It has no cat pictures, it's disgusting. Pls remove it.
;-)
cbvipmabcoya, instead of 'pacman -Ss systemd | grep zainstalowano' and the like, use
pacman -Qs systemd
You can use 'expac' to tailor the output to your liking:
$ expac "%n - %v" -Qs systemd
libsystemd - 213-3
systemd - 213-3
systemd-sysvcompat - 213-3
If you're using testing repositories, the output of 'pacman -Ss systemd | grep installed' could get cluttered:
$ pacman -Ss systemd | grep installed
testing/libsystemd 213-3 [installed]
testing/systemd 213-3 [installed]
testing/systemd-sysvcompat 213-3 (base) [installed]
core/libsystemd 212-3 [installed: 213-3]
core/systemd 212-3 [installed: 213-3]
core/systemd-sysvcompat 212-3 (base) [installed: 213-3]
Adding a 'grep' may be necessary, as pacman searches not only names, but also package descriptions:
$ pacman -Qqs perl | grep -v perl
pcre
$ pacman -Qqs perl | grep -v perl
pcre
[test]$ pacman -Qi pcre
Name : pcre
Version : 8.35-1
Description : A library that implements Perl 5-style regular expressions
Architecture : i686
URL : http://www.pcre.org/
Licenses : BSD
Groups : None
Provides : None
Depends On : gcc-libs readline zlib bzip2 bash
Optional Deps : None
Required By : git glib2 grep less pkgfile the_silver_searcher
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 3343.00 KiB
Packager : Sébastien Luttringer <seblu@seblu.net>
Build Date : Sun 06 Apr 2014 11:28:56 PM CEST
Install Date : Mon 07 Apr 2014 12:21:21 AM CEST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
Run
LC_ALL=C <command>
to get the output in English. This way people don't have to guess what does 'zainstalowano' mean :-)
Offline
Pages: 1