You are not logged in.

#26 2019-05-02 00:21:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [Solved]'X11 Forwarding requested but DISPLAY not set' issue *repea...

alysher wrote:

My actual end result that I want is to have the remote use the display, mouse and keyboard of the client as if it were actually attached to the remote.

Then forget everything from this thread, except the comments about VNC.  SSH with x11 forwarding will not likely get you what you want.

Have you tried VNC?  I don't have first hand experience with it - but 2GB ram should be plenty.  I'm baffled by peoples perceptions of ram today.

Last edited by Trilby (2019-05-02 00:22:58)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#27 2019-05-02 06:27:27

alysher
Member
Registered: 2017-07-31
Posts: 56

Re: [Solved]'X11 Forwarding requested but DISPLAY not set' issue *repea...

The last time I used vnc it was back in 2008(?), and my experience with it was nasty. Would much rather not use it if at all possible.

Is it safe/reasonable to kill the clients xfce4-panel, ssh into the remote, and run xfce4-panel from there?


I started learning linux under Debian, and this is what I hope for every time I interact with the awesome Arch community.

Offline

#28 2019-05-02 06:37:44

seth
Member
Registered: 2012-09-03
Posts: 58,400

Re: [Solved]'X11 Forwarding requested but DISPLAY not set' issue *repea...

D'ooh.
Bad news: you're 11 years older than you think you are.
TigerVNC didn't even exist in 2008 but the X11 toolkits have changed quite some in their reliance on client side rendering and animation.

Whether it's safe/reasonable depends on your concerns. Maybe just try and see?
It's typically not the session keeping process, if that's your concern.

Offline

#29 2019-05-02 06:58:19

alysher
Member
Registered: 2017-07-31
Posts: 56

Re: [Solved]'X11 Forwarding requested but DISPLAY not set' issue *repea...

Trilby wrote:

startxcfe4 just adds confusion, it is a wrapper that starts Xorg (the X11 server) and some clients including the WM.

You need to separate these steps rather than using that single monolithic wrapper.  Start Xorg on your local client, then from within that x session, you can ssh and start xfce4wm stored on the remote machine.  This is done as described above: use xinit/startx and add the ssh command(s) to your .xinitrc.

I missed the bold/italic stuff yesterday. This actually describes what I was attempting.
Disassembling the script is a bit challenging as it's all wrapped in 'if' statements. And figuring out what the variables are is fun as well.

seth wrote:

D'ooh.
Bad news: you're 11 years older than you think you are.
TigerVNC didn't even exist in 2008 but the X11 toolkits have changed quite some in their reliance on client side rendering and animation.

Whether it's safe/reasonable depends on your concerns. Maybe just try and see?
It's typically not the session keeping process, if that's your concern.

Ya I realized that after I posted it.  Last I used it, it was slow and used so much memory that I suspected a leak....

At this point I'm going to try to disassemble startxfce4 and see if I can modify a copy so that it runs xfwm from the remote. If I have issues do you want me to start a new thread?


I started learning linux under Debian, and this is what I hope for every time I interact with the awesome Arch community.

Offline

#30 2019-05-02 08:20:29

alysher
Member
Registered: 2017-07-31
Posts: 56

Re: [Solved]'X11 Forwarding requested but DISPLAY not set' issue *repea...

I started disassembling the startxfce4 script and ended up in info overload. I'm still trying to wrap my head around it all. Ended up looking at tigervnc....I didn't expect to see it that fast.

So maybe one day I will tear apart the script, but in the meantime I'll be using vnc.

Ty all for the input, information, and recommendations.


I started learning linux under Debian, and this is what I hope for every time I interact with the awesome Arch community.

Offline

Board footer

Powered by FluxBB