You are not logged in.
I normally use a graphical login manager and when I log into dwm, there's no resolution problems. Although I want a little more customization with my session so I can have startup scripts and such, so I setup an xinitrc and ctrl+alt+F2, user, password, startx. From here I get everything I put in my xinitrc, but I do not get my correct monitor resolution (1920x1080). Is there any quick and easy fix to this?
Offline
If your display manager is running that resolution, every X session should start at that resolution too.
You should post your .xinitrc
How did you create your new user?
Jin, Jîyan, Azadî
Offline
Anything interesting in the logs, systemd's journal etc.?
I think OP uses the same user as with the login manager.
Offline
How much time it happens? have you reinstalled your arch?
Offline
If your display manager is running that resolution, every X session should start at that resolution too.
You should post your .xinitrc
How did you create your new user?
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi &
mpd &
#set wallpaper
feh --bg-tile ~/Downloads/up_feathers.png &
#set status
while true
do
xsetroot -name "♪ $(mpc | grep -) | $(date +%H:%M)"
sleep 60s
done &
#wm
exec dwm
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choiceOffline
you should read the wiki article on xorg especially the configuration and monitor setup sections. Perhaps one of xorg configuration files has the incorrect resolution setting. if not create one with the correct setting
Offline
When running DWM, what is the output of:
xrandr --queryYou should also answer the questions raised by @karol & @ilkyest
Jin, Jîyan, Azadî
Offline