Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Apr 30, 2010 7:21 pm 
Offline
Senior Newbie

Joined: Fri Apr 30, 2010 7:10 pm
Posts: 6
Trying desperately to setup x11 forwarding on Arch linux...

I have installed xterm and xorg-xauth.

Then I config'd both client and server ssh_config and sshd_config
(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


Top
   
 Post subject:
PostPosted: Sat May 01, 2010 4:50 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
First a question, do you really need X-11 forwarding or can you use other solutions, this is far faster http://www.nomachine.com/


Top
   
 Post subject:
PostPosted: Sat May 01, 2010 10:32 am 
Offline
Senior Newbie

Joined: Fri Apr 30, 2010 7:10 pm
Posts: 6
Right I was going to use NX but I thought you had to get x11 forwarding up first as a prerequisite..

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?


Top
   
 Post subject:
PostPosted: Sat May 01, 2010 7:29 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
I still don't understand why anyone needs a GUI on a REMOTELY HOSTED (*NIX) SERVER?

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!!!!!


Top
   
 Post subject:
PostPosted: Sat May 01, 2010 8:23 pm 
Offline
Senior Newbie

Joined: Fri Apr 30, 2010 7:10 pm
Posts: 6
I dont need a gui I just need to be able to output particular apps running from Wine, they are realtime graphs of certain things.

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....


Top
   
 Post subject:
PostPosted: Sun May 02, 2010 2:34 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Go for nomachine, xforwarding is so slow you won't get anywhere with it (in my experience anyway) just follow the instructions on the nomachine website.


Top
   
 Post subject:
PostPosted: Sun May 02, 2010 10:19 am 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
vonskippy wrote:
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 http://zunzun.com for some way cool 3D surface plots and examples of the work I do.

James


Top
   
 Post subject:
PostPosted: Sun May 02, 2010 12:58 pm 
Offline
Senior Newbie

Joined: Fri Apr 30, 2010 7:10 pm
Posts: 6
obs - thanks for the suggestion I will try it.

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?


Top
   
 Post subject:
PostPosted: Sun May 02, 2010 2:24 pm 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
sls wrote:
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


Top
   
 Post subject:
PostPosted: Sun May 02, 2010 11:58 pm 
Offline

Joined: Sun May 02, 2010 11:07 pm
Posts: 1
Location: Lisbon / Portugal
vonskippy wrote:
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,

Quote:
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:

http://tinyurl.com/36ee8jx

That said, I will be trying NX.

Mektub


Top
   
 Post subject:
PostPosted: Mon May 03, 2010 9:42 am 
Offline
Senior Newbie

Joined: Fri Apr 30, 2010 7:10 pm
Posts: 6
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....


Top
   
 Post subject:
PostPosted: Mon May 03, 2010 3:38 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
sls wrote:
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?


Top
   
 Post subject:
PostPosted: Tue May 04, 2010 10:27 am 
Offline
Senior Newbie

Joined: Fri Apr 30, 2010 7:10 pm
Posts: 6
Guspaz wrote:
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...


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group