Can't open VirtualBox from Tera Term X11 error


 
Thread Tools Search this Thread
# 8  
# echo $DISPLAY

#
Nothing?
# 9  
VirtualBox won't even try to use the forwarded port if DISPLAY isn't set. It ought to be setting DISPLAY for you if X11 forwarding is set, but the remote server can sometimes just not do that part of it.

It may be you need to forward the port manually, if the remote side is blocking X11 forwarding.

Once you get the correct port forwarded to the remote side, do

Code:
DISPLAY="localhost:portnumber" ./VirtualBox

# 10  
Code:
# DISPLAY="localhost:portnumber" ./VirtualBox
Failed to open the X11 display!
#


Last edited by Corona688; 03-30-2012 at 04:21 PM.. Reason: Code tags for code, please.
# 11  
I don't literally mean 'portnumber'. Substitute the appropriate number for it. localhost is correct however
# 12  
# DISPLAY="localhost:0.0" ./VirtualBox

Now I just have a flashing cursor it didnt give me a # for the next line

---------- Post updated at 03:28 PM ---------- Previous update was at 03:24 PM ----------

# set DISPLAY=localhost:0.0
# export DISPLAY
# cd /usr/bin
# pwd
/usr/bin
# firefox
Error: no display specified
#
# 13  
Don't use 'set'. You had it right the first time, just DISPLAY=".." whatever

Where did you get 0.0? That would be the solaris server's own X11 server -- not yours.
# 14  
# set DISPLAY=localhost:23
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Error term undefined

i keep getting this error when i ssh using my id - any idea (2 Replies)
Discussion started by: tariq_m
2 Replies

2. UNIX for Advanced & Expert Users

Issue with rm command in a tera byte file system

We have a production file system which has 6+ million files with more than 1 tera byte in size. When trying to delete selective files through a weekly script files are not deleted. Please advise with ideas. (5 Replies)
Discussion started by: kppublicmail
5 Replies

3. Virtualization and Cloud Computing

Error in virtualbox while instaling guest additions

Failed to open the CD/DVD image /usr/lib/virtualbox/additions/VBoxGuestAdditions.iso. Could not get the storage format of the medium '/usr/lib/virtualbox/additions/VBoxGuestAdditions.iso' (VERR_NOT_SUPPORTED). Result Code: VBOX_E_IPRT_ERROR (0x80BB0005) Component: Medium Interface: IMedium... (9 Replies)
Discussion started by: upvan111
9 Replies

4. Solaris

X11 and "Cannot Open Display" errors

Greetings Forumers! I'm posting a solution to an Issue I ran into this week: Getting applications to display on another through X11 and SSH. I have run into this issue many years ago and finally found my notes. Some of you may already know the answer to this issue but it took me a while to... (1 Reply)
Discussion started by: bluescreen
1 Replies

5. OS X (Apple)

Permission Denied Error with X11

Hello, I am using Tiger 10.4.11 I am trying out the GIMP, so I installed the X11 package from "Optional Installs" on the cd. Whenever I open X11, I get an error: xterm: could not exec /dev/null: Permission denied I have chmodded /dev/null to 777, as well as the /tmp directory. I deleted... (2 Replies)
Discussion started by: Ricardo-san
2 Replies

6. Solaris

Tera Terminal Emulator

Hello Expert! :b: Question for you guys, Can anyone tell me how to use terminal emulator on Windows XP to view Solaris config? I have no idea on Solaris and the only thing I could do is to boot it up. Honestly, I have given a tasked to delete all the files and some necessary memory information... (2 Replies)
Discussion started by: katsloko
2 Replies

7. Solaris

ssh X11 tunnelling error

Hello freinds. Recently installed solaris 10 on a "sun ultra 10" with all the included features in the 5 CD set except sendmail support which i never needed. I am trying to ssh into the servers at my school which I can very easily do using linux. It seems that there is something wrong with the... (2 Replies)
Discussion started by: aijazbaig1
2 Replies

8. Shell Programming and Scripting

Search term and output term in desired field

Hi All, I have an input_file below and i would like to use Perl to search for the term "aaa" and output the 3rd term in the same row as "aaa".For Example, i want to search for the term "ddd" and would want the code to ouput the 3rd term in the same row which is "fff". Can somebody help ? ... (28 Replies)
Discussion started by: Raynon
28 Replies

9. Programming

Create a Term & Run chars on this Term

hi floks ! i'd like to know how can i transmete a character or a string from my source code to a term and make it interpret or un by the shell wich is running in my term. I'd like to create a Term from my code (and get its file descriptor) and then transmete each char typed on the keyboard to... (1 Reply)
Discussion started by: the_tical
1 Replies

Featured Tech Videos