CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - Software Support
  Unwanted Terminal Session in Gnome dektop

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  DrewMoen
      DrewMoen
Unwanted Terminal Session in Gnome dektop
#1
Newbie
Joined: 2012/2/4
From
Posts: 2
I have installed CentOS V 6.0 and am current on all updates. After configuring VNCSERVER for 3 additional accounts, I get 4 unwanted auto spawned terminal session in the GNOME desktop. I am at a loss on how to research this. I have .vnc xstartups that look like this:

******************************** Begin xstartup *******************************************************
#!/bin/sh

vncconfig -iconic &
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
OS=`uname -s`
if [ $OS = 'Linux' ]; then
  case "$WINDOWMANAGER" in
    *gnome*)
      if [ -e /etc/SuSE-release ]; then
        PATH=$PATH:/opt/gnome/bin
        export PATH
      fi
      ;;
  esac
fi
if [ -x /etc/X11/xinit/xinitrc ]; then
  exec /etc/X11/xinit/xinitrc
fi
if [ -f /etc/X11/xinit/xinitrc ]; then
  exec sh /etc/X11/xinit/xinitrc
fi
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
"xstartup" [readonly] 26L, 575C                               1,1           Top
[Moderator edit: Added code tags to preserve formatting.]
********************************* End xstartup ***********************************************************************

Any Suggestions???
Posted on: 2012/2/4 3:09
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Unwanted Terminal Session in Gnome dektop
#2
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

For a start get rid of the two /etc/X11/xinit/xinitrc sections and see what is in $HOME/.Xresources
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/2/4 15:25
Create PDF from Post Print
Top
  •  MHouse
      MHouse
Re: Unwanted Terminal Session in Gnome dektop
#3
Newbie
Joined: 2012/2/8
From
Posts: 2
I had the same problem when moving to CentOS 6.

The /etc/X11/xinit/xinitrc sections seem fine. The issue had to do with the all of the autostart files tied in to Gnome. These can be globally modified in here: /etc/xdg/autostart/*. They can be individually and globally disabled by default for Gnome by adding this line at the end of each config file:

X-GNOME-Autostart-enabled=false
Posted on: 2012/2/8 15:34
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com