Solved

Starting Xwindows

Posted on 1998-12-07
7
569 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Rebooted a CentOS 7 server and it wouldn't boot into the later Core version 5 104
ifconfig 4 91
error log using ftp 7 78
centos commands 6 89
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
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.…
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…
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.

761 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