• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 274
  • Last Modified:

XWINDOWS EVERYWHERE

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
meyaps
Asked:
meyaps
1 Solution
 
ahoffmannCommented:
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
 
jhanceCommented:
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

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now