یوزر root مشکلی نداره ولی تو فایلاش xinitrc.نبود تنها چیزی که پیدا کردم این بودetc/x11/xinit/xinitrc/که داخل پوشه oracle کپی کردم
تعریف یوزر و گروهم این بودن
کد:
groupadd -g 5250 oinstall
groupadd -g 5251 dba
groupadd -g 5252 oper
useradd -u 5250 -g oinstall -G dba,oper oracle
برا همین نوشتم
کد:
chown oracle:dba /home/oracle/xinitrc
وقتی با oracle لاگین کردم باز همون صفحه اومد startx نوشتم طبق معمول نوشت
کد:
bash : startx:command not found
محتویاتش اینه
کد:
#!/bin/sh
# Copyright (C) 1999 - 2005 Red Hat, Inc. All rights reserved. This
# copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the
# GNU General Public License version 2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# Authors:
# Mike A. Harris <mharris@redhat.com>
# Mandatorily source xinitrc-common, which is common code shared between the
# Xsession and xinitrc scripts which has been factored out to avoid duplication
. /etc/X11/xinit/xinitrc-common
# The user may have their own clients they want to run. If they don't,
# fall back to system defaults.
if [ -f $HOME/.Xclients ]; then
exec $SSH_AGENT $DBUS_LAUNCH $HOME/.Xclients || \
exec $SSH_AGENT $HOME/.Xclients
elif [ -f /etc/X11/xinit/Xclients ]; then
exec $SSH_AGENT $DBUS_LAUNCH /etc/X11/xinit/Xclients || \
exec $SSH_AGENT /etc/X11/xinit/Xclients
else
# Failsafe settings. Although we should never get here
# (we provide fallbacks in Xclients as well) it can't hurt.
[ -x /usr/bin/xsetroot ] && /usr/bin/xsetroot -solid '#222E45'
[ -x /usr/bin/xclock ] && /usr/bin/xclock -geometry 100x100-5+5 &
[ -x /usr/bin/xterm ] && xterm -geometry 80x50-50+150 &
[ -x /usr/bin/twm ] && /usr/bin/twm
fi
همون فایلیه که شما میگین؟