Solved

XWINDOWS EVERYWHERE

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
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.:
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…

867 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

22 Experts available now in Live!

Get 1:1 Help Now