A Random Pattern

Archive for the 'OS (operating systems)' Category

Remote Desktop: quick update

Tuesday, August 8th, 2006

I’m away from home currently, so haven’t been able to play with Remote Desktop into Ubuntu. i’m going to list out things I’ve done so far, and what I still want to setup, for reference later.

1. Changed the IP address from Dynamic (DHCP) to static (typed in a specific address, i.e. 192.168.1.200). This actually was extremely easy, and I didn’t have to restart anything. I have a linksys router, and when I changed the ip address it went live.

1. I set up VNC by installing VNC4Server using Synaptics. This was probably unnecessary, though I haven’t fully verified that.

2. I used this (with TightVNC viewer on the Win XP laptop) to view an Ubuntu X-session across my home network, but it wasn’t what I was looking for. It gave me a grey window with a terminal section. I was able to launch a few games, but of course performance was terrible.

3. I found “Remote Desktop” already available under Ubuntu’s [System | Preference] menu. There’s only a few options, and they’re not hard to get right. Make sure to require a password, but you probably don’t want to require acceptance at the computer you are setting up for remote use – unless this is to help a friend or family member without having to go over to their computer :).

4. Run TightVNC again, but this time remember that you need to give the ip address AND display (i.e. 192.168.1.200:0 is default).

Things left to do:

1. Get Remote Desktop (Sharing?) working on KDE – or verify that it won’t work?

2. Figure out sessions, how to change session numbers (why does my alternate KDE session start at 20? How can I make it easier to choose whether to log in to Gnome or KDE?).

3. Try to get Remote Desktop working not just on intranet, but when I’m not at home. Probably a pre-cursor to this is getting a domain name (or two).

4. enough Remote Desktop, move on to “Backing up”. :)  Oh, and I need to write a post on partitions.
Any advice, links, et cetera is quite welcome.  I will be sure to post what I learn.

Remote Desktop, KDE install

Sunday, August 6th, 2006

I got Kubuntu installed. I first made the mistake of just installing KDE-desktop and some other important-looking KDE packages. Then, once I figured out how to log into a KDE session (log off, go to “Options” in the lower left corner, select “Session” then “KDE”) I got into IRC chat and learned that the easy way would have been to install Kubuntu-desktop. I did that, and KDE looked much better, had things in the right place, etc.

However, I still couldn’t get Remote Desktop working. For one thing, it was called “Sharing” instead of “Remote Desktop” (as it is under Gnome). For another, as I eventually discovered, I had left the firewall (Firestarter) running. Even though it hadn’t blocked my other PC the night previously, once I disconnected it started blocking that incoming connection (makes sense since I hadn’t made it an exception). For a third, I finally discovered my KDE session was 20, so trying “ipaddress:0″ or “:1″ or without colon obviously wasn’t going to work.

I still don’t have desktop sharing / remote desktop working for KDE, but I can remote into Gnome anytime I please. I think the VNC viewer and/or server might not allow sharing up to 20, maybe it only allows the first 5 or something. I haven’t looked into it yet, so if you know please tell me. I also don’t know why KDE starts at 20, instead of something much lower (the Gnome session is 0). One thing left to try is making KDE default – so far I’ve kept Gnome as default and just temporarily logged into KDE. This whole ‘session’ concept is still a little foggy for me. There are workspaces, displays, screens, sessions….I know there are differences, I just haven’t figured them all quite out yet. I’ll probably blog more on this.

One other item that was frustrating me until someone on the Kubuntu IRC channel pointed out the obvious: My display was just a few pixels wider than my actual monitor’s screen, and it was bugging me. I was looking for a software adjustment, when someone suggested I use the buttons on my monitor. Duh! The guys on #Ubuntu and on #Kubuntu have helped me out a few times, and I appreciate the community support. Sometimes the only solution is to figure it out yourself, but at least they’ll give you moral support. :)

Followup: Ubuntu and Remote Desktop

Friday, August 4th, 2006

Well, I made that harder than it had to be. Instead of installing VNC stuff, I could have just looked in the System Menu, for the “Remote Desktop” option under “Preferences”. (By the way, I’m using it now to verify the wording of everything.)

Then I just use a VNC Viewer, and there we go, I’m seeing and using my Ubuntu desktop from my Win XP laptop. Of course, quality’s a little low, but I think that’s b/c my wireless signal is weak this far from my router. I need to get the ethernet run and set back up, and this will give me the motivation to do that. I’ll report on how it looks after that.

Also, I found “ALE”, the Atlanta Linux Enthusiasts. Lucky me, there are other geeks around!

Remote Desktop Control and Ubuntu

Thursday, August 3rd, 2006

I set up VNC from my work PC to my Ubuntu box last night.  It was actually really easy, went much smoother than I had expected.  For one thing, Ubuntu gave me no hassle about changing to a static IP, and neither did my Linksys router.  I did have to look around for a minute or two to find how to set it up, but that’s no different than in Windows.  Not to mention it was actually easier than Windows, no rebooting or anything.

It did take a while to figure out how what to use to do remote desktop.  I just want to go over my intranet for now, I’m not (yet) trying to open it up to access from the internet.  I decided to just pick VNC and go with it, since I’m somewhat familiar with that on Windows boxes.  From there, I just used the package manager to find vnc4server, and a few quick downloads, installs, and command-line checks later I thought I might have it setup.

The longest part of the setup was actually picking which VNC viewer I wanted on my Win XP installation.  Someone I respect (Tony A) had recommended UltraVNC, but when I looked at it it wasn’t what I remembered.  I’d also seen TightVNC referred to a lot, and decided to go with that as it looked open-source and ‘linux-friendly’.  The install was again quick.

One tricky part was that I needed to not just specify the server ip address, but also the x-display (like this: 192.168.1.100:1).  That’s an example using default numbers, btw, which no one should ever use (but most people do).  Once I figured that out, BAM!  I was in!

Now for the surprise – it wasn’t quite what I expected.  I didn’t get my whole linux graphical desktop, instead I got a terminal (or command line).  I could type in and run some graphical programs (somewhat slowly), but definitely not what I expected.

Things left to do:

1. See if I can put TightVNC server on Ubuntu, which might give me more what I want.

2. See if VNC is the right path, or if there’s some other type of Remote Desktop option.

3. Start looking into configuring my Ubuntu box as a server, with all the attendant benefits.

4. Help my dad get his old HP (running Win 98!) updated to Ubuntu.  Hopefully this goes well.

Anyone with questions on how I did what I did, or looking for more information / screenshots on what was accomplished?

Anyone have more information on how to set up some sort of Remote Desktop thing?  I’d love to learn, and I’ll point at any blog or resource you send me that is helpful.