Solved

XWINDOWS EVERYWHERE

Posted on 1998-01-08
2
266 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

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,…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

839 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