startx by non-root user account in red hat linux kernel 2.6

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat startx by non-root user account in red hat linux kernel 2.6
# 1  
Old 02-03-2010
startx by non-root user account in red hat linux kernel 2.6

How can I use the command "startx" by other user account such as "oracle" ??
I cannot startx by user account oracle ??
How to fix it ???
Any adivce ???
I use red hat linux kernel 2.6
Code:
 
[oracle@localhost ~]$ startx

Fatal server error:
PAM authentication failed, cannot start X server.
        Perhaps you do not have console ownership?

Please consult the The X.Org Foundation support
         at http://wiki.X.Org
 for help.

[1]+  Stopped                 startx
[oracle@localhost ~]$

Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Red Hat

Control M user permissions on Red Hat Linux

All, Requirement: Permissions Required for Control M on Linux I am using the Linux as the operating system. I am told to get an user configured for Control M on Linux. The user would be an authenticated user created by the client. The user created requires permissions to be made available so... (2 Replies)
Discussion started by: Roadies99
2 Replies

2. Red Hat

Red hat 9 root directory

Hello , I recently decided to change from Red hat 9 OS to Fedora 14 but I wanted to copy all the files in the root directory to my usb . every time I copy the file and move them to my usb folder I get an error windows with permission denied warning , although I'm the only user and I... (3 Replies)
Discussion started by: lolypop
3 Replies

3. Virtualization and Cloud Computing

Red Hat Linux Serial Number using non-root user

Hi All, Is there any way to find out the Serial Numbers in Red Hat Linux machines with a non-root user? I know we can find using the dmidecode command, but it needs root privilege. I want to access this information using a non-root user. Any help will be greatly appreciated. :) Many... (2 Replies)
Discussion started by: vineetd
2 Replies

4. SuSE

ghost root disk on Red Hat Linux

I have been reading to no avail on how to create a root ghost disk. The purpose of this task is that prior to patching my linux servers, I would create a copy of my root disk to an empty disk for failback in the event that the patching has issues. I currently configured my root disk with 2... (2 Replies)
Discussion started by: gperez
2 Replies

5. UNIX for Dummies Questions & Answers

How to reactivate expired account in Linux as a root user

I am an administrator of a Red Hat Enterprise Linux system. Now one account expired. I wonder how to reactivate the account. Thanks (2 Replies)
Discussion started by: cy163
2 Replies

6. UNIX for Dummies Questions & Answers

Restricting the user *LINUX RED HAT*

Hats of to all the members for providing the detailed guidence to the newbe !! :o I am working on Red Hat LINUX plateform, where the number of users are more that 50. The problem I m facing is that all the user are opening the virtual terminals and leave it unattended for hours together and... (4 Replies)
Discussion started by: vakharia Mahesh
4 Replies
Login or Register to Ask a Question
STARTX(1)                                                     General Commands Manual                                                    STARTX(1)

NAME
startx - initialize an X session SYNOPSIS
startx [ [ client ] options ... ] [ -- [ server ] [ display ] options ... ] DESCRIPTION
The startx script is a front end to xinit(1) that provides a somewhat nicer user interface for running a single session of the X Window System. It is often run with no arguments. Arguments immediately following the startx command are used to start a client in the same manner as xinit(1). The special argument '--' marks the end of client arguments and the beginning of server options. It may be convenient to specify server options with startx to change on a per-session basis the default color depth, the server's notion of the number of dots-per-inch the display device presents, or take advantage of a different server layout, as permitted by the Xorg(1) server and specified in the xorg.conf(5) configuration. Some examples of specifying server arguments follow; consult the manual page for your X server to determine which arguments are legal. startx -- -depth 16 startx -- -dpi 100 startx -- -layout Multihead To determine the client to run, startx first looks for a file called .xinitrc in the user's home directory. If that is not found, it uses the file xinitrc in the xinit library directory. If command line client options are given, they override this behavior and revert to the xinit(1) behavior. To determine the server to run, startx first looks for a file called .xserverrc in the user's home directory. If that is not found, it uses the file xserverrc in the xinit library directory. If command line server options are given, they override this behavior and revert to the xinit(1) behavior. Users rarely need to provide a .xserverrc file. See the xinit(1) manual page for more details on the arguments. The system-wide xinitrc and xserverrc files are found in the /etc/X11/xinit directory. ENVIRONMENT VARIABLES
DISPLAY This variable gets set to the name of the display to which clients should connect. Note that this gets set, not read. XAUTHORITY This variable, if not already defined, gets set to $(HOME)/.Xauthority. This is to prevent the X server, if not given the -auth argument, from automatically setting up insecure host-based authentication for the local host. See the Xserver(1) and Xsecurity(7) manual pages for more information on X client/server authentication. FILES
$(HOME)/.xinitrc Client to run. Typically a shell script which runs many programs in the background. $(HOME)/.xserverrc Server to run. The default is X. /etc/X11/xinit/xinitrc Client to run if the user has no .xinitrc file. /etc/X11/xinit/xserverrc Server to run if the user has no .xserverrc file. SEE ALSO
xinit(1), X(7), Xserver(1), Xorg(1), xorg.conf(5) X Version 11 xinit 1.3.2 STARTX(1)