WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Xwindows or Freenx in a guest domain

To: "Steven Anderson" <hikenboot@xxxxxxxxx>
Subject: RE: [Xen-users] Xwindows or Freenx in a guest domain
From: "Jamie Moore" <jmoore@xxxxxxxxxx>
Date: Fri, 16 Dec 2005 12:36:05 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 16 Dec 2005 17:38:28 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcYCYslzXaFl7+AXRmyULmD9j8qKhwAA76gQ
Thread-topic: [Xen-users] Xwindows or Freenx in a guest domain

No problem. My guest /etc/sshd_config has all the default values, I changed nothing but the following log level (BTW my guest and host are both RHEL AS 4 Update 2):

 

# Logging

#obsoletes QuietMode and FascistLogging

#SyslogFacility AUTH

SyslogFacility AUTHPRIV

LogLevel DEBUG3

 

Also getting freenx working was very easy. I simply installed the packages listed on this page (none for RHEL 4.1 so I used the fedora core 3)

 

http://fedoranews.org/contributors/rick_stout/freenx/

 

Once that was done I connected using the free NoMachine client. I never touched xhost.

 

http://www.nomachine.com/download.php

 

 

 

 

Regards,

 

Jamie Moore


From: Steven Anderson [mailto:hikenboot@xxxxxxxxx]
Sent: Friday, December 16, 2005 9:04 AM
To: Jamie Moore
Subject: RE: [Xen-users] Xwindows or Freenx in a guest domain

 

Jamie:

Thanks for your reply. Is it possible for you to atatach your sss-config? I tried doing with /without freenx and with /without xnest with no luck....but the different log method might reveil somthing. Please attach config.

Have a happy holiday!


regards,

steve
Jamie Moore <jmoore@xxxxxxxxxx> wrote:

I was able to get freenx working just fine once ssh was able to create a /tmp file properly (I previously did not have it writable). Not sure if this will help but I don’t believe you will be able to connect to freenx with ssh in debug (sshd –d) as sshd wont fork in debug mode. Did you try connecting without ssh in debug? If you want to get more info from ssh while connecting, what I did was in set the log level to the highest in ssh-config and tailed my secure log.

 

Regards,

 

Jamie Moore


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Steven Anderson
Sent: Friday, December 16, 2005 6:49 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xwindows or Freenx in a guest domain

 

Greetings!

I tried to get FreeNX working and was getting sigterm 15 error. Which noone was able to help with. I decided to troubleshoot the problem by just connecting thru SSH -Y connection from dom0 to domU. The image for the guest was created in qemu and the system partition was migrated to a raw partition for use with Xen. I have spent two weeks troubleshooting it and no luck. I have reinstalled openssh and its dependents on both domU and dom0 and still no luck at all. I am at my wits end with this problem. I have spent about 12 hours with people from the #linuxhelp #fedora from freenode and irc.oftc.. and noone has been able to help.. They think its a Xen issue but I am not sure. Next I was going to try and get it working from dom0 to the qemu image to see if it made a difference.

Here is the details

trying to setup xnest session to remotely launch xterm (later on I would like to get gnome working remotely)

on the server side I have IP! address 192.168.15.101
on the client side I have IP address 192.168.15.100

I am not using DNS

I launch the SSHD with the command /usr/sbin/sshd -d -p 1236

It says

debug1: sshd version OpenSSH_4.2p1
debug1: read PEM private key don! e: type RSA
debug1: private host key: #0 type 1 RSA
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-d'
debug1: rexec_argv[2]='-p'
debug1: rexec_argv[3]='1236'
debug1: Bind to port 1236 on 192.168.15.101.
Server listening on 192.168.15.101 port 1236

On the client I issue  xhost +

It says

access control disabled, clients can connect from any host

I type Xterm

an Xterm session starts
 
In the Xterm session I type

Xnest :1 -ac &
It informs me
Could not init font path element /usr/X11R6/lib/X11/fonts/TT! F/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!

I hit <enter>

A prompt appears

I type ssh -Xvvv -p 1236 hikenboot@xxxxxxxxxxxxxx

It tells me

It says a bunch ! of stuff
then It says
debug3:authmethod_is_enabled password
debug1: Next authentication method: password
hieknboot@xxxxxxxxxxxxxx's password:

I type my password

It says a bunch of stuff then it says
debug1: Recieved SIGCHLD.

and then a prompt appears

I type export DISPLAY=192.168.15.100:1

then I type
xterm

the last lines on the server say

debug1: session_new: session 0
debug1: session_open: channel 0
debug1: session_open: session 0: link with channel 0
debug1: server_input_channel_open: confirm session
debug1: server_input_channel_req: channel 0 request x11-req reply 0
debug1: session_by_channel: session ! 0 channel 0
debug1: session_input_channel_req: session 0 req x11-req
debug1: channel 1: new [X11 inet listener]
debug1: channel 2: new [X11 inet listener]
debug1: server_input_channel_req: channel 0 request pty-req reply 0
debug1: session_by_channel! : session 0 channel 0
debug1: session_input_channel_req: session 0 req pty-req
debug1: Allocating pty.
debug1: session_new: init
debug1: session_new: session 0
debug1: session_pty_req: session 0 alloc /dev/pts/1
debug1: server_input_channel_req: channel 0 request shell reply 0
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req shell
debug1: Setting controlling tty using TIOCSCTTY.
 
on the clients xterm /xnest session it just hangs!

thats it..

thanks in advance for your help and happy hollidays!

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the ! best spam protection around
http://mail.yahoo.com

 

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users