Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do I access one of my TTYs from a computer on my home network?

For example, if my Ubuntu PC is running, and I want to access it's terminal from my Mac or Windows PCs that are on the same network.

share|improve this question
add comment

2 Answers

Apart from using screen you could use linuxvnc (manpage), a "VNC server to allow remote access to a tty". It can grab a TTY session and display it for use in a VNC window. Install it via apt:

sudo apt-get install linuxvnc

Once that is done, fire it up: (root access is required to grab TTYs)

sudo linuxvnc X

Where 'X' is the TTY # you want to grab. You could do this in a SSH session if you don't have physical access to the server. linuxvnc should indicate that it's listening on port 5900. Now connect with a VNC Viewer of your choice.

share|improve this answer
add comment

Install SSH server on the Ubuntu machine, then use an SSH client on Windows or Mac.

sudo install ssh

To connect from Mac I believe you may be able to use a command line client:

ssh my.ubuntu.box -u myusername

To connect from Windows you can use a GUI client, such as PuTTY.

(if you want to connect to an existing TTY, e.q. to start a session on the Ubuntu box locally, then walk to your Windows machine and connect to the same session from there then you need to use screen command in combination with SSH access. See man screen for more details)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.