05-23-2017
Yes, X11 is fundamentally a network protocol, including any toolkits you would use with X11. When client and server are on the same machine, the client connects to X11 with a UNIX domain socket for performance reasons, but it's still a socket. The deep details of how the connection is made is something you don't need to concern yourself with.
Mostly.
Plain X11-over-TCP is considered a bit old-fashioned these days. Kind of like telnet, it's been cut off by default as it lacks security features and is difficult to control. People usually wrap X11 connections with VNC instead if they want to connect to an X11 terminal over the internet. This also gives a moderate improvement in efficiency.
This still isn't a change to how your program works as much as what it connects to. I think the VNC connection would have to be made first, elsewhere.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there a good book or something on practical programming in X11? I have the O'Reilly X window system book set. They don't seem to cover the nuances very well (at least for me). So far the only thing I find on the web is the text from these books.
Specifically, I'm looking for optimization... (2 Replies)
Discussion started by: willil
2 Replies
2. UNIX for Dummies Questions & Answers
I'm new to socket programming. Have a basic doubt.
I have a structure(global) at the server side.
I have two different client connecting to the server. Will the changes made by one client on the structure be visible to the other client when it accesses the same client? I'm creating a STREAM... (3 Replies)
Discussion started by: abc.working
3 Replies
3. UNIX for Advanced & Expert Users
Hi I wrote a server Program in C,
Here it is, this is a just socket creation alone,
bool myclass::CreateSocket()
{
struct sockaddr_in sockaddr_in;
sockaddr_in.sin_family = AF_INET;
sockaddr_in.sin_port = 1100;
sockaddr_in.sin_addr.s_addr = INADDR_ANY;
... (4 Replies)
Discussion started by: vij_krr
4 Replies
4. UNIX for Dummies Questions & Answers
Hi,I'm new here and to Unix also. I'm totall newbie.
Here is what I have to do:
-Basics of programming user interface with Xlib library
-Xlib
-Client/Server model of X-Windows system
-Example of "Hello world" with button which changes text ,so that when u click displays another... (4 Replies)
Discussion started by: megane16v
4 Replies
5. Solaris
An application was getting built using Motif 1.2 that used come along Solaris 6 OS for compiling and linking. Application is run using Motif 2.1 on Solaris 10 and it is working fine.
Application compilation and linking is working fine on Solaris 10 with Motif 2.1.0 but running the application... (0 Replies)
Discussion started by: shafi2all
0 Replies
6. UNIX for Advanced & Expert Users
I can log into a unix system with Putty. I've set the "X11 forwarding" checkbox, and I've verified that I can display an X11 window back on my laptop. What I need to be able to do is "su" to another uid after logging in and then run something which display a window back on my laptop, with the... (2 Replies)
Discussion started by: dkarr
2 Replies
7. Programming
Hi
Could someone give me some advise, basically i am learning UDP client server programming. I understand how to do send and receive between client server
( learn from this site Sending and Receiving Packets)
but things such as MSN can actually send and receive at the same time! I believe it... (1 Reply)
Discussion started by: GQiang
1 Replies
8. Programming
How to use X11 without Xlib not XCB? How draw window directly on low level?
I must use anyway window manager like Motif?
I have ridden that X11 has server-client architecture, client send via TCP/IP to port 6000 request for primitives and get replies.
Where is detailed description of it? In X11... (0 Replies)
Discussion started by: AndrzejB
0 Replies
9. UNIX for Beginners Questions & Answers
MOTIF GUI PROGRAMMING !
Hi there. I am a MOTIF GUI Programmer in C language.
After a longer break i have problems with the GCC compiling.
my MOTIF file is named winstack.c
I have the follow code gcc -o newprogram winstack.c -lXm -lXt -lX11
The compilation runs good.
But no executable LINUX... (10 Replies)
Discussion started by: Sennenmut
10 Replies
LEARN ABOUT CENTOS
pax11publish
pax11publish(1) General Commands Manual pax11publish(1)
NAME
pax11publish - PulseAudio X11 Credential Utility
SYNOPSIS
pax11publish -h
pax11publish [options] [-d]
pax11publish [options] -e
pax11publish [options] -i
pax11publish [options] -r
DESCRIPTION
The pax11publish utility can be used to dump or manipulate the PulseAudio server credentials that can be stored as properties on the X11
root window.
Please note that the loadable module module-x11-publish exports the same information directly from the PulseAudio sound server, and should
in most cases be used in preference over this tool.
Use the following command to dump the raw PulseAudio-specific data that is stored in your X11 root window:
xprop -root | grep ^PULSE_
OPTIONS
-h Show help.
-d Read the PulseAudio server credentials currently set on the X11 root window and dump them in a human readable form. This reads the
PULSE_SERVER, PULSE_SINK, PULSE_SOURCE and PULSE_COOKIE properties.
-i Similar to -d, however dumps them in a Bourne shell compatible format so they may be used together with the eval shell command to
set the $PULSE_SERVER, $PULSE_SINK, $PULSE_SOURCE environment variables. Also reads the authentication cookie from the root window
and stores it in ~/.config/pulse/cookie.
-e Export the currently locally used sound server, sink, source configuration to the X11 root window. This takes the data from the
$PULSE_SERVER, $PULSE_SINK, $PULSE_SOURCE environment variables and combines them with the data from ~/.config/pulse/client.conf (or
/etc/pulse/client.conf if that file does not exist). If specific options are passed on the command line (-S, -O, -I, -c, see below),
they take precedence. Also uploads the local authentication cookie ~/.config/pulse/cookie to the X11 server.
-r Removes the configured PulseAudio configuration from the X11 root window.
-D DISPLAY
Connect to the specified X11 display, instead of the default one configured in $DISPLAY.
-S SERVER
Only valid for -e: export the specified PulseAudio server as default to the X11 display instead of the one configured via local con-
figuration.
-O SINK
Only valid for -e: export the specified sink as default sink to the X11 display instead of the one configured via local configura-
tion.
-I SOURCE
Only valid for -e: export the specified source as default to the X11 display instead of the one configured via local configuration.
-c FILE
Only valid for -e: export the PulseAudio authentication cookie stored in the specified file to the X11 display instead of the one
stored in ~/.config/pulse/cookie.
AUTHORS
The PulseAudio Developers <pulseaudio-discuss (at) lists (dot) freedesktop (dot) org>; PulseAudio is available from http://pulseaudio.org/
SEE ALSO
pulseaudio(1), xprop(1)
Manuals User pax11publish(1)