Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Best/Fast/Simple way to add a GUI to a batch process

by RonW (Parson)
on Aug 30, 2018 at 00:09 UTC ( #1221341=note: print w/replies, xml ) Need Help??


in reply to Re^2: Best/Fast/Simple way to add a GUI to a batch process
in thread Best/Fast/Simple way to add a GUI to a batch process

Actually, the server doesn't need to have an X server. Properly configured, an application running on a server can use an X server running on a desktop (or laptop) PC. (Has been many years since I last did this, but as best I can determine, it it still possible.)

  • Comment on Re^3: Best/Fast/Simple way to add a GUI to a batch process

Replies are listed 'Best First'.
Re^4: Best/Fast/Simple way to add a GUI to a batch process
by zentara (Archbishop) on Aug 30, 2018 at 11:18 UTC
    Hi, thanks for that info/correction. I'm not sure if I believe it though. The last time I tried it, the server needed an X server in order to do X forwarding. Can any more knowledgable monk clarify whether a server needs X running in order to forward X thru ssh? Seaching the docs on Google dosn't reveal that detail. From what I can gather, you need to have the xauth program running on the server, but if that requires a full X install, I'm not sure. Server GUI

    Update: After some thought, it dawned on me that you probably need the X server installed on the server, but not neccessarily running. Why? Because when you try to execute the remote X program, it must find the various X libraries it needs, otherwise it will complain and fail. Your remote client can't provide the needed libraries, they must be on the server. So it seems RonW you are right, the X server does not need to be running, but the libraries must be installed. So .... X installed, but not neccessarily running, would be required.


    I'm not really a human, but I play one on earth. ..... an animated JAPH

      There are (were?) X client libraries. Last time I set up a "headless" server, I only installed the client libraries. I also configured SSH for X forwarding. I did notice that the option for installing the X server was enabled by default. I disabled that with no problems.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1221341]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2019-04-22 10:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (112 votes). Check out past polls.

    Notices?