msgbartop
A chronological documentation test project, nothing serious, really!
msgbarbottom

12 Mar 2015 Using xpra to run remote X applications

This post describes how you can run a X application on a host and view it on another.

Xpra is a tool which allows you to run X programs — usually on a remote host — and then direct their display to your local  machine, disconnect  from these programs, and reconnect from the same or another machine, all without losing any state. It differs from standard X forwarding in that it allows disconnection and reconnection without disrupting the forwarded application; it differs from  VNC and similar remote display technologies in that xpra is rootless: i.e., applications forwarded by xpra appear on your desktop as normal windows managed by your window manager, rather than being all “trapped in a box together”. Xpra also uses a custom protocol that is self-tuning and relatively latency-insensitive, and thus is usable over network connections that are too slow or unreliable for standard X forwarding. Xpra can also be used to shadow an existing X11 display.

Example to start a xpra X session and then start the X text editor gedit

$> xpra start :<DISPLAY NUMBER> && DISPLAY=:<DISPLAY NUMBER> gedit "

Example – Start geeqie

$> xpra start :100 && WINEDEBUG=-all DISPLAY=:100 geeqie &

Example using other video encoding, no audio, no clipboard

$> xpra --encoding=x264 --quality=80 --no-bell --no-speaker --no-pulseaudio --no-clipboard --no-notifications attach :100

If you combine using xpra and SSH client then you can connect to your X application from anywhere and continue you X application session.

Tags: , ,

Posted by

17 Oct 2007 Enabling Remote Access to the Installation System

You may access either graphical or text interfaces for the Redhat installation system from any other system. Access to a text mode display requires telnet, which is installed by default on Fedora systems. To remotely access the graphical display of an installation system, use client software that supports the VNC (Virtual Network Computing) display protocol. A number of providers offer VNC clients for Microsoft Windows and Mac OS, as well as UNIX-based systems.

The installation system supports two methods of establishing a VNC connection. You may start the installation, and manually login to the graphical display with a VNC client on another system. Alternatively, you may configure the installation system to automatically connect to a VNC client on the network that is running in listening mode.

Enabling Remote Access with VNC
To enable remote graphical access to the installation system, enter two options at the prompt:

linux vnc vncpassword=astrongpassword

The vnc option enables the VNC service. The vncpassword option sets a password for remote access. The example shown above sets the password as astrongpassword. The VNC password must be at least six characters long.

Specify the language, keyboard layout and network settings for the installation system with the screens that follow. You may then access the graphical interface through a VNC client. The installation system displays the correct connection setting for the VNC client:

Starting VNC...
The VNC server is now running.
Please connect to computer.mydomain.com:1 to begin the install...
Starting graphical installation...
Press <enter> for a shell

You may then login to the installation system with a VNC client. Start the VNC client Enter the server and display number in the VNC Server dialog. For the example above, the VNC Server is computer.mydomain.com:1.

This is possible on RedHat, Fedora and probably other distributions derived on these distributions like CentOS.

Tags: , , , , ,

Posted by