Linker IT Software
Google
Web www.oraxcel.com
menubar-top-links menubar-top-rechts
Home Help Search Login
Welcome, Guest. Please Login.
SQL*XL: Database to Excel bridge litLIB: Excel power functions pack ExcelLock: Locking and securing your valuable Excel spreadsheets encOffice: Protect your Excel file easy and safe encOffice: Protect your Excel file easy and safe
Pages: 1
Using X Terminal / X Windows (Read 9828 times)
Gerrit-Jan Linker
YaBB Administrator
*****




Posts: 75
Using X Terminal / X Windows
21.02.08 at 15:00:53
 
Using X Terminal / X Windows
 
To be able to use XTerminal you need to do the following:
 
export the DISPLAY environment variable:
export DISPLAY=machine:0.0
 
Then the X11 program can display any output.
 
Type the following command in X11: xhost +
 
Testing the XTerminal can be done by calling xclock. A clock should appear in X11.
Back to top
 
« Last Edit: 03.04.08 at 08:47:02 by Gerrit-Jan Linker »  

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Gerrit-Jan Linker
YaBB Administrator
*****




Posts: 75
Re: Using X Terminal / X Windows
Reply #1 - 05.04.08 at 22:46:45
 
For a free XWindows emulator for the PC / Windows you can use:
 
http://sourceforge.net/projects/xming
Back to top
 
 

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Gerrit-Jan Linker
YaBB Administrator
*****




Posts: 75
Re: Using X Terminal / X Windows
Reply #2 - 02.10.08 at 12:36:11
 
I found that on some machines the display variable should not be set at all. Unsetting the display variable may still have the effect that it is still stored elsewhere. The best option is to not initially set it in the shell profile - at least that worked for me.
 
If ssh is used to connect to a remote machine you may need to use the -Y option to tunnel the X windows information.
 
E.g.:
ssh -Y machine
Back to top
 
« Last Edit: 08.03.09 at 17:06:58 by Gerrit-Jan Linker »  

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Gerrit-Jan Linker
YaBB Administrator
*****




Posts: 75
X11 forwarding
Reply #3 - 02.10.10 at 13:16:15
 
X11 forwarding
 
To my experience X11 forwarding in ssh using the -Y flag works fine. You can even create a sequence of ssh connections and tunnel the X windows data from through all connections back to your workstation.
 
Consider the following example:
 
[theuser@myworkstation ~]$  
[theuser@myworkstation ~]$ ssh -Y theserver
theuser@theserver's password:  
Last login: Sat Oct 2 12:42:25 2010 from myworkstation
[theuser@theserver ~]$ ssh -Y the2ndserver
theuser@the2ndserver's password:  
[theuser@the2ndserver ~]$ xclock
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
[theuser@the2ndserver ~]$  

 
I don't know what the errors by xclock mean but the xclock application showed fine on the workstation (ubuntu)
Back to top
 
« Last Edit: 02.10.10 at 13:17:28 by Gerrit-Jan Linker »  

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Pages: 1