You are not logged in.

#1 2015-01-05 18:46:17

Wind
Member
Registered: 2014-11-25
Posts: 17

startx low resolution problem

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

#2 2015-01-05 19:13:05

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: startx low resolution problem

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

#3 2015-01-05 20:10:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: startx low resolution problem

Anything interesting in the logs, systemd's journal etc.?

I think OP uses the same user as with the login manager.

Offline

#4 2015-01-06 00:19:18

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: startx low resolution problem

How much time it happens? have you reinstalled your arch?

Offline

#5 2015-01-06 01:55:37

Wind
Member
Registered: 2014-11-25
Posts: 17

Re: startx low resolution problem

Head_on_a_Stick wrote:

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 choice

Offline

#6 2015-01-07 15:38:57

singenbale
Member
Registered: 2010-10-01
Posts: 33

Re: startx low resolution problem

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

#7 2015-01-07 16:50:20

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: startx low resolution problem

When running DWM, what is the output of:

xrandr --query

You should also answer the questions raised by @karol & @ilkyest


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB