Solved

Starting Xwindows

Posted on 1998-12-07
7
567 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Determine Who is Runnig my Bash Shell Script 4 80
nagios remote hosts 9 56
Why isn't object file created? 6 58
Rate limit for DNS queries 7 75
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 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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

773 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