Solved

Starting Xwindows

Posted on 1998-12-07
7
568 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

808 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