Solved

Starting Xwindows

Posted on 1998-12-07
7
564 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
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.

707 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

14 Experts available now in Live!

Get 1:1 Help Now