You are not logged in.

#1 2004-05-11 00:26:37

nkw
Member
Registered: 2004-03-26
Posts: 80

/etc/X11/xinit/xinitrc problem

No matter xfce4 or kde, i must keep the last

exec xterm -geometry 80x43+0 -name login (see the following code piece of the file)

to start x (kde or xfce4). And it will always show a login windows. and if i exit the window the whole X will exit too.

Any way to make it works like other distros?

....................
#twm &
#startxfce &
startkde &

#xclock -geometry 50x50-1+1 &
#xterm -geometry 80x50+494+51 &
#xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x43+0 -name login

Offline

#2 2004-05-11 09:00:24

Bobonov
Member
From: Roma - Italy
Registered: 2003-05-07
Posts: 295

Re: /etc/X11/xinit/xinitrc problem

The following is mine file, as you ca see the only difference is that there is not & after startkde, if I remember well & means that after there is another command /application to run. probably this is the reason is not working if you remove the last line.

Try just startkde and comment the last line

#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

# start some nice programs

startkde

#twm &
#xclock -geometry 50x50-1+1 &
##xterm -geometry 80x50+494+51 &
#xterm -geometry 80x20+494-0 &
#exec xterm -geometry 80x66+0+0 -name login

Offline

Board footer

Powered by FluxBB