11-09-2002
Type startx
That will start the Xserver. If you want the gui to start when you start the machine, you'll have to edit this line in you /etc/inittab file: id:x:initdefault:
Change whatever x is in the above line to 5, so the new line would read:
id:5:initdefault:
Be very careful. DO NOT CHANGE IT TO 6.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to install a Linux LFS server. I have not been able to figure out how to get the GUI to load up. I'm not even sure if it has been installed. Any information would be greatly appreciatted. (2 Replies)
Discussion started by: tlcrowder
2 Replies
2. UNIX Desktop Questions & Answers
I want one that won't run too slugish on a slower system (p 200Mhz for example). I know kde is out, anybody think gnome will run ok (I got 128 megs ram on it btw...don't ask :))? (5 Replies)
Discussion started by: pudad
5 Replies
3. UNIX Desktop Questions & Answers
I got Linux 9 installed on my system with the GUI.
One fine day....the GUI wouldn't start.
How should i set it right? (2 Replies)
Discussion started by: preeya
2 Replies
4. Red Hat
hi,
Can someone help in trouble shooting why my RedHat linux 8.0 in not logging into the KDE screen.
Thanks (1 Reply)
Discussion started by: kayode
1 Replies
5. Red Hat
hi
Recently the above option has stopped working all together. On clicking on this option it appears as though the window will open as the outline of the box appears but nothing more.
On running this from a command prompt within the GUI , I get the following error:
The last line... (0 Replies)
Discussion started by: timcs
0 Replies
6. Programming
Hello, I want know about building a product on Sun solaris and Redhat Linux.
Product would contain C,C++, Java, UNIX Shell scripts and so on. It will not be a client server programme.
Thanks!
Shafi (5 Replies)
Discussion started by: shafi2all
5 Replies
7. UNIX for Dummies Questions & Answers
I want to execute from a grub a very small linux that only has commands, so at startup it executes this shell script I wrote and after that the user has an option to go back to the grub.
I've heard of busybox but that doesn't seem to be helpful?
Can anyone recommend a non gui distro, that can... (1 Reply)
Discussion started by: jcnewton13
1 Replies
8. Red Hat
hi all
i have installed Windows 7 first. then i installed linux on dual partations...
i am booting both of them through dual boot... but when i start linux its only working well with CUI, when i used commands like startx or changed the initd to 5 then its loading the GUI interface of RedHat... (9 Replies)
Discussion started by: Nikhil Dethe
9 Replies
9. Red Hat
what is the difference between Redhat Linux and Redhat Enterprise Linux. whereas Redhat linux have Server installation options too. (2 Replies)
Discussion started by: hananabbas
2 Replies
10. Red Hat
Hi Guys
Required help in Redhat 6.1.
After installation of Redhat 6.1 in VMware system is not going in GUI mode.
please to solve the issue...
Thanks... (5 Replies)
Discussion started by: deviltech
5 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)