Re: Emacs in GUI from two different users.

2019-05-06 Thread aprekates
That worked. Thanks. I'll try to make it permanent across session by putting the commands to bash profile files. On 6/5/19 4:54 μ.μ., An Liu wrote: Partly right, Debian 9.9 tested 'xhost' still works, while 'xauth' and 'ssh -X' fail foo> xhosts + goo> export DISPLAY=:0 emacs this could sta

Re: Emacs in GUI from two different users.

2019-05-06 Thread Francisco M Neto
On Mon, 2019-05-06 at 08:40 -0600, An Liu wrote: > I'm not cheating you. Have a try before you type. > > After you create .Xauthority manually, ssh -X could work, though > 'auth add' still fails My point exactly. > why not try it yourself? I don't use Wayland, neither do I inte

Re: Emacs in GUI from two different users.

2019-05-06 Thread An Liu
I'm not cheating you. Have a try before you type. After you create .Xauthority manually, ssh -X could work, though 'auth add' still fails why not try it yourself? following shows 'ps -ef' and 'XDG_SESSION_TYPE' source@debian:~$ ps -ef |grep Xwayland Debian-+ 3802 3782 0 08:10 tty1 00:0

Re: Emacs in GUI from two different users.

2019-05-06 Thread Francisco M Neto
On Mon, 2019-05-06 at 07:54 -0600, An Liu wrote: > Partly right, Debian 9.9 tested Debian 9.9 uses X.Org. This kind of operation is not possible in Wayland. -- []'s, Francisco M Neto GPG: 4096R/D692FBF0 signature.asc Description: This is a digitally signed message part

Re: Emacs in GUI from two different users.

2019-05-06 Thread An Liu
Partly right, Debian 9.9 tested 'xhost' still works, while 'xauth' and 'ssh -X' fail foo> xhosts + goo> export DISPLAY=:0 emacs this could start emacs in GUI for goo On Mon, May 6, 2019 at 6:48 AM Francisco M Neto wrote: > > I believe that only works if you're using X.Org. In Wayland tha

Re: Emacs in GUI from two different users.

2019-05-06 Thread Francisco M Neto
I believe that only works if you're using X.Org. In Wayland that kind of thing does not exist. --Francisco On Sat, 2019-05-04 at 02:46 +0200, An Liu wrote: > > HI, > short answer is yes,you can have both emacs displayed in GUI > > i think the problem is when you switch to goo,the auth to DISP

Re: Emacs in GUI from two different users.

2019-05-03 Thread An Liu
HI, short answer is yes,you can have both emacs displayed in GUI i think the problem is when you switch to goo,the auth to DISPLAY is lost it depends much on how you switch to goo from foo btw, i guess you login to foo with display-manager such as gdm or something alike,and switch to goo with