You are not logged in.

#1 2019-07-09 18:35:03

Ashish
Member
Registered: 2019-07-09
Posts: 8

What do these lines signify in .xsession-errors?

I recently looked into .xsession-errors in my home folder.
The following lines appear on top. I don't get what they mean and which script or program generates them.
m: -c: line 0: unexpected EOF while looking for matching `''
m: -c: line 1: syntax error: unexpected end of file
Can somebody help? I use lxqt as my desktop environment.

Offline

#2 2019-07-09 20:12:44

seth
Member
Registered: 2012-09-03
Posts: 51,270

Re: What do these lines signify in .xsession-errors?

There's a file w/ DOS linebreaks, inpossible to even guess which one w/o any context. Post the entire xsession-errors.
You could have caused this by editing some sourced config file w/ a windows grade editor (wine notepad etc)

Offline

#3 2019-07-20 17:00:03

Ashish
Member
Registered: 2019-07-09
Posts: 8

Re: What do these lines signify in .xsession-errors?

The entire .xsession_errors file-

m: -c: line 0: unexpected EOF while looking for matching `''
m: -c: line 1: syntax error: unexpected end of file
(0x7ffef48c6030) Debug: Detected "ETPS/2 Elantech Touchpad" on "/dev/input/event7"
(0x7ffef48c6030) Debug: Load settings for "ETPS/2 Elantech Touchpad"

Last edited by Ashish (2019-07-20 17:00:56)

Offline

#4 2019-07-20 19:23:16

cynicfm
Banned
From: Home
Registered: 2019-05-31
Posts: 96

Re: What do these lines signify in .xsession-errors?

well from what i think i can be sure off is that error is related to something with Xserver, perhaps .xinitrc???? or something similar?? smile


Have a good day

Offline

#5 2019-07-20 21:28:04

seth
Member
Registered: 2012-09-03
Posts: 51,270

Re: What do these lines signify in .xsession-errors?

No, it's not related to the X11 server, .xsession_errors is typically the STDERR for the X11 session, ie. your desktop and anything started from there. Other clients may randomly choose to write to it as well, the server writes into https://wiki.archlinux.org/index.php/Xorg#General

@Ashish - that's unfortunately not much. The error comes from a shell script (or a file sourced by a shell script) that has CRLF newlines. If you can't think of a file (again, you touched it with a windows degree editor), you'll either have to setup an audit rule, https://wiki.archlinux.org/index.php/Audit_framework or grep the entire disk (though it's probably in your $HOME) for those bytes, https://stackoverflow.com/questions/738 … ep-on-linu

Offline

Board footer

Powered by FluxBB