LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-17-2010, 05:21 AM   #1
mr.blacklisted
LQ Newbie
 
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
Thumbs down Xterm related query


when i used the xterm command on my server then i get the following error
how i can go through it
can anybody plzz help me out

The i wrote was: xterm -bg purple

error:
xterm Xt error: Can't open display:
xterm: DISPLAY is not set
 
Old 11-17-2010, 10:36 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
How did you log into the server? Is your console on an X server? You use the term 'on my server' which makes me think you may be trying to run an X application from a text-mode console. If you used something like ssh to login from a GUI console, then you could probably simply add the '-X' option to the ssh commandline:
Code:
ssh -X joebloggs@my.server.somewhere
This should result in a login shell where $DISPLAY is set to something like 'localhost:10', at which point you should be able to run X applications.

--- rod.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Query related to syslog? your_shadow03 Linux - Newbie 5 05-15-2009 11:32 AM
A Query related to Git? your_shadow03 Linux - Newbie 10 04-24-2009 12:35 AM
shell related query !!!!!!!!!!! iacharyya Linux - General 10 06-09-2008 07:39 PM
One query related libstdc++.so.5 utkarshrawat Linux - Newbie 2 05-27-2008 03:01 AM
kernel related query abhidude Linux - General 2 11-29-2004 10:09 AM


All times are GMT -5. The time now is 07:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration