Sponsored Content
Top Forums Programming MOTIF programming and X11 client ! Post 302997978 by Corona688 on Tuesday 23rd of May 2017 04:20:45 PM
Old 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

Good source of X11 programming info?

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

socket programming : client server IPC

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

Server Programming to keep on looking for client connection

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

Newbie needs help with Xlib / X11 programming,dunno who to ask,but you :(

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

Motif 2.1 migration from Motif 1.2

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

[Solved] putty+x11:How do I pass X11 display rights to "su"?

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

Client Server 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

Low level X11 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 !

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
quartz-wm(1)						      General Commands Manual						      quartz-wm(1)

NAME
quartz-wm - Aqua Window Manager for the X Window System on OS X SYNTAX
quartz-wm [ --only-proxy ] DESCRIPTION
quartz-wm is a window manager for the X Window System. It provides titlebars for X11 windows that aim to match the look and feel of native Mac OS X windows. It also contains functionality to bridge between the system pasteboard and the X server's PRIMARY and CLIPBOARD selec- tions. OPTIONS
quartz-wm accepts the following command line options: --only-proxy This option indicates that the program should not attempt to manage any of the display's screens. However the selection proxying features will still be enabled, meaning that a different window manager may be used, but cut and paste will work as if quartz-wm were running. --no-pasteboard This option indicates that the program should not manage the cut and paste proxying. This option is defaulted to on for newer X11 servers that support this functionality and off for older servers that do not. --prefs-domain <domain> This option can be used to override the domain used to read preferences from. This is useful if you want to have multiple X11.apps running at the same time. CUSTOMIZATION
quartz-wm can be customized using the defaults(1) command. quartz-wm can be forced to re-read these preferences by sending it a SIGHUP using kill(1). The available options are: defaults write org.x.X11 wm_ffm -bool true Enables focus-follows-mouse mode. Windows belonging to the X server may then be focused by moving the pointer over them, as well as the default mode of clicking in them. defaults write org.x.X11 wm_click_through -bool true Disables the default behavior of swallowing window-activating mouse events. defaults write org.x.X11 wm_limit_size -bool true Limit the size of each window to the size of the current head. defaults write org.x.x11 wm_focus_on_new_window -bool false Don't tell X11.app to take focus when a new X11 window is created. defaults write org.x.X11 wm_window_shading -bool true Enables double clicking on a titlebar to shade the window defaults write org.x.X11 wm_auto_quit -bool true Automatically quit quartz-wm (thus shutting down the X11 server) when the last window is closed. defaults write org.x.X11 wm_auto_quit_timeout -int 3 Set the timeout for the auto-quit feature. If wm_auto_quit is true, quartz-wm will wait this many seconds before attempting to shutdown. If another window is created in that time, quartz-wm will not shutdown. ENVIRONMENT VARIABLES
DISPLAY This variable is used to determine which X server to use. SEE ALSO
X(7), Xquartz(1), xrdb(1), twm(1) 0.0 quartz-wm(1)
All times are GMT -4. The time now is 06:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy