LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-25-2003, 09:28 PM   #1
Wags
LQ Newbie
 
Registered: Aug 2003
Location: Australia mate
Distribution: Slackware 9.1
Posts: 23

Rep: Reputation: 15
Setting up X-Win32 Mandrake 9.2


Hi guys,

I have managed to get mandrake all set up on my machine with samba, firewall and ssh but I'm having difficulty setting up X-win32. I have played around with it for agers and I just cant get it to work. Can someone give me some deadshit instructions of how to do it as I have been trying for agers.

Also how can I put a connect to internet shortcut on the desktop and stop the dam thing reconnecting every time it disconnects.

Thx
Wags
 
Old 11-25-2003, 09:31 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
What is X-Win32?



Cheers,
Tink
 
Old 11-25-2003, 09:39 PM   #3
Wags
LQ Newbie
 
Registered: Aug 2003
Location: Australia mate
Distribution: Slackware 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
X win 32 allows you to control you linux machine from windows. Its a remote desktop program but instead of sending all the grahics it only sends the commands from the linux X server so it is heaps lighter and runs smoother. I think anyway. Apparently u just have to allow incomming connections in the X server or something like that.

X win 32 is here

http://www.starnet.com/products/
 
Old 11-25-2003, 10:34 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
OIC ... sorry, I can't help with that one :}

But you could use TightVNC as an alternative
method for remotely accessing Linux from Windows.

Cheers,
Tink
 
Old 11-25-2003, 10:39 PM   #5
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
X-win32 is just an X server for win32, you need to provide more information, like what you have tried and the results etc.
Basically you only need to have x-win32 running on the windows box, ssh into the linux box(with putty or whatever), make sure DISPLAY variable is set properly (export DISPLAY=<ip or hostname>:0), make sure the permissions are set properly and it should do the trick. Also make sure your firewall isn't in the way, if you're running windows XP, the default firewall will most likely block incoming traffic on port 6000, which is used for X.
 
Old 11-25-2003, 11:52 PM   #6
Wags
LQ Newbie
 
Registered: Aug 2003
Location: Australia mate
Distribution: Slackware 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
I have got a linux machine which I use as a firewall/file server just for fun and a windows machine. I have everything set up like ssh samba internet connection sharing etc. Basically I have tried editing the files by putting in the windows ip address but I didn't know what I was doing just guessing.

What is the name of the file where I have to put (export DISPLAY=<ip or hostname>:0) ??

Usually X win 32 comes up with the connection not being accepted but once I edit the X server config file correctly I think that it shall work.

Last edited by Wags; 11-25-2003 at 11:53 PM.
 
Old 11-26-2003, 12:19 AM   #7
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Personally I can't get the ssh client that comes with X-win32 to work properly, so here's exactly how I do it:
Load x-win32, somewhere in the configuration you can add which hosts are allowed to connect, put the hostname/ip of your linux box there.
use putty
http://the.earth.li/~sgtatham/putty/.../x86/putty.exe
to ssh into the linux box, once you get into the shell, type "export DISPLAY=192.168.0.1:0" substitude 192.168.0.1 with the ip of your windows box, or the hostname if the linux box is able to resolve it(hint use /etc/hosts if there's no dns server). You can configure the ssh server to do this automatically, just need to uncomment some options in /etc/ssh/sshd_config, can't remember what they are on top of my head.
Then run your X apps(xedit, konqueror etc) with the command line, inside the SSH session. You can also launch a window manager (startkde, gnome-session) but from my experience X-win32 doesn't handle them very well.

On a side note if you want to remotely "control" the desktop of the linux box then try Tinkster's suggestion, VNC is designed for this purpose.

Last edited by Demonbane; 11-26-2003 at 12:25 AM.
 
Old 11-26-2003, 07:28 PM   #8
Wags
LQ Newbie
 
Registered: Aug 2003
Location: Australia mate
Distribution: Slackware 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
Demonbane,

Thx for your help I have got it all figured out. The problem was that you have to execute the commands in the ssh prompt that way you tunnel your session through secure shell.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Setting up X-win32 axr0284 General 6 11-27-2005 06:02 PM
Setting up Tv-Out in mandrake 10 shlepp Linux - Newbie 2 09-14-2004 02:24 AM
Setting unusual networking setting in Mandrake zamri Linux - Networking 1 05-28-2004 07:43 AM
setting up my isp in mandrake amenora Linux - Software 1 10-19-2003 12:34 PM
setting up my isp in mandrake amenora Mandriva 1 10-19-2003 11:44 AM


All times are GMT -5. The time now is 03:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration