cancel
Showing results for 
Search instead for 
Did you mean: 

remote Xorg login

 
SOLVED
Go to solution
monu_1
Regular Advisor

remote Xorg login

Hi all,
I am using Fedora core6 and I am accessing this machine via windows2k through putty(ssh console login) application.
now i want x-desktop login.
is it possible to remote graphical login (where windows2k is running)?
if yes plz suggest how we can?

Thanks in advance
MKS
13 REPLIES 13
Oviwan
Honored Contributor

Re: remote Xorg login

Hey

Check VNC, i always use this:
http://www.realvnc.com/

Regards
Highlighted
spex
Honored Contributor

Re: remote Xorg login

Hello,

It is possible, but first you will have to install an X-Server Server on your W2k machine. Choices include Xming, Cygwin/X, and Exceed, among others.

Then go to PuTTY Configuration->SSH->X11 and check "Enable X11 forwarding" and enter "localhost:0" for "X display location".

You may also have to add your client to the /etc/X*.hosts database on your server via the 'xhost' command.

http://freedesktop.org/wiki/Xming
http://x.cygwin.com/
http://www.hummingbird.com/products/nc/exceed/index.html

PCS
Steven E. Protter
Exalted Contributor

Re: remote Xorg login

Shalom,

ssh -X hostname command

Works for me. There is probably a way to make this work from a windows host.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
monu_1
Regular Advisor

Re: remote Xorg login

Hi Spex,

I have dwnload Xming-6-9-0-23-setup.exe but its showing me on installation that require Window NT 5.01 or later. I m not understanding why it is asking?

But when i use it on window xp it has been installed but according your instruction it is not working .
plz specified more and give me a link where i can dwnload right version which support win2k.

Thank you
MKS
Rick Retterer
Respected Contributor

Re: remote Xorg login

The current version of Xming (XCygwin) can be found @

http://sourceforge.net/projects/xming

Which should support W2k -thru- Vista

Follow the Installation Guide and RElease notes completely in order to set it up correctly.

Personally, I like to use VNC on both my W2k system and Fedora Core6... Works great and easy to use.

Cheers!
Rick Retterer
- Rick Retterer



Geert Van Pamel
Regular Advisor

Re: remote Xorg login

Why don't you install a "Remote Desktop Server" on Linux, compatible with your Windows built-in Remote Desktop client.

Advantage: you do not have to install anything at all on your Windows machine, so you do not pay any license at all.

5 minutes to install.
xrdp is built on top of vnc

Prerequisites: first install openssl-devel and pam-devel

Download xrdp-0.4.0.tar.gz or later from http://xrdp.sourceforge.net

Compile:

cd

cd src

gzip -dc xrdp-0.4.0.tar.gz |tar -xf -

cd xrdp-0.4.0

make



Install:

su

make install


cd /etc/init.d

ln -s /usr/local/xrdp/xrdp_control.sh xrdp

cd /etc/init.d/rc5.d

ln -s ../init.d/xrdp S15xrdp

service xrdp start


You can also do the opposite: if you are logged in on Linux and you want to see your remote Windows desktop, just do:

ipconfig (to get the IP address of your Windows machine)

rdesktop -f 45.x.x.x
monu_1
Regular Advisor

Re: remote Xorg login

Hi Geert,

Thanks,

I m getting following error report.

#service xrdp start
starting xrdp
df: `': No such file or directory
df: `': No such file or directory
/usr/bin/startkde: line 29: [: -lt: unary operator expected
xsetroot: unable to open display ''
Error: Can't open display:
/usr/bin/startkde: line 124: /.kde/share/config/startupconfig: No such file or directory

and also as u define above /etc/init.d/rc5.d but here it is in /etc/rc.d/rc5.d/ not init.d directory

Plz suggest where is the probs.

Thx,
MKS
Geert Van Pamel
Regular Advisor

Re: remote Xorg login

Sorry, the above startup scheme was for SuSE.

For Red Hat or Fedora distributions, the correct startup is as follows:

First determine the default run level:

grep default /etc/inittab
...
id:3:initdefault:

If the run level is 3, then:
cd /etc/rc3.d

If the run level is 5, then:
cd /etc/rc5.d

ln -s ../init.d/xrdp S15xrdp

If KDE is not starting properly, as on your system, you could try the following:

vi /usr/local/xrdp/startwm
...
twm&
xterm
exit 0

If needed, stop and start xrdp

service xrdp stop

service xrdp start

Now start again the "Remote desktop client" on Windows XP, and login again... you should see at least an X-terminal

You could try as well with Gnome.

If your X-Windows display is not correctly created, then there is propably something wrong with Xvnc

Check if the following processes run:

ps -ef |grep vnc
geertvp 27692 27690 0 22:37 pts/0 00:00:01 Xvnc :10 -geometry 1280x800 -dep

ps -ef |grep sesman
root 27673 1 0 22:36 pts/0 00:00:00 ./sesman

ps -ef |grep xrdp
root 27671 1 0 22:36 pts/0 00:00:01 ./xrdp

Hope it works now?
monu_1
Regular Advisor

Re: remote Xorg login

hi,
its not working.The result is as follows

#twm
_X11TransSocketINETConnect() can't get address for localhost:6003: Name or service not known
twm: unable to open display ":0.0"

# ps -ef |grep vnc
root 2662 2202 0 16:19 pts/2 00:00:00 grep vnc

#ps -ef |grep sesman
root 2665 2202 0 16:20 pts/2 00:00:00 grep sesman

#ps -ef |grep xrdp
root 2668 2202 0 16:21 pts/2 00:00:00 grep xrdp

# service xrdp start
starting xrdp
df: `': No such file or directory
df: `': No such file or directory
/usr/bin/startkde: line 29: [: -lt: unary operator expected
xsetroot: unable to open display ''
Error: Can't open display:
/usr/bin/startkde: line 124: /.kde/share/config/startupconfig: No such file or directory

I could not getting exactly where is the problem?is there any DISPLAY setting probs or KDE settings?

Plz suggest!

Thx,
MKS