LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 11-04-2009, 03:19 AM   #1
renjant
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
Linux Gui with Xming


Hi All,

I am connecting to a LINUX box using putty from a windows box(ssh connection).

I have Xming installed in my machine..my aim is to have GUI for linux.

then i have exported the display like below.

export DISPLAY=my windows machineip:0.0

Next step is in the linux box i ll execute a script which will pop up a configuration window.

Here i am getting the config window or wizard but the problem is ..... its too slow and finally it is getting stuck(config window is loading very slow and diifcult to move forward).

Can anyone tel me why this is happening and how i can tackle this situation.??Any tuning i can make in this.

Please help.

Last edited by renjant; 11-04-2009 at 03:23 AM.
 
Old 11-04-2009, 08:26 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
If you connect to Linux with putty, then try enabling X tunneling. Once you do that, $DISPLAY will be automatically set up on the Linux host, and applications needing X will just run. The value of $DISPLAY will be something like 'localhost:10', where the '10' will be some smallish integer value.
If speed is still an issue, try running some tests on the network: simple file transfer speeds using scp for instance. Is the problem restricted to a particular class of applications, or to all programs?
--- rod.
 
Old 11-19-2009, 03:58 PM   #3
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Raspbian, Ubuntu, Chrome/Crouton
Posts: 374

Rep: Reputation: 50
ssh X tunneling does some X protocol compression, so that may help. If you need more improvement look into adding a low bandwidth X proxy (libxproxy) in addition to the ssh tunneling.
 
Old 11-26-2009, 06:46 AM   #4
Mandy Kwong
LQ Newbie
 
Registered: Sep 2009
Posts: 10

Rep: Reputation: 0
re:

In PuTTY do you have 'Enable X11 forwarding' checked. If not, it should be.

When you log in with 'X11 forwarding' you don't have to set DISPLAY. Just echo it and you should see something like 'localhost:10.0'.

If it's still slow, what's the speed of you network connection
Is it over slow DSL

Last edited by jschiwal; 06-26-2010 at 03:31 PM. Reason: removed spam link
 
Old 11-27-2009, 04:40 AM   #5
renjant
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Mandy Kwong View Post
In PuTTY do you have 'Enable X11 forwarding' checked. If not, it should be.

When you log in with 'X11 forwarding' you don't have to set DISPLAY. Just echo it and you should see something like 'localhost:10.0'.

If it's still slow, what's the speed of you network connection
Is it over slow DSL


thanks guys for all the suggestions.

but in putty i am enabling the check box -- Enable X11 forwarding.

when i login to the machine and echo DISPLAY it is not giving any value it is blank. ???

Also how can i add a low bandwidth X proxy (libxproxy) in addition to the ssh tunneling
??


Please let me know.

Last edited by jschiwal; 06-26-2010 at 03:33 PM. Reason: removed spam link in quoted text. no infraction for renjant
 
Old 11-27-2009, 08:05 AM   #6
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
What shell are you using on the Linux host? Do you have, on the Linux host, '$HOME/.ssh/environment'? If so, what is in it? Do the symptoms appear for all users, or only certain ones? There appears to be some kind of server-side issue. You may have to start the sshd with the -d option, to get some debugging info into the system logs.
--- rod.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to start Gnome GUI in Xming over SSH bozox Linux - General 6 03-21-2014 08:20 AM
Running java application in linux using xming/cygwin Shefali Jain Linux - Newbie 1 09-25-2009 09:14 AM
LXer: Blue GNU Wrong About Xming - Xming No Longer GPL LXer Syndicated Linux News 0 11-19-2007 05:41 AM
LXer: Use Linux over Windows with Xming LXer Syndicated Linux News 0 08-08-2007 01:46 PM
using putty and xming from windows to linux stevisg General 2 12-01-2006 12:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration