You probably need to set DISPLAY correctly.

I.e.

export I3SOCK=$(DISPLAY=:0 i3 --get-socketpath)

On 27.08.2014 16:49, Sargrad, Dave wrote:
> I am looking to create a remote management of an i3 workspace.
> Ultimately this will connect to a service running on the i3 machine and
> that service will respond to my workflow management commands.
> 
>  
> 
> Right now as I learn how to manage/configure i3 I am putty’d in to a
> ubuntu machine running i3. I’d like to use i3-msg to experiment with
> commands to i3. However when I run i3-msg it does not know how to
> connect properly:
> 
>  
> 
>  
> 
> ubuntu@sensis-8930:~$ i3-msg -t get_tree
> 
> i3-msg: Could not connect to i3: No such file or directory
> 
>  
> 
> Furthermore i3 does not know how to return a socket path:
> 
>  
> 
> ubuntu@machine-8930:~$ i3 --get-socketpath
> 
> ubuntu@machine-8930:~$
> 
>  
> 
> These commands work fine, of course, when I run them in a terminal
> window locally.
> 
>  
> 
> How can I use i3-msg over putty/ssh to experiment with i3? Is this not
> possible?
> 
>  
> 
>  
> 
>  
> 
> 
> /This message is intended only for the addressee and may contain
> information that is company confidential or privileged. Any technical
> data in this message may be exported only in accordance with the U.S.
> International Traffic in Arms Regulations (22 CFR Parts 120-130) or the
> Export Administration Regulations (15 CFR Parts 730-774). Unauthorized
> use is strictly prohibited and may be unlawful. If you are not the
> intended recipient, or the person responsible for delivering to the
> intended recipient, you should not read, copy, disclose or otherwise use
> this message. If you have received this email in error, please delete
> it, and advise the sender immediately. /

Reply via email to