Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

XWindows port programming?!?

Status
Not open for further replies.

Anno

Advanced Member level 4
Joined
Feb 8, 2006
Messages
106
Helped
14
Reputation
28
Reaction score
0
Trophy points
1,296
Location
South Africa
Activity points
1,899
xwindows+port

To explain the topic a bit better.
I want to write a program that will write display to port 6000 (Xserver port)
or get X-applications to run from my program.
I don't want to program new applications, I want to run existing appplications, ex XClock etc.

Will be greatfull for any help and could even try to donate a digital beer for any help.
 

You must have an X server running on your local machine. Then you can launch applications from the remote computer.
So, start your X server if its not already running. Find the hostname or IP address of the local computer the X server is running on. (For example "workstation"). Log on to your remote computer and do:
$ export DISPLAY=workstation:0
if you're using sh or Bash as the shell.
Make sure the path points to the X applications
And just do:
$ xclock &

Make sure you have authorized the x applications to connect to your X server.
 

erm...hehe..sorry.
actually maybe I didn't explain...I want to
program in C++ or any ISO-C.
I know how to call remote x-apps through ssh etc.
So the problem is actually the port forwarding in C
 

You probably have to look up how to use the SSL libraries.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top