LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-27-2014, 03:13 PM   #1
z1pp
LQ Newbie
 
Registered: Dec 2012
Posts: 8

Rep: Reputation: Disabled
Connect to Lubuntu Desktop with X


I am using Lubuntu 14.04 and am able to ssh into it from a windows pc and run a command such as pcmanfm which opens the file manager or firefox which obviously opens the web browser through X. It works fine.

I want to be able to type a command and open the main Lubuntu desktop (what it looks like when I am at the computer and log in normally or when I open a tightvnc connection) if this is possible.

From what I have read, this can be done with distros like ubuntu and kubuntu, but I cannot find how to do this with Lubuntu.

I have tried things like startx, gnome-session, lubuntu-session, start lightdm, and several other combinations. Sometimes it does nothing and sometimes gives errors.

If someone can help, I will try it and if I have errors, come back for more assistance.

Last edited by z1pp; 07-27-2014 at 04:09 PM.
 
Old 07-27-2014, 03:58 PM   #2
notKlaatu
Member
 
Registered: Sep 2010
Location: Wellington, New Zealand
Distribution: Slackware, Fedora
Posts: 921

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
Lightdm or gdm or xdm or kdm are, essentially, login prompts for a gui.

No need to ssh yet. On your local machine (the one you are sitting at), get to your GUI login prompt (you can just log out and it should take you there). I use KDM but any should work, as far as I know. Instead of logging in as usual, find the options menu (on KDM it's labelled MENU; on others, it might be an icon or a diiferent name; click around til you find it) and select "Remote Login".

Remote Login will prompt you for a user, host, and password. Enter those for your remote machine (the one you want to remotely log into) and then you will be logged in to your remote Lubuntu desktop.
 
Old 07-27-2014, 04:09 PM   #3
z1pp
LQ Newbie
 
Registered: Dec 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
I guess I should have written that I am using ssh on a windows box to access the Lubuntu box. I will edit that post if it is possible. Additionally, on the Lubuntu login screen, there are no selections for remote login (although this doesn't matter since I want to login to this Lubuntu machine from windows and not into any other pc from Lubuntu).
 
Old 07-28-2014, 10:40 PM   #4
notKlaatu
Member
 
Registered: Sep 2010
Location: Wellington, New Zealand
Distribution: Slackware, Fedora
Posts: 921

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
Oh OK, I didn't realise. Yeah I have no experience with Windows, having lived a sheltered life.

I do know there is something called https://www.nomachine.com/download which is supposed to give you a full desktop session. Otherwise, I don't know how to get your entire Linux desktop environment on Windows. Maybe someone else does. Otherwise, maybe try NoMachine. I saw it demonstrated at Ohio or SouthEast Linux conference, and it did look pretty slick.
 
Old 07-28-2014, 11:17 PM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
If you want a full desktop session, you might look at something like VNC. There are a number of clients and servers available.
 
Old 07-28-2014, 11:48 PM   #6
notKlaatu
Member
 
Registered: Sep 2010
Location: Wellington, New Zealand
Distribution: Slackware, Fedora
Posts: 921

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
Apparently XMing does full screen too:

http://courses.cms.caltech.edu/cs11/misc/xwindows.html

Same disclaimer as before; I've not tried it myself.
 
Old 07-29-2014, 06:08 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Get tigervnc for Windows. Use that as the client/viewer.
And x11vnc for lubuntu, should be available for lubuntu. Enables you to see exactly the screen you would see if you were at your lubuntu computer.

http://tigervnc.org/

http://www.karlrunge.com/x11vnc/
 
Old 07-29-2014, 06:42 AM   #8
z1pp
LQ Newbie
 
Registered: Dec 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
I have tightvnc already installed and it does do what I want. I also have xming installed on the windows pc and that is how I'm able to use x to access things like the file manager and Firefox. I just wanted to see if there was a solution to use an x tunnel through ssh to access a full lubuntu desktop like I am doing with tightvnc. It seems that it can be done with things like ubuntu or kubuntu, so I wanted to try to see if I can do it with lubuntu. I will check out the nodownload program, but I'd really like to see if I can do this using x and xming. I will also look over the link that notklaatu posted and see if that helps. x11vnc looks useful so I'll probably check it out too.

Last edited by z1pp; 07-29-2014 at 06:51 AM.
 
Old 07-29-2014, 06:51 AM   #9
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Well, Ubuntu, Kubuntu, Xubuntu, and Lubuntu are all the same underneath the different desktop environments/window managers - so they should all behave the same, be capable of doing the same things.
 
Old 07-29-2014, 07:22 AM   #10
z1pp
LQ Newbie
 
Registered: Dec 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Exactly. That is why I wish I could find the illusive command that would show the full desktop.
 
  


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
lubuntu on beagleboard (xdm) - I get no desktop eantoranz Linux - Software 0 08-04-2012 03:17 AM
Lubuntu: can't access login desktop options jola66 Linux - Newbie 3 04-18-2012 05:19 AM
change desktop wallpaper on Lubuntu roger1 Linux - Newbie 2 02-10-2012 12:40 PM
ubuntu-desktop vs. kubuntu-desktop vs. xubuntu-desktop vs. lubuntu-desktop vs. unity Kenny_Strawn Ubuntu 18 05-13-2011 10:20 AM
Lubuntu 10.10 Symbolic Link to Desktop from Directory metallica1973 Linux - General 7 10-25-2010 09:19 AM


All times are GMT -5. The time now is 02:14 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration