08-21-2005
Where Xorg X-Lock file is located in Solaris?
I am using Xorg server with Solaris 10.
After unnormal poweroff dtlogin tells: "The X-server can not be started on display :0"
I am absolutelly sure it is because there is still a X-lock file from the previouse X-session somewhere, but I do not know where is it located in Solaris!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all
I am using sun solaris 5.8. I wanna know where the value stored if we lock/unlock the terminal and how i can read and use it to my script. I am helpless . So plzzzzzz... (0 Replies)
Discussion started by: pankajarora_12
0 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have successfully copied a file from one server to another using following command.
user1@server1# scp test.jsp user2@server2:/home/
Now i want to delete that copied file(test.jsp) from "server2" by running some command from server1.
Please help... (1 Reply)
Discussion started by: SanketJOSHI
1 Replies
3. Shell Programming and Scripting
Hi,
I have successfully copied a file from one server to another using following command.
user1@server1# scp test.jsp user2@server2:/home/
Now i want to delete that copied file(test.jsp) from "server2" by running some command from server1.
Please help... (2 Replies)
Discussion started by: SanketJOSHI
2 Replies
4. Windows & DOS: Issues & Discussions
Hello All.
Really a newbie to Linux/Unix. Trying to get into Linux. Using XP PE currently. Installed cygwin and trying to intall cygwin-x. Everything else is setup nice but i can't seem to install these two packages (without whom xwin won't start)
1. xorg-x11-f100
2. xorg-x11-fnts
Tried the... (1 Reply)
Discussion started by: binodbdrchand
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
i want to know on which device a file is located
is there any command or anyway to know it
thanks
santosh (5 Replies)
Discussion started by: santosh149
5 Replies
6. Shell Programming and Scripting
Hi,
I have to determine which VALID users made a failed loggon attempts on our server.To make a long story short, I have isolated the list of all the usernames and number of attempts in one file, and have isolated the valid users who have made failed loggon attempts in another file. I now have... (2 Replies)
Discussion started by: mojoman
2 Replies
7. Solaris
Hi all,
I would like to know the dir location where all the source files for various file systems are located(not the compiled ones)?
I tried in /usr/src/uts , but thats as far as I can go.
After this i have the i86pc but there are no .c files anywhere.... (Impossible)
# find / -name *.c... (1 Reply)
Discussion started by: wrapster
1 Replies
8. Red Hat
Hello all,
If anyone has time, I have a few questions:
How do I do the following in Linux. We are using Red Hat and Oracle Enterprise Linux, which is based on Red Hat too.
1. How to lock the account after a few (like 3) invalid password attempts?
2. How do you lock a screen after 30... (1 Reply)
Discussion started by: nstarz
1 Replies
9. UNIX for Advanced & Expert Users
Hi all,
I have to test some user priviliges. The goal is to be sure that an unauthorized user can't restart some modules (ssh, mysql etc...).
I'm trying to automate it with a shell script but in same cases I got the syslog broadcast message.
Is there any way to simply get a return code... (3 Replies)
Discussion started by: Dedalus
3 Replies
10. Solaris
I've installed Solaris 10 on P4 machine but, I don't like the current desktop e.g. CDE & JDS so I'd like to replace these with fvwm that comes from sunfreeware packages.
It's on /opt/sfw.
Please give me the steps to configure and run Xorg & fvwm as we do on Linux (with other wms). (8 Replies)
Discussion started by: vectrum
8 Replies
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)