Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-04-2009, 03:19 AM
|
#1
|
LQ Newbie
Registered: Nov 2009
Posts: 2
Rep:
|
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.
|
|
|
11-04-2009, 08:26 AM
|
#2
|
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
|
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.
|
|
|
11-19-2009, 03:58 PM
|
#3
|
Member
Registered: Jun 2003
Location: Washington
Distribution: Raspbian, Ubuntu, Chrome/Crouton
Posts: 374
Rep:
|
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.
|
|
|
11-26-2009, 06:46 AM
|
#4
|
LQ Newbie
Registered: Sep 2009
Posts: 10
Rep:
|
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
|
|
|
11-27-2009, 04:40 AM
|
#5
|
LQ Newbie
Registered: Nov 2009
Posts: 2
Original Poster
Rep:
|
Quote:
Originally Posted by Mandy Kwong
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
|
|
|
11-27-2009, 08:05 AM
|
#6
|
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
|
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.
|
|
|
All times are GMT -5. The time now is 05:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|