Article 596NW How to identify the virtual workspace from remote terminal

How to identify the virtual workspace from remote terminal

by
pan64
from LinuxQuestions.org on (#596NW)
Hi,
I have a gui (MATE desktop) with several different workpsaces. I started a gnome-terminal (or something similar) on every workspace and usually they will have 5-10 tabs. Usually I log into another hosts in every shell (mainly using the same host and username).
These remote hosts are just headless servers, no X installed, but for example gvim can be started (using ssh with -X).
gvim is in general used the same way as the terminal, I have only one window with several tabs on every workspace.

And now comes the question, how can I execute gvim on that remote host to find the correct workspace?
currently gvim --servername <name> --remote-tab <filename> is used, but I don't really know how can I find the server name I need.latest?d=yIl2AUoC8zA latest?i=YQWoPYFQb3M:Ojh8LgFYU2Y:F7zBnMy latest?i=YQWoPYFQb3M:Ojh8LgFYU2Y:V_sGLiP latest?d=qj6IDK7rITs latest?i=YQWoPYFQb3M:Ojh8LgFYU2Y:gIN9vFwYQWoPYFQb3M
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments