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
BP_REVTRANS-MOTIF(1p)					User Contributed Perl Documentation				     BP_REVTRANS-MOTIF(1p)

NAME
revtrans-motif - Reverse translate a Profam-like protein motif VERSION
Version 0.01 SYNOPSIS
From a file: revtrans-motif.pl -i motifs.txt Using pipes: revtrans-motif.pl < motifs.txt > output.txt Using interactively at the command prompt: $ revtrans-motif.pl MAAEEL[VIKP] 1. ATGGCNGCNGARGARYTNVHN [^P]H(IW){2,3} 2. NDNCAY(ATHTGG){2,3} DESCRIPTION
This script takes a protein motif as input and returns a degenerate oligonucleotide sequence corresponding to it. The main reason for doing this is to design degenerate primers that amplify a given sequence pattern. The input motif consists of a string of one-letter residues, with any of the following syntactic elements: [...] : Redundant position. A position in which more than one residue is allowed. Example: [TS]YW[RKSD] ^^ ^^^^ [^...] : Negated position. A position in which any residue is allowed, saved for those between brackets. Example: [^PW]MK[LAE] ^^ (...){n,m,...} : Repeated motif. A motif that is repeated n or m times. It can have any of the previous syntactic elements. Example: A[SN]C(TXX){2,4,8} ^^^ The allowed letters are those that correspond to the 20 natural aminoacids, plus: B = N + D Z = Q + E X = All OPTIONS
-i input-file: A file with a list of motifs to reverse translate. -h Display this help message. AUTHOR
Bruno Vecchi, "vecchi.b at gmail.com" BUGS
Please report any bugs or feature requests to "vecchi.b at gmail.com" COPYRIGHT &; LICENSE Copyright 2009 Bruno Vecchi, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-03-02 BP_REVTRANS-MOTIF(1p)
All times are GMT -4. The time now is 05:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy