There are several ways to start graphical applications remotely with Linux. One of the most simple and obvious is ssh with -X input parameter. Command ssh -X user@host “firefox” will start best browser ever from remote host (you’ll see it in your local X session). But what about remote session instead of single applications?

To start remote X11 session on first console (switch to it with CTRL+F1) execute:

xinit ssh -X user@host "startkde" -- :1

Now you can switch between local session (CTRL+F7) and remote one (CTRL+F1). Be careful: it’s very easy to mix up remote and local systems by sight 🙂

My respect to Alexey Sveshnikov.

You may also be interested in:
Secure shell (ssh) connection without password
Keep ssh session saved (Unix “screen” utility)
Moving Linux to remote server (over ssh via third server)
Secure shell (ssh) session timeout




  1. April 20, 2011  9:53 am by Tarot barato Reply

    Of course I like your website, however you need to check the spelling on several of your posts. Several of them are rife with spelling issues and I find it very bothersome to tell you. However I’ll definitely come again again!

  2. April 20, 2011  4:50 pm by IT Outsourcing London Reply

    Hello. Cool article. There is an issue with the website in internet explorer, and you may want to check this... The browser is the marketplace chief and a good component to other people will miss your magnificent writing because of this problem.

  3. April 27, 2011  10:44 am by professional vehicle valeting Reply

    Good site! I truly love its clean look, just like we love to clean cars lol. I am going to retweet this url on my personal account. I've subscribed to your RSS which I look forward to the next artical. Have a wash and wax day!

  4. April 28, 2011  10:42 am by What is ADD Reply

    Thank you for a very interesting blog. Where else may I get that type of information written in such a perfect way? I have a undertaking that I am just now working on, and I've been at the look out for such info.

  5. May 2, 2011  5:33 pm by buikspieren trainen Reply

    Hiya, I'm really glad I have found this information. Nowadays bloggers publish just about gossip and internet stuff and this is really annoying. A good website with interesting content, that's what I need. Thanks for making this web site, and I'll be visiting again. Do you do newsletters? I Cant find it.

  6. May 2, 2011  10:05 pm by austin landscape stone Reply

    Great post. I’m a normal visitor of your blog and appreciate you taking the time to maintain the nice site. I'll be a frequent visitor for a really long time.

  7. May 3, 2011  1:47 am by Florence and the Machine Reply

    Hi there. I discovered your web site by way of Google while looking for a similar topic, your site got here up. It appears to be great. I've bookmarked it in my google bookmarks to come back later.

  8. May 3, 2011  1:55 am by Jason Aldean Reply

    Hi there. I found your blog via Google at the same time as searching for a similar subject, your web site came up. It seems good. I've bookmarked it in my google bookmarks to come back later.

Leave a reply


Your email address will not be published.