clean output from xlaunch and putty

download 1 - open ssh - http://sourceforge.net/projects/sshwindows/files/OpenSSH%20for%20Windows%20-%20Release/ -contains x11 capable ssh.exe needed at least for xming
download 2 - xming - http://sourceforge.net/projects/xming/
download 3 - putty - http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

1. xming settings:
xlaunch
multiple windows
xterm > using ssh.exe from openssh install
parameters: -X -l yourlogin (also not certain what these switches do?)

RESULT = works, but errors:
in xterm window: typing nautilus returns the file manager but with several errors:
Xlib: extension "Generic Event Extension" missing on display "localhost:10.0".
(nautilus:17122): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
** (nautilus:17122): WARNING **: Can not calculate _NET_NUMBER_OF_DESKTOPS
** (nautilus:17122): WARNING **: Can not get _NET_WORKAREA
** (nautilus:17122): WARNING **: Can not determine workarea, guessing at layout

2. putty settings:
logging printable output
keyboard function keys xterm r6
ssh x11 forwarding

RESULT = doesn't work and errors:
typing nautilus returns, "could not parse arguments: cannot open display:"
from xlaunch in black window: "warning: no xauth data; using fake authentication for data for X11 forwarding; warning: cannot convert string "nil2" to type fontstruct"
rtod2Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Artysystem administratorCommented:
Hi here :-)

In xterm window type 'nautilus --browser --no-desktop/'


Regards,
Arty
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Artysystem administratorCommented:
there is a space between --no-desktop and /
0
rtod2Author Commented:
with your instructions and xming, I still get the following result:

from telnet window:
no xauth data; using fake authentication data for x11 fwding
cannot convert string from 'nil2' to type fontstruct

from x11 window:
could not parse argument --no
0
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

rtod2Author Commented:
IGNORE ABOVE POST...
Below are the errors with xming upon your suggestion as I now have all the spaces and dashes in the right places.

$ nautilus --browser --no-desktop /

RESULT:
Xlib:  extension "Generic Event Extension" missing on display "localhost:11.0".
(nautilus:15337): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
(nautilus:15337): Eel-WARNING **: "nautilus-directory.c: directories" hash table still has 1 element at quit time

*Notice that the three (3) errors denoted with a ** in the top post did go away but the last error regarding the hash table is new.








0
Artysystem administratorCommented:
Your dislpay number is 11, so you already have some other SSH session running with X11 forwarding.
Try to disconnect all unused sessions or use display number 11 in XLaunch...
0
Artysystem administratorCommented:
What about eel_ blabla message it's an Ubuntu Keramic bug: https://bugzilla.gnome.org/show_bug.cgi?id=598918

but nautilus should work regardless of this.

0
rtod2Author Commented:
Thanks nopius.  Change made.  Still no luck?
0
Artysystem administratorCommented:
Ok.

Let's try this way
2. putty settings:
logging printable output
keyboard function keys xterm r6
ssh x11 forwarding

RESULT = doesn't work and errors:
typing nautilus returns, "could not parse arguments: cannot open display:"
from xlaunch in black window: "warning: no xauth data; using fake authentication for data for X11 forwarding; warning: cannot convert string "nil2" to type fontstruct"

Are you sure that you do have X11 forwarding enabled?

Try to Save your session in Putty, then load it again (select and load),  then check SSH->X11 forwarding settings, If you don't see it, you didn't save your settings. Then set X11 forwarding, go to Session and press Save. Now you can open it.


0
rtod2Author Commented:
I did save using putty and x11 forwarding is saved.  Here is the resulting output from that session:

Using username "tedpenner".
tedpenner@173.203.211.110's password:
Linux painofintegrity.com 2.6.32.9-rscloud #6 SMP Thu Mar 11 14:32:05 UTC 2010 x86_64

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
You have new mail.
Last login: Sat Apr 17 16:20:52 2010 from adsl-76-202-176-32.dsl.wacotx.sbcglobal.net
$ nautilus
Could not parse arguments: Cannot open display:
$ xterm
xterm Xt error: Can't open display: localhost:10.0


0
rtod2Author Commented:
OK, I have to start the xserver first when using just putty.  I see now.  I did get a window but get similar dirty output:

al.net
$ nautilus
Xlib:  extension "Generic Event Extension" missing on display "localhost:11.0".
Xlib:  extension "Generic Event Extension" missing on display "localhost:11.0".
Xlib:  extension "Generic Event Extension" missing on display "localhost:11.0".
Xlib:  extension "Generic Event Extension" missing on display "localhost:11.0".

(nautilus:25172): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed

** (nautilus:25172): WARNING **: Can not calculate _NET_NUMBER_OF_DESKTOPS

** (nautilus:25172): WARNING **: Can not calculate _NET_NUMBER_OF_DESKTOPS

** (nautilus:25172): WARNING **: Can not get _NET_WORKAREA

** (nautilus:25172): WARNING **: Can not determine workarea, guessing at layout
^C
$


0
Artysystem administratorCommented:
Always start nautilus as
nautilus --browser --no-desktop /

dont run it without parameters. But everything else is OK. Start Xming, Start putty, in putty
nautilus --browser --no-desktop /
0
rtod2Author Commented:
cwg tried this from his local copy of ubuntu with the following result:

=======
cwg@AceUbuntu:~$ ssh painofintegrity.com
cwg@painofintegrity.com's password:
Linux painofintegrity.com 2.6.32.9-rscloud #6 SMP Thu Mar 11 14:32:05 UTC 2010 x86_64

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
You have mail.
Last login: Tue Apr 20 10:30:25 2010 from c-98-203-36-240.hsd1.fl.comcast.net
cwg@painofintegrity:~$ nautilus --browser --no-desktop /
Could not parse arguments: Cannot open display:
cwg@painofintegrity:~$
=======
This is the sort of thing that led me to use the nx-server. Perhaps we could look into a way of running nx-server with a lightweight display environment rather than the gnome desktop it currently brings up; wouldn't that achieve our goal of reduced overhead while retaining functionality?
0
Artysystem administratorCommented:
Hi.

You forget -X
cwg@AceUbuntu:~$ ssh -X painofintegrity.com

0
rtod2Author Commented:
cwg says: AWESOME! IT WORKED.

I think if I were going to do this from windows I would just create a linux virtual machine to do it from. Probably ubuntu. Seems to me putty and xming are not easy to set up. But I may dabble with the putty stuff if you don't have luck, Ted.
0
rtod2Author Commented:
Not sure what you mean by that one.  I made a doc on this Chuck.  It's here:

http://docs.google.com/Doc?id=d98tbfd_238jdwv4xhk
0
rtod2Author Commented:
Thanks Nopius.  You helped clear that one batch of errors.
see question re-direct
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.