RE: x over putty x forwarding over ssh and the like.

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: todd hewett
Date:  
To: plug-discuss
Old-Topics: Re: x over putty x forwarding over ssh and the like.
Subject: RE: x over putty x forwarding over ssh and the like.
So I am still trying to get X over SSH working.

When I run command:
[root@ns1 root]# xeyes
Error: Can't open display:

I wonder if this is because where I have the X display location set up in
putty. Localhost:0

If I run xinit over my SSH connection to server I get:

(==) Log file: "/var/log/XFree86.0.log", Time: Mon Jan 24 10:50:42 2005
(==) Using config file: "/etc/X11/XF86Config-4"
(EE) xf86OpenSerial: Cannot open device /dev/psaux
        No such device.
(EE) Mouse0: cannot open input device
(EE) PreInit failed for input device "Mouse0"
No core pointer


Fatal server error:
failed to initialize core devices

If you encounter a server crash, please report the problem by filing a bug
report in the XFree86.org bugzilla at http://bugs.xfree86.org and/or Red Hat
bugzilla at http://bugzilla.redhat.com/bugzilla.  When filing your report,
it
is very important that you explain your problem in as much detail as
possible,
and include a complete description on how to reproduce the problem.  After
submitting the bug report, attach the following files as uncompressed
individual file attachments using the bugzilla file attachment feature:
        - X server log file: /var/log/XFree86.0.log
        - Kernel log file: /var/log/messages


XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.



Thanks for your insite

-----Original Message-----
From:
[mailto:plug-discuss-admin@lists.plug.phoenix.az.us] On Behalf Of Kevin
Brown
Sent: Sunday, October 31, 2004 2:12 AM
To:
Subject: Re: x over putty x forwarding over ssh and the like.

>> Anyone have any experience running x over SSH?
>>
>> I have made it this far:
>>
>>
>> - Make sure the X server is configured and running - Open your SSH
>> session (with X11 forwarding enabled) - type xterm, or your window

manager
>> command, or the name of any other X program
>>
>> Here is the rub that I have.
>>
>> My Linux box is sitting in a rack without a mouse or keyboard attached to


>> it.
>>
>> So when I startx it fails because it is looking for local mouse and
>> keyboard that are not attached to it.
>>
>>
>> Is there a good (easy) way around this?


> I use vncserver. I ssh into my linux machine from windows via putty. Start


> the server with `vncserver :1 -geometry 1024x768`. I can then tunnel my

vnc
> session(?) through putty.
>
> I haven't tried doing this from one linux machine to another.


I have experience doing X over SSH and never bothered with doing startx. I
just
fired off whatever app I needed or even just fired up my WM directly (e.g.
icewm
&). You should only be doing startx when you are logged directly into the
machine at the local keyboard/mouse...
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss