Can't launch x11 remotely from terminal

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Can't launch x11 remotely from terminal
# 1  
Old 07-25-2011
Question Can't launch x11 remotely from terminal

After I installed OS X Lion I haven't been able to launch x11 remotely (using ssh) from Terminal.

It works fine locally, and also remotely directly from the Xterm.

I log in to the unix server at my university from the terminal like this:

Code:
ssh -l -X login@host.com

This used to launch x11 and allowed me to run applications such as nedit from the unix server, but this does not work on Lion.

Does anyone have an idea how to solve this problem??

It works fine when I log into the unix system directly from Xterm in the same way as above, but I perfer to use Terminal.

Any help is greatly appreciatedSmilie

Best Sara

Last edited by radoulov; 07-25-2011 at 11:52 AM.. Reason: Code tags.
# 2  
Old 08-11-2011
Hi I also us a Mac at home. I use it to login to the server I have at home.
Anyway if -X is not working you can try using -Y. I don't think you need the -l in your command. This what I do:
Code:
ssh -X [username]@[servername]

If you create an account on your Mac with the same username as the account you use at school and only need this:
Code:
ssh -X [servername]

If you do this then you can even use RSA or DSA keys to login instead of using your password. More secure.

Also check your firewall and network setting Lion may have made some unwanted changes.

A little late but I hope it helps.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Cannot get terminal application to launch with a graphical launcher when successful in terminal

I have been having an extremely annoying problem. For the record, I am relatively new at this. I've only been working with unix-based OS's for roughly two years, mostly Xubuntu and some Kali. I am pretty familiar with the BASH language, as that's the default shell for debian. Now, I've made this... (16 Replies)
Discussion started by: Huitzilopochtli
16 Replies

2. Red Hat

Not able to see the terminal icon in the applications menu to launch the command prompt in Centos

After installing centos iam not able to see the terminal icon in the applications menu to launch the command prompt in Centos. However iam able to see the Open Terminal menu, when i right click and it is not working. let me know what are the things i need to check.:b: (1 Reply)
Discussion started by: Kesavan
1 Replies

3. Solaris

Can i bind to a local login terminal running using rsh or remotely

Hi Can i ask? I had multiple solaris workstation running and some local users using it. Is it possible to bind to the local user terminal or console he's using as if like the user well type and I can see it and what my typing in the local user see it also. Is it possible.. Thanks. (3 Replies)
Discussion started by: jao_madn
3 Replies

4. Shell Programming and Scripting

How do I launch a command on an existing terminal in unix using PERL

Hello, I have a PERL-TK based GUI from which I want to launch a command on an existing UNIX terminal (this is also the parent terminal for this perl based gui window). The command I want to launch is interactive (there is no intention to interact with that command from the same PERL gui i.e. no... (2 Replies)
Discussion started by: AnuragJindal
2 Replies

5. OS X (Apple)

Need help writing an Applescript to launch a specific Terminal Command...

I developed a script in Lingon (which is an automated script editor developed for OS X) that is used to automatically restart programs only if they crash. The script itself does just that, but I only want it to load if I'm going to use the specific application that it's designed to protect. In the... (2 Replies)
Discussion started by: JFraser1
2 Replies

6. Shell Programming and Scripting

Need help writing an Applescript to launch a specific Terminal Command...

I developed a script in Lingon (which is an automated script editor developed for OS X) that is used to automatically restart programs only if they crash. The script itself does just that, but I only want it to load if I'm going to use the specific application that it's designed to protect. In... (3 Replies)
Discussion started by: JFraser1
3 Replies

7. UNIX for Dummies Questions & Answers

Gnuplot wxt terminal vs x11 terminal

Hi, I installed ubuntu recently on my pc. And I installed gnuplot as well. When I first started working with gnuplot it was working . I did a plot and when I wanted to fit my data something happened and not the default terminal of gnuplot is xwt! I changed it to: set terminal x11, but it... (0 Replies)
Discussion started by: cosmologist
0 Replies

8. Windows & DOS: Issues & Discussions

cygwin-x/can't install xorg-x11-f100 & xorg-x11-fnts

Hello All. Really a newbie to Linux/Unix. Trying to get into Linux. Using XP PE currently. Installed cygwin and trying to intall cygwin-x. Everything else is setup nice but i can't seem to install these two packages (without whom xwin won't start) 1. xorg-x11-f100 2. xorg-x11-fnts Tried the... (1 Reply)
Discussion started by: binodbdrchand
1 Replies

9. Solaris

Script to launch terminal window?

Hi, I am a newbie here. Trying to find a way of writing a script to launch multiple terminal or console windows on solaris 9. I used to be able to do this using cmdtool on older versions of solaris and it was even possible to configure the size and screen position of the window and the title. ... (5 Replies)
Discussion started by: omerta
5 Replies

10. OS X (Apple)

disk management through terminal/X11

Just being curious and trying to learn so i can say that i know. The only thing that i cannot do through terminal is disk management. whether .dmg or cd's, i have not been able to find a tutorial on how to mount, unmount, and/or eject disks. Does anyone here know how to do it or where to look?... (2 Replies)
Discussion started by: j4m45
2 Replies
Login or Register to Ask a Question