?
Solved

XWINDOWS EVERYWHERE

Posted on 1998-01-08
2
Medium Priority
?
271 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
[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
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 400 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

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). …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month14 days, 11 hours left to enroll

771 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