Home Page
   Articles
       links
About Us    
Traders        
Recipes            
Latest Articles
X Windows

 
Post new topic   Reply to topic    Downsizer Forum Index -> IT Matters
Author 
 Message
tahir



Joined: 28 Oct 2004
Posts: 45685
Location: Essex
PostPosted: Mon Apr 11, 05 1:26 pm    Post subject: X Windows Reply with quote
    

Thought I'd have a go at X Windows, what do I need to get an X windows session running under Win2K?

jema
Downsizer Moderator


Joined: 28 Oct 2004
Posts: 28244
Location: escaped from Swindon
PostPosted: Mon Apr 11, 05 1:34 pm    Post subject: Re: X Windows Reply with quote
    

tahir wrote:
Thought I'd have a go at X Windows, what do I need to get an X windows session running under Win2K?


Blast from the past I have debugged bits of X windows at the code level

Will try and give you something more useful later.

jema
Downsizer Moderator


Joined: 28 Oct 2004
Posts: 28244
Location: escaped from Swindon
PostPosted: Mon Apr 11, 05 3:06 pm    Post subject: Reply with quote
    

What are you actually trying to do?

there are xwindows servers out there like:

https://www.winaxe.com/download-free-xwindows-server.html

I run Xwindows all the time, in the sense of opneing a vnc session onto a linux xwindows session. As this acheives what I need to do. e.g. I need a desktop on linux and not the odd application running.

tahir



Joined: 28 Oct 2004
Posts: 45685
Location: Essex
PostPosted: Mon Apr 11, 05 3:09 pm    Post subject: Reply with quote
    

I want to run an X windows session on my Win2k PC. are you saying I need VNC and an X windows client?

tahir



Joined: 28 Oct 2004
Posts: 45685
Location: Essex
PostPosted: Mon Apr 11, 05 3:10 pm    Post subject: Reply with quote
    

That link doesn't work

jema
Downsizer Moderator


Joined: 28 Oct 2004
Posts: 28244
Location: escaped from Swindon
PostPosted: Mon Apr 11, 05 3:13 pm    Post subject: Reply with quote
    

tahir wrote:
I want to run an X windows session on my Win2k PC. are you saying I need VNC and an X windows client?


No you don't need VNC. For what you say would want to do, you need an X server.

My question is why do you need an actual X Windows session? When you can see a complete Linux desktop with VNC. This on a LAN is a pretty smooth way of seeing an X application, so why the need to "do it properly"?

jema
Downsizer Moderator


Joined: 28 Oct 2004
Posts: 28244
Location: escaped from Swindon
PostPosted: Mon Apr 11, 05 3:14 pm    Post subject: Reply with quote
    

tahir wrote:
That link doesn't work


Does for me But that was a random link, I do not know much about windows based xservers.

tahir



Joined: 28 Oct 2004
Posts: 45685
Location: Essex
PostPosted: Mon Apr 11, 05 3:17 pm    Post subject: Reply with quote
    

jema wrote:
My question is why do you need an actual X Windows session? When you can see a complete Linux desktop with VNC. This on a LAN is a pretty smooth way of seeing an X application, so why the need to "do it properly"?


Gotcha, but how does VNC know which session to display or does it automatically display what's on the console?

jema
Downsizer Moderator


Joined: 28 Oct 2004
Posts: 28244
Location: escaped from Swindon
PostPosted: Mon Apr 11, 05 3:23 pm    Post subject: Reply with quote
    

tahir wrote:
jema wrote:
My question is why do you need an actual X Windows session? When you can see a complete Linux desktop with VNC. This on a LAN is a pretty smooth way of seeing an X application, so why the need to "do it properly"?


Gotcha, but how does VNC know which session to display or does it automatically display what's on the console?


You rig linux so when it starts up it creates virtual displays:

You may have a file:

/etc/sysconfig/vncservers

mine has the line:

VNCSERVERS="1:martin 2:sean"

This creates displays 1 and 2 based on some vnc config stuff in my and seans home directories.

I'll see if I can rake out a link.

bagpuss



Joined: 09 Dec 2004
Posts: 10507
Location: cambridge
PostPosted: Mon Apr 11, 05 3:33 pm    Post subject: Reply with quote
    

cygwin is an open source free x windows client for windows but as jema says what you want really depends on what you want to do with it

if you want free and or open source programs there are several which aren't xwindows based or at least have windows ports so you don't need xwindows but instread they take advantage of windows rendering protocols

If you want to run xwindows programs either natively or on a remote machine it does kind of depend

I once tried to install cygwin but I never really had the time or energy to pay with it so never really go it to do much

jema
Downsizer Moderator


Joined: 28 Oct 2004
Posts: 28244
Location: escaped from Swindon
PostPosted: Mon Apr 11, 05 3:34 pm    Post subject: Reply with quote
    

I can see loads of links but maybe we need to get some cogs engaged first like do you have:

/etc/sysconfig/vncservers

and

/etc/rc.d/init.d/vncserver

tahir



Joined: 28 Oct 2004
Posts: 45685
Location: Essex
PostPosted: Mon Apr 11, 05 3:36 pm    Post subject: Reply with quote
    

Got both

jema
Downsizer Moderator


Joined: 28 Oct 2004
Posts: 28244
Location: escaped from Swindon
PostPosted: Mon Apr 11, 05 3:40 pm    Post subject: Reply with quote
    

Then I would add lines like wot I did.

then go into the init.d directory and type:

./vncserver restart

it will proably prompt you for some one off stuff like a password.

When this is done try starting a session from windows:

e.g. if you linux machine has an IP of 192.168.0.240

try

192.168.0.240:1

as the server address.

dougal



Joined: 15 Jan 2005
Posts: 7184
Location: South Kent
PostPosted: Mon Apr 11, 05 3:41 pm    Post subject: Reply with quote
    

bagpuss wrote:
cygwin is an open source free x windows client for windows ....


One strangeness of X is that the *client* is the back-end program and the *server* is the program on the computer you sit at with keyboard, mouse and display.
So I'd guess you're looking for a Win2k X*server* to display the result of a program running on a linux box...
Confused? You will be!

Post new topic   Reply to topic    Downsizer Forum Index -> IT Matters All times are GMT
Page 1 of 1
View Latest Posts View Latest Posts

 

Archive
Powered by php-BB © 2001, 2005 php-BB Group
Style by marsjupiter.com, released under GNU (GNU/GPL) license.
Copyright � 2004 marsjupiter.com