Keep in mind I'm fairly new to GNU/Linux and I've decided to try out Debian for it's history. I've been able to set the screen resolution to 1600x900 (which is what I need), however I haven't been able to find a way to save those settings. For example, I don't have "xorg.conf" nor "xorg.conf.d", I can't even configure it because it says I'm already running X server. I'm pretty sure there is other ways to do this, but most info I find seems vague as to how-to things.
Edit: I'm now able to set the resolution to "1600x900_60.00" each time I get into Debian but manually. I've created a new "xorg.conf" file manually, adding a "naked" screen section, but it seems that it didn't work so I also checked the "/var/log/Xorg.0.log" file to see what went wrong and this is the output:
[ 2969.964] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
[ 2969.964] _XSERVTransMakeAllCOTSServerListeners: server already running
[ 2969.964] (EE) Fatal server error:
[ 2969.964] (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
[ 2969.964] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help.
[ 2969.964] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 2969.964] (EE)
[ 2969.964] (EE) Server terminated with error (1). Closing log file.
I still gotta try the ".xinitrc" method.
.xinitrc
may or may not get executed... – dirkt Aug 25 '17 at 05:42.xinitrc
is not executed, create a symbolic link from it called.xsession
. It's usually executed when logging in through a graphical login screen (such as XDM or GDM). – Kusalananda Aug 25 '17 at 06:02