You are not logged in.
Pages: 1
I wanted to start gnome-session with startx instead of gdm (memory leaks issues). I write that on my .xinitrc but when i issue the startx command it boots with a xterm terminal into gnome and stays there.
My .xinitrc:
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/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
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
#exec cinnamon-session &
exec gnome-session &
#exec startxfce4 &
#exec compton -b &
#exec compiz --replace
#twm &
#xclock -geometry 50x50-1+1 &
#xterm -geometry 80x50+494+51 &
#xterm -geometry 80x20+494-0 &
xterm -geometry 80x66+0+0 -name loginI tried to remove the uncommented xterm line but startx don't even works if i do that so i'm assuming that he boots gnome-session from xterm. So my question is how to remove or hide in background that xterm terminal?
Last edited by CyberNhull (2017-03-31 14:28:57)
If it does not kill you....It will make you smarter
Offline
comment the xterm and do not fork the gnome-session call?
Offline
comment the xterm and do not fork the gnome-session call?
Yup.....I'm an idiot. Thanks ![]()
If it does not kill you....It will make you smarter
Offline
Pages: 1