Solved

Starting Xwindows

Posted on 1998-12-07
7
565 Views
Last Modified: 2010-04-20
How do I start Xwindows or other programs from bash? Commands?
Sorry, I'm a complete beginner.
0
Comment
Question by:Lucret
7 Comments
 
LVL 1

Expert Comment

by:talwyn
ID: 1638734
You can use the command startx.

You will need to have configured Xwindows correctly before this will work.

           --Talwyn
0
 
LVL 1

Expert Comment

by:talwyn
ID: 1638735
You can use the command startx.

You will need to have configured Xwindows correctly before this will work.

           --Talwyn
0
 

Expert Comment

by:orchid2
ID: 1638736
What talwyn said is right.  To elaborate a bit:

"startx" is a script which runs "xinit".
"xinit" is a program which starts the "X server".
The X Server, usually called "X", is the program that creates
    a GUI environment on your computer that lets you run X Window
    programs, also called X clients.

It sounds a bit confusing but you'll get it after a bit of practice.  You may need to know this information if you want to control how X Windows behaves once you start it.  It is an extremly flexible tool.

To get more detailed information, try starting with:

man xinit
man X

If you are using Xfree86, the free X Windows that is often used with Linux, also try

man XFree86
man XF86Config (a configuration file controling certain
   aspects of X Windows)
man Xconfigurator (the program that makes an XF86Config
   file for you)

Also see http://www.xfree.org

Good Luck.

--orchid2
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 1

Author Comment

by:Lucret
ID: 1638737
Not enough detail for a complete beginner, of course if it was an ideal world it would work
0
 
LVL 1

Expert Comment

by:talwyn
ID: 1638738
See orchid's comment.  You do need to read a bit to make X work.
See the X how-to as well.

        --Talwyn
0
 
LVL 1

Expert Comment

by:talwyn
ID: 1638739
What other commands are you looking for? generally its the same as dos.... that is the command is the same as a given program.

               --Talwyn
0
 

Accepted Solution

by:
crestty earned 50 total points
ID: 1638740
1) you must have installed an Xserver , normaly it would be Xfree
2) then you want to select a good window manager., i suggest you go and look at
    www.thems.org and www.kde.org
    The two window managers i like is windowmaker and kde.
    (the window manager gives you the GUI look)
3) setup your Xserver
      run xf86config
      answer all the questions
4) test you X by typing -->startx
       
also try startx -- -bpp 16 this will Strat the X with 16 bit colour mode
while you are in the X you could use some HOT keys that are usefull.
a) to stop the X if it hangs or to quit it CNTRL+BACKSPACE
b) TO go back to the Shell --> LEFT_CNTRL+LEFT_ALT+F1
    F1 could be F2 F3 F4 F5,
c) one you are back at term mode not the GUI , you could go back to the
   GUI by pressing LEFT_CNTRL+LEFT_ALT+F7
d) to increase resolution LEFT_CNTRL+LEFT_ALT+Numeric_plus_key
e) to decrease resolution LEFT_CNTRL+LEFT_ALT+Numeric_minus_key

Before you could go any further you must have a working X.
If this fails then re-Run xf86config
if the command does NOT WORK look for it usinf the following command
find / -name xf86config -print
cd to that dir and type
/xf86config             NOTE:remember the        -->      ./

Take note if you type the wrong values your X will not work
if hangs try CNTRL+ALT+BackSAPCE to stop it.


Ok Now for a Nice window Manager

DEcide which one u like ,, the all provide you with step by step instructions.

If you dont come right ,,,
then i SUGGEST you DO some REading.
It is the only way you will LEARN Linux.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now