Re: XF864.0+Gnome+"root" xterm+my ignorance=??



On Fri, Mar 17, 2000 at 11:05:13AM +0100, Germano Rizzo wrote:
> Hi,
>  I've recently downloaded and installed the XFree86 4.0 binary distribution
> for Linux (glibc 2.1, I use a Mandrake 7 system); I managed to configure it
> without any trouble with XF86Config (and Vim... ;), but!
> 
>  It came with a startup script that started twm, of course (I refer to
> /etc/X11/xinit/xinitrc), and I tried to start Gnome just substituting the
> "gnome-session" command to the "twm" one, and now I have something like
> this...
> 
> --------------------(: start :)--------------------
> #!/bin/sh
> # $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws 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
> gnome-session&
> exec xterm -geometry 1x1+2000+2000 -name root
> --------------------): end :(--------------------
> 
>     ...that works, but... gnome starts with an xterm window called 'root' on
> the screen;if I try to close it, the X server exit, and if I delete the
> 'exec xterm...' line, it doesn't even start. I tried to specify that
> 2000+2000 stuff you see to make it appear out of the screen, but it doesn't
> seem to work, and what's worst of all, it doesn't appear ONE window, but
> many... while I'm writing, I have 3 of these 'root' xterm, but they could be
> also 10-12... I can kill them all but the last, so I guess they aren't
> necessary...

Change the line with gnome-session to 
exec gnome-session
and remove the exec xterm-line

/Erik
-- 
Erik Bågfors               | Center for Parallel Computers
http://erik.bagfors.nu/    | http://www.pdc.kth.se/
erik@bagfors.nu            | bagfors@pdc.kth.se  
Supporter of free software | GSM +46 70 398 54 43 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]