Solved

XWINDOWS EVERYWHERE

Posted on 1998-01-08
2
262 Views
Last Modified: 2013-12-15
I installed xwindows on the server, the one on which the linux OS was
installed. I able to acceess Xwindows only on that machine that too
only as root. What should I do to access it from all the other terminals.
0
Comment
Question by:meyaps
2 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1631198
if your users cannot "access" X Windows, they probably have not set their PATH appropriate.

Could you please explain what they (the users) want to do.
0
 
LVL 32

Accepted Solution

by:
jhance earned 100 total points
ID: 1631199
To have a linux (or really any host) display an X application on your local X-Terminal, you need to be sure that the DISPLAY environment variable is set to the current display terminal.  For example, if you are logging in from a terminal called fred which has an IP address of 192.168.0.10, you would set the DISPLAY environment variable as follows (assumes CSHELL):

setenv DISPLAY fred:0.0
-or-
setenv DISPLAY 192.168.0.10:0.0

You can also set the display from the command line of many apps.  For instance to run an xterm:

xterm -display fred:0.0 &

Remember, if your X Terminal is a computer, you may need to run the command:

xhost +

to allow a remote computer to create an X windows on it's display.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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.

786 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