x11 forwarding over ssh - Arch
I have installed xterm and xorg-xauth.
Then I config'd both client and server sshconfig and sshdconfig
(Enable the AllowTcpForwarding option in sshd_config on the server.
Enable the X11Forwarding option in sshd_config on the server.
Set the X11DisplayOffset option in sshd_config on the server to 10.
Enable the X11UseLocalhost option in sshd_config on the server.
Enable the ForwardX11 option in ssh_config on the client.)
Did exactly what the Arch wiki says on x11 over ssh…
I get nothing when I do echo $DISPLAY, what did I miss?
someone pls help me out…cheers
12 Replies
Ill look through the site after I set up my server.
I figured since the distros come with ssh I could just throw out a new distro and x11 forwarding would work, even before setting hostname and timezone.
Maybe I need to set up all those things first and then re-install openssh to get ssh to config a display?
What are you doing via a GUI that you can't do quicker/faster/better/easier/more secure/more efficiently with a CLI?
Are you using Hello Kitty Wallpaper?
All I can say is if you're sporting Nix Guru face hair (or for the Female Guru's, pit hair) - shave NOW!!!!!
I dont need them but users do, users that just want to execute an easy session anytime anywhere, so they dont have to worry about the configs themself on their own machine.
since its a VPS it will always be up for them and have good bandwidth.
easier for me too because of not having to worry about hardware.
Ive got all that up, just cant get the x11 DISPLAY forwarding right….
@vonskippy:
I still don't understand why anyone needs a GUI on a REMOTELY HOSTED (*NIX) SERVER
I do all of my scientific and engineering web development remotely on a Linode, which involves a lot of 2D and 3D charting and plotting work. Having remote persistent GUI development sessions is very efficient for this development model. See
James
vonskippy - I have a sick beard. and will look into the hello kitty
wallpaper.
zunzun - cool site indeed,
what do you use for remote persistent GUI sessions?
@sls:
zunzun - cool site indeed,
what do you use for remote persistent GUI sessions?
No Machine - it is da bomb! Used to use VNC, but NX is far more responsive.
James
@vonskippy:
I still don't understand why anyone needs a GUI on a REMOTELY HOSTED (*NIX) SERVER?
Yes, I am sure you will never understand that.
sls,
> PostPosted: 2010-04-30 23:21 Post subject: x11 forwarding over ssh - Arch
Trying desperately to setup x11 forwarding on Arch linux…
….
I get nothing when I do echo $DISPLAY, what did I miss?
someone pls help me out…cheers
The post from paul.higgins in the following thread worked for me, also with Arch:
That said, I will be trying NX.
Mektub
now on to NoMachine….
@sls:
finally got x11 forwarding to work after install kde-full on a 9.04 ubuntu, and made sure of 127.0.0.1 localhost.localdomain localhost in /etc/hosts
now on to NoMachine….
Hrrm, NoMachines NX does not require x11 forwarding to work, and you don't need all of KDE to get it running…
Usually you can just install some simple X application (say, xeyes?) to pull in the bare minimum requisites, and then install NX, I believe?
@Guspaz:
Hrrm, NoMachines NX does not require x11 forwarding to work, and you don't need all of KDE to get it running…
Usually you can just install some simple X application (say, xeyes?) to pull in the bare minimum requisites, and then install NX, I believe?
Yeah the /etc/hosts file was the real show stopper.
and yeah your right all you need for NX is something like xeyes, the nxclient, nxnode, nxserver on the server and nxclient on the client.
NX appears to be pretty robust, I was reading you can pipe a desktop or individual app into a web page, I will be heading into that direction so my users dont have to log into anything.
So if anyone has any tips, tricks, optimizations or past or present NX scenarios, Im all ears and quite interested…