Mailinglist Archive: opensuse (626 mails)

< Previous Next >
Re: [opensuse] Login weirdness
  • From: Knurpht-openSUSE <knurpht@xxxxxxxxxxxx>
  • Date: Tue, 06 Nov 2018 02:04:43 +0100
  • Message-id: <3167717.741DFKEyxL@knurpht-hp>
Op dinsdag 6 november 2018 01:29:02 CET schreef Carlos E. R.:
On 05/11/2018 22.13, Michael Fischer wrote:
On Mon, Nov 05, Carlos E. R. wrote:
On 05/11/2018 21.37, Michael Fischer wrote:
On Mon, Nov 05, Liam Proven wrote:
...

Seems like it is trying to prompt me to log in well before the system is
properly up?

That is possible. Indeed, I suspect one of my machines has that issue as
well. The symptoms are different, though: the XFCE session does not
recover all items that were up on the previous session.

So what I do is log out without saving the session. Or crash the session
(ctrl-alt-bckspace twice), then login again. Alternatively, logi first
as a different user in gnome, exit, then as my user in xfce. Then I get
all the items back.

Hmm. As you might have guessed from my other thread, I'm using "runlevel
3"
and `startx`. (Here's to forced debugging using those..)

Ah, yes, startx. I forgot. :-)

And you have problems login in there, for a while, then it works? Very
strange.

And you have already replaced the /home disk? The old disk is
disconnected? I mean, the data cable removed?



Play with "systemd-analyze". Tab tab for options. Start with "blame".
Then "critical-chain". You may see what service, if any, is taking long
to start.

In Critical chain the '+' indicates how long a service takes to complete
start; and when this value does appear, it is that it takes long. Those
lines may show in red.

The multiuser target is started early, but many other services are
started later and take long to complete.
Have a look at this ( which is the same for Leap 15 and many other distros re.
the setuid of the X server )
knurpht@Knurpht-HP:~> startx
hostname: Name or service not known
xauth: file /home/knurpht/.serverauth.27924 does not exist


X.Org X Server 1.20.2
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux Knurpht-HP 4.18.15-1-default #1 SMP PREEMPT
Thu Oct 18 08:56:17 UTC 2018 (5a53676) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.18.15-1-default
root=UUID=11929e10-a254-4faa-b564-fd6b9511e847 splash=silent resume=/dev/disk/
by-uuid/3aa43b47-436c-4c56-a6e0-c07216d8ad6f quiet
Build Date: 15 October 2018 12:00:00PM

Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/knurpht/.local/share/xorg/Xorg.1.log", Time: Tue Nov 6
02:00:35 2018
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/home/knurpht/.local/share/xorg/Xorg.
1.log" for additional information.
(EE)
VGA Arbitration: Cannot restore default device.
(EE) Server terminated with error (1). Closing log file.


xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
-------------------------------------------------------------------------------------------
xinit failed. /usr/bin/Xorg is not setuid, maybe that's the reason?
If so either use a display manager (strongly recommended) or adjust /etc/
permissions.local and run "chkstat --system --set" afterwards
Couldn't get a file descriptor referring to the console
knurpht@Knurpht-HP:~>

Specially the last bits. Also read the recent articles of vulnerabilities in
changing this setuid setting.
--
Gertjan Lettink a.k.a. Knurpht
openSUSE Board Member
openSUSE Forums Team



--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups