Welcome to Dream.In.Code
Getting Help is Easy!

Join 117,270 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,791 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Xterm issue

 
Reply to this topicStart new topic

Xterm issue

bigdoggy
post 25 Apr, 2008 - 02:10 PM
Post #1


D.I.C Head

**
Joined: 31 Oct, 2007
Posts: 115


My Contributions


Hi guys

I am using ssh to access my school file store, but after I've logged in and attempt to open nedit, I get an error message

X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 91 (X_QueryColors)
Value in failed request: 0xfffafad2
Serial number of failed request: 4683
Current serial number in output stream: 4683

please does anybody know how to solve it and why it's occured?
User is offlineProfile CardPM

Go to the top of the page


bigdoggy
post 25 Apr, 2008 - 05:24 PM
Post #2


D.I.C Head

**
Joined: 31 Oct, 2007
Posts: 115


My Contributions


Moreover, can this be done...Can I open nedit from a local machine while connected to a remote machine via ssh?
eg once I'm logged into my school filestore, and enter 'nedit' to start the text editor and then 'save as' to save onto my school filestore? Or can I only access and modify pre existing files from the filestore?

I've looked into ssh, but I can't figure out how to copy a file from a local machine to a remote one....?
User is offlineProfile CardPM

Go to the top of the page

MorphiusFaydal
post 25 Apr, 2008 - 05:59 PM
Post #3


D.I.C Lover

Group Icon
Joined: 12 May, 2005
Posts: 1,051



Thanked 7 times

Expert In: Hardware, Networking

My Contributions


If you're trying to copy files, do man scp.

nEdit is a X application. Unless you're doing X11 forwarding over SSH, you're not going to be able to run it. A lot of administrators explicitly disable X11 forwarding. If you need to edit something on the remote system, use the CLI editor that's installed on the server.. typically nano, vi (or more likely, vim), or emacs.
User is online!Profile CardPM

Go to the top of the page

Tom9729
post 25 Apr, 2008 - 06:00 PM
Post #4


Debian guru

Group Icon
Joined: 30 Dec, 2007
Posts: 1,428



Thanked 10 times

Dream Kudos: 325
My Contributions


Use sftp or scp to copy files to and from a remote machine.

Is nedit a gui application? If X11 forwarding is not enabled on the remote machine then it will not work.

Using ssh you can do anything you could locally on the remote machine.

Edit: Morphius beat me to it.

nano is a very basic but easy to use editor. If you're doing any programming you'll probably want to learn vim or emacs. Or you could ask your network administrator about X11 forwarding.

This post has been edited by Tom9729: 25 Apr, 2008 - 06:01 PM
User is offlineProfile CardPM

Go to the top of the page

no2pencil
post 26 Apr, 2008 - 07:24 PM
Post #5


Wet D.I.C.

Group Icon
Joined: 10 May, 2007
Posts: 5,406



Thanked 35 times

Dream Kudos: 2325

Expert In: Goofing Off

My Contributions


That's actually a strange error to me. You should get a default "Graphical library not loaded" or something similar indicating that (as previously pointed out, twice) XWindows isn't running.
User is online!Profile CardPM

Go to the top of the page

MorphiusFaydal
post 26 Apr, 2008 - 08:01 PM
Post #6


D.I.C Lover

Group Icon
Joined: 12 May, 2005
Posts: 1,051



Thanked 7 times

Expert In: Hardware, Networking

My Contributions


Except that the X libs most likely *are* loaded. His terminal is just reporting as a vt102 compatible text console... So the error is bitching about being unable to start an X session, or unable to connect to a running X session.
User is online!Profile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 10/6/08 10:21PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month