Re: [orca-list] problem using xclip on a regular tty



I will do that and see what happens.

On Fri, 03 May 2019 09:39:07 -0400,
Janina Sajka wrote:

Yes, it shouldn't matter about logging in via GDM.

I've never seen that particular error? Have you pasted it into the
Google machine yet? It definietly looks like an old X error of some
kind. That "MIT" is a dead give-away.

Whatever is triggering the error is undoubtedly the problem, or a
pointer to the disc repency between what GDM launches and what your bash
(or whatever shell) launches.


Fix that and I'm pretty confident you'll fix xclip.

Good luck! And write again as needed.

Janina


John Covici writes:
I am logging in by gdm rather than startx, but its the same user as
the regular tty.

On Fri, 03 May 2019 08:36:35 -0400,
Janina Sajka via orca-list wrote:

Willem is correct. The DISPLAY variable needs to be set as the user that
opened the X session. If there's some way to make it global, I don't
know what that his.

I start my graphical desktop that eventually brings up Orca using startx
from a tty where I'm logged in as janina. Thereafter, I can use my xclip
aliases in any tty where janina is the logged in user. I have just
confirmed that this will break if janina does a 'sudo -i,' so it is very
much tied to the logged in user who started X.

hth

Janina

Willem van der Walt writes:
John,
You must be the same user iI think.
I.E. startx as user john in one tty and in another, log in as john.
Then do export DISPLAY=:0
Then:
echo 'some string'|xclip -i
What to do in X itself, follow Janina's instructions, as you might have
gathered, I am no gui guru.
HTH, Willem


On Fri, 3 May 2019, John Covici wrote:

I am trying to get data from the speakup clipboard to the X
clipboard.  If I do
xclip -i <string>
it says cannot open display.  If I do
DISPLAY=:0;xclip -i <string> I get the following error:
Invalid MIT-MAGIC-COOKIE-1 keyError: Can't open display: :0

How can I get this to work, or is it impossible?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

        John Covici wb2una
        covici ccs covici com
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html
Log bugs and feature requests at http://bugzilla.gnome.org

_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html
Log bugs and feature requests at http://bugzilla.gnome.org

-- 

Janina Sajka

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup: http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Chair, Accessible Platform Architectures  http://www.w3.org/wai/apa

_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html
Log bugs and feature requests at http://bugzilla.gnome.org

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici ccs covici com

-- 

Janina Sajka

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup:     http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Chair, Accessible Platform Architectures      http://www.w3.org/wai/apa


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici ccs covici com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]