You are not logged in.

#1 2021-04-23 05:43:34

PqndqDX
Member
Registered: 2021-04-23
Posts: 26

[SOLVED]Failed to start Xorg[SOLVED]

Hello everyone!
Until yesterday was normal, nothing problem, but now I get blackout after log in.
when I startx from terminal, get this erorr
/xxxx/xx/username/.xinitrc: line 55: exec: xterm: not found
/xxxx/xx/username/.xinitrc: line 54: exec: xterm: not found
/xxxx/xx/username/.xinitrc: line 53: exec: xterm: not found
then, I thought I need to install xterm. after install that, PC freezes with startx. could someone suggest Idea how can I solve this problem? or have to new Install?
thnk you for reading

Last edited by PqndqDX (2021-04-30 20:13:51)

Offline

#2 2021-04-24 14:07:27

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: [SOLVED]Failed to start Xorg[SOLVED]

Read https://wiki.archlinux.org/index.php/Xinit again, and follow the instructions there, especially those in the "Configuration" section.
After doing that and if you still have problems, you could post your ~/.xinitrc file.

Offline

#3 2021-04-24 22:09:12

PqndqDX
Member
Registered: 2021-04-23
Posts: 26

Re: [SOLVED]Failed to start Xorg[SOLVED]

thank you for your repy paulkerry. I have tried with xinit wiki but still have same problem... hmmm.
I post here xinitrc file.

from /etc/X11/xinit/xinitrc, not from local.

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login

I wanted to copy Xorg.log but I didnt know how. I list up here with "EE"
:Failed to lord module "ati"
:Failed to lord module "fbdev"
:Failed to lord module "vesa"
:XF86OpenConsole: Cannot openvirtualconsole 1 (Permission denied)

thank you

Offline

#4 2021-04-24 22:34:49

loqs
Member
Registered: 2014-03-06
Posts: 19,015

Re: [SOLVED]Failed to start Xorg[SOLVED]

What packages did you install after reading the link paulkerry provided?  See the tip box from pastebin to post the log from the console.

Offline

#5 2021-04-24 23:45:35

PqndqDX
Member
Registered: 2021-04-23
Posts: 26

Re: [SOLVED]Failed to start Xorg[SOLVED]

I installed xterm and reinstalled xorg-server.
now I can't use PC. its in roomates workroom where only room I can get wired connection. I'll post log tomorrow here!

Last edited by PqndqDX (2021-04-25 00:07:14)

Offline

#6 2021-04-25 18:46:13

PqndqDX
Member
Registered: 2021-04-23
Posts: 26

Re: [SOLVED]Failed to start Xorg[SOLVED]

here is Xorg.log which from home directory/.local/share/xorg/

http://ix.io/38Vp

thank you

Offline

#7 2021-04-25 18:53:12

loqs
Member
Registered: 2014-03-06
Posts: 19,015

Re: [SOLVED]Failed to start Xorg[SOLVED]

How did you login to your user?

[   118.644] (EE) xf86OpenConsole: Cannot open virtual console 1 (Permission denied)

Is commonly caused by logging in as root then using sudo to change to the none root user then using startx / xinit rather than logging in as the none root user and using startx / xinit.

Offline

#8 2021-04-25 21:44:05

PqndqDX
Member
Registered: 2021-04-23
Posts: 26

Re: [SOLVED]Failed to start Xorg[SOLVED]

I login with terminal. from gui I will get a black window

Offline

#9 2021-04-25 22:09:14

loqs
Member
Registered: 2014-03-06
Posts: 19,015

Re: [SOLVED]Failed to start Xorg[SOLVED]

You log into tty1 as quenta and run startx and it produces the log in post #6?

Offline

#10 2021-04-25 22:23:16

PqndqDX
Member
Registered: 2021-04-23
Posts: 26

Re: [SOLVED]Failed to start Xorg[SOLVED]

yes, and monitor looks like that
https://imgur.com/eZXEQX9

Offline

#11 2021-04-25 22:31:24

loqs
Member
Registered: 2014-03-06
Posts: 19,015

Re: [SOLVED]Failed to start Xorg[SOLVED]

The log from post #6 ends with

[   118.644] (EE) Server terminated with error (1). Closing log file.

.
The screenshot in post #9 shows a functioning X server.  X may not be configured as you want it to be but that it not the same as X failing to start.
You need to change .xinitrc if you want something else to be started.

Offline

#12 2021-04-26 00:57:35

PqndqDX
Member
Registered: 2021-04-23
Posts: 26

Re: [SOLVED]Failed to start Xorg[SOLVED]

Sorry I missunderstood and wrong explained. the log which I posted, this is a log when I login from Display manager. after login I get complete black monitor and nothing I can do with it

Last edited by PqndqDX (2021-04-26 01:25:18)

Offline

#13 2021-04-26 03:08:36

