You are not logged in.
If delete my .xinitrc then the default setup (xterm, xlock, twm) pops up and works fine. But using any .xinitrc, even just simply copying over /etc/skel/.xinitrc and adding in
exec xtermor copying over the default /etc/X11/xinit/xinitrc just makes the screen hang.
The odd part is that even though the screen only shows a blinking cursor on the top left. I can still see my mouse moving and from clicking around i can tell that its actually still using the default setup (/etc/X11/xinit/xinitrc) but theres no input to the screen.
Last edited by rasoran (2013-03-25 15:30:41)
Offline
exec isn't needed there just; xterm &
Offline
ok so trying that i get the same weird blank screen and cursor.
BUT.
this time when i navigate (with mouse) to the top left corner and press ctrl+d to exit, I actually went to the xterm!
So what is this mysterious intermediate black screen?
Offline
Can you post the complete .xinitrc?
Offline
cat .xinitrc
#!/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
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
xtermOffline
Try:
twm &
exec xterm
Edit: Your .xinitrc is only missing a window manager (twm is a window manager) ![]()
Last edited by digirium (2013-03-25 10:30:27)
Offline
The last entry in ~/.xinitrc should be the window manager. You can run an xterm-only-session by just putting the command xterm into an blank file. If you want to start also an windowmanager, you have to put commands into the background with "&" before running the windowmanager (without "&"!) or they musst terminate immediately, e. g. xsetroot for setting root-window-color.
Sorry for bad english.
Last edited by nifty (2013-03-25 10:53:39)
Offline
hm! it seems that it does indeed work. so my actual problem was with xmonad, not with xorg. thanks.
Offline