User Tools

Site Tools


other:x_conf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
other:x_conf [2022/08/08 15:41]
jypeter [Nothing works!] Added error messages examples
other:x_conf [2022/08/09 08:53]
jypeter [Using an X server on Linux]
Line 3: Line 3:
 ===== What is an X server? ===== ===== What is an X server? =====
  
-An //X server// is not a server for distributing your perfect models output!+  * An //X server// ​**is not** a server for distributing your perfect models output!
  
-An //X server// is basically a program running on your local computer that understands the [[https://​en.wikipedia.org/​wiki/​X_Window_System_core_protocol|X Windows System protocol]] used by **remote ​Linux servers** to generate graphics, and that can //render// (i.e. display) the graphics generated remotely on your **local ​computer**.+  * An //X server// ​**is** basically a program running on your **local** computer that understands the [[https://​en.wikipedia.org/​wiki/​X_Window_System_core_protocol|X Windows System protocol]] used by **Linux ​computers** (**local** computer, or **remote** Linux servers) ​to generate graphics, and that can //render// (i.e. display) the graphics generated ​**remotely** on your **local** ​computer
  
 +
 +===== What do we mean exactly with Local and Remote computers? =====
 +
 +This page will very often mention **local computers** or **remote computers**:​
 +
 +  * The **local computer** is the desktop or laptop you are interacting with (using a screen+mouse+keyboard)
 +    * The local computer can be a **Linux, Windows or Mac (i.e //OS X//) computer**
 +
 +  * The **remote computer or server** is another computer that you also want to interact with (using the screen+mouse+keyboard of your local computer)
 +    * We only consider on this page the case of a **remote //Linux// machine** that **requires a local running //X server//**
 +
 +  * **Remote Linux machine** can mean several things:
 +    * It can be another operating system running inside **a [[https://​en.wikipedia.org/​wiki/​Virtual_machine|Virtual Machine]] on your local computer**
 +      * We mostly consider on this page the case of a **Linux virtual machine** using [[other:​win10wsl|Windows Subsystem for Linux (WSL)]] on a Windows computer, but this can apply to other configurations
 +    * It can be a **distant computer** or server in your building, or a high performance computer in a computing center on the other side of the Earth. It could also be a virtual machine in the //Cloud//
 ===== Using an X server on Linux ===== ===== Using an X server on Linux =====
  
-Linux computers come pre-configured with a running ​//X server// that will display the graphics generated locally and on remote Linux servers+<WRAP center round tip 60%> 
 +You don't need to do anything special! 
 +</WRAP>
  
-**You don't need to do anything special!**+Linux computers come pre-configured with a running //X server// that will display the graphics generated locally and on remote Linux servers
  
  
Line 209: Line 226:
  
 </​code>​ </​code>​
 +
 +Make sure that you are using ''​ssh -X''​ or ''​ssh -Y'',​ or that [[other:​putty_conf#​changing_some_useful_settings|PuTTY is configured]] with ''​Enable X11 forwarding''​
  
 === When there is no X server running === === When there is no X server running ===
Line 215: Line 234:
 $ connect localhost port 6000: Connection refused $ connect localhost port 6000: Connection refused
 xterm: Xt error: Can't open display: localhost:​12.0</​code>​ xterm: Xt error: Can't open display: localhost:​12.0</​code>​
 +
 +Time to [[other:​x_conf|read this page again]]...
 ==== OpenGL related settings ==== ==== OpenGL related settings ====
  
other/x_conf.txt · Last modified: 2023/06/30 08:20 by jypeter