LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-18-2014, 04:24 PM   #1
nesi
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Post Unable to set display in xterm or use any xterm related commands in Ubuntu


I am getting the following error message when xhost command or any xterm related command.

root@ubuntu-vm2:/etc/init.d# xhost +
No protocol specified
xhost: unable to open display ":0"
 
Old 07-19-2014, 11:20 PM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
root@ubuntu-vm2:/etc/init.d#
Are you, perhaps, accessing a virtual guest? Is that what "ubuntu-vm2" means?
Looks like you might not have an X-server running on your virtual guest... you can't open a display because it's not created one, just a tty terminal. As for xterm...you'd have a similar issue if no X server was running.
Can you ssh into the guest?
 
  


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
xterm error display not set fordwrench Slackware 13 12-04-2012 07:28 AM
Spawning xterm from Linux service: xterm: DISPLAY is not set bayoulinux Linux - General 3 11-26-2011 08:35 PM
XTerm(241) support for truetype fonts and method of changing XTerm font. ajassat Linux - Software 2 08-19-2009 12:01 PM
xterm -display remote:0.0 Can't open display - xterm from tru64 to debian 3.1 loopy69 Linux - Software 2 04-01-2008 06:54 PM
how is black xterm background in IceWM when issue a xterm command? BRAHmS Linux - Software 1 02-14-2005 03:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration