You are not logged in.
Pages: 1
I dont know how explained my problem correctly, but i try
What I try to do?
Automaticaly login to my user and startx as normal user in this same tty(without display manager)
I did autologin(tty1), and startx too but X starts in different tty(tty2). And it MUST run in this same tty as login(tty1). I tried several ways: change logind.conf(NAutoVTs), and startx --:1 but this not working.
Any help?
Offline
I use 'startx' and it starts in the same tty.
Offline
For me not, and i dont know why.
Earlier it works, it broken when i do something with my graphic drivers, but probably its not relevant.
Offline
You must make sure that .xinitrc in your homefolder has the right command according to which window manager og complete desktop enviroment you use.
Use the Source, Luke!
Offline
Offline
I have read, but still dont know how this may help me. This is my output(is incorect):
$ loginctl show-session $XDG_SESSION_ID
Id=1
Timestamp=Wed 2013-11-20 19:44:33 CET
TimestampMonotonic=25714185
VTNr=1
TTY=tty1
Remote=no
Service=login
Scope=session-1.scope
Leader=1076
Audit=1
Type=tty
Class=user
Active=no
State=online
IdleHint=no
IdleSinceHint=1384973058461932
IdleSinceHintMonotonic=10556946
Name=xorgx3
Offline
This should contain Remote=no and Active=yes in the output.
You've got 'Active=no'.
Offline
Yes, I know but i dont know how fix this(in the wiki i didn't see how fix it).
Offline
Have you tried searching the forum for similar issues?
https://bbs.archlinux.org/viewtopic.php?id=157430
https://bbs.archlinux.org/viewtopic.php?id=168290
Post your logind.conf and the output of 'pgrep -c systemd-logind'.
Offline
logind.conf
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# See logind.conf(5) for details
[Login]
NAutoVTs=1
#ReserveVT=1
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=suspend
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#IdleAction=ignore
#IdleActionSec=30min
$ pgrep -c systemd-logind
1
Yes, i read this topics, but doesnt help.
EDIT:
Ok so my workaround is use
xinit -- vt1
instead of
startx
But why now startx runs X in different tty is a very good question and i havn't answer...
Last edited by xorgx3 (2013-11-20 21:46:14)
Offline
Pages: 1