loqs
Member
Registered: 2014-03-06
Posts: 19,015

Re: [SOLVED]Failed to start Xorg[SOLVED]

What display manager?  How is the display manager configured?  Have you tried changing to a different terminal from the black screen?  For example Ctrl + Alt + F2.
Please post the journal for the display manager service for one boot that produced a black screen.

Offline

#14 2021-04-26 06:33:22

oyvindsk
Member
Registered: 2021-04-26
Posts: 4

Re: [SOLVED]Failed to start Xorg[SOLVED]

Might or might not be related, but I failed starting Xorg or KDE (not sure which) today, after upgrading all my packages. Haven't upgraded in a couple of weeks, and the install is a few years old.

Anyway, removing the proprietary nvidia package, and rebooting, fixed it for me. 

Obliviously not a real fix, but if you have it and don't need id:

 pacman -R nvidia 

: )

Offline

#15 2021-04-26 07:36:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,523

Re: [SOLVED]Failed to start Xorg[SOLVED]

He's got some radeon chip, the problem is not the 465xx nvidia driver (you don't have to remove the driver, just downgrade to 460xx via dkms, look at some recent forum posts)

Offline

#16 2021-04-26 14:05:54

oyvindsk
Member
Registered: 2021-04-26
Posts: 4

Re: [SOLVED]Failed to start Xorg[SOLVED]

Yeah you're right. Sorry for the noise.

Offline

#17 2021-04-26 15:17:12

PqndqDX
Member
Registered: 2021-04-23
Posts: 26

Re: [SOLVED]Failed to start Xorg[SOLVED]

I appreciate a lot of answers to my post.

loqs:
I'm using sddm for display manager.  I  can open terminal with Ctrl + Alt + F3(tty3). with F2 shows up gui sddm. when I log in from sddm will be black screen and I can't open terminal, I have to shut down with power button. from terminal(tty3) when I startx, will be like this https://imgur.com/eZXEQX9. I can't post journal from Black screen, here is from tty3 journal http://ix.io/3c4E

oyvindsk and seth:
yes I have an amd video card. I tried downgrade mesa via pacman but still same...

Last edited by PqndqDX (2021-04-26 15:22:36)

Offline

#18 2021-04-26 15:23:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,523

Re: [SOLVED]Failed to start Xorg[SOLVED]

The log in #6 is for a rootless server, that's unlikely generated by SDDM, the startx result is "as expected" for that xinitrc (fvwm and some xterms)
What session do you try to start from SDDM? KDE?
Can you run an openbox session from SDDM?

Offline

#19 2021-04-26 15:38:06

PqndqDX
Member
Registered: 2021-04-23
Posts: 26

Re: [SOLVED]Failed to start Xorg[SOLVED]

yep KDE. I try with openbox now

Offline

#20 2021-04-26 16:03:49

PqndqDX
Member
Registered: 2021-04-23
Posts: 26

Re: [SOLVED]Failed to start Xorg[SOLVED]

from left bellow of SDDM, I can choose KDE/Openbox, Openbox and Plasma(X11). KDE/Openbox and Plasma(X11) will be blackout, Openbox will be gray with mouse cursor.

Offline

#21 2021-04-26 16:05:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,523

Re: [SOLVED]Failed to start Xorg[SOLVED]

"gray with mouse cursor." sounds ok, do you have a rightclick menu?

Seems like the plasma session is broken, please post a complete system journal ("sudo journalctl -b" - after failing to log into plasma)

Offline

#22 2021-04-26 16:50:02

PqndqDX
Member
Registered: 2021-04-23
Posts: 26

Re: [SOLVED]Failed to start Xorg[SOLVED]

yes I have rightclick!
here is output from journal. I hope I'm doing right.
http://ix.io/3ctw

Offline

#23 2021-04-26 17:04:18

loqs
Member
Registered: 2014-03-06
Posts: 19,015

Re: [SOLVED]Failed to start Xorg[SOLVED]

Apr 26 18:41:51 T-90Q sudo[869]:    qenta : TTY=pts/0 ; PWD=/mnt/Data/home/qenta ; USER=root ; COMMAND=/usr/bin/journalctl -b --since=2021-04-26 18:38:00

The system journal is not retrieved even when using `sudo journalctl -b`.  Possibly connected to the none standard home directory location.

Offline

#24 2021-04-26 17:41:49

PqndqDX
Member
Registered: 2021-04-23
Posts: 26

Re: [SOLVED]Failed to start Xorg[SOLVED]

oh sorry.
here it ishttp://ix.io/3cC7

Offline

#25 2021-04-26 18:54:46

loqs
Member
Registered: 2014-03-06
Posts: 19,015

Re: [SOLVED]Failed to start Xorg[SOLVED]

What is the output of

pacman -Qo /usr/share/sddm/themes/Orchis/

Offline

Board footer

Powered by FluxBB