Ubuntu Networking :: Headless GNOME VNC Server On Lucid Lynx Desktop ?
May 9, 2010
I had to do quite a lot of digging before I managed to work out how to do this. It turns out to be reasonably straight forward, and so here is my howto all in one place.
Objective: Connect to my Ubuntu (Lucid Lynx) Desktop machine (which does not have a screen or keyboard) using a remote desktop viewer and get my usual GNOME desktop interface. And have the desktop persist while I am not disconnected.
I have recently discovered one niggly issue with some of the keys being messed up. 'm' and 's' in particular? I am looking into it and will update this post when I have resolved it.
The following steps were performed on a freshly installed version of Ubuntu 10.04-desktop. Just for clarity:
Code:
Install a VNC server. There is a choice of servers I chose the "tight" one.
Code:
Setup your VNC password. This password isn't very important as my setup will only allow for connections via SSH, so 123456 is what I used. One can possibly disable it?
Code:
At this point or the first time you run 'vncserver' (I forgot to check) the all important and much discussed ~/.vnc/xstartup file is auto generated. This is the make or break place where you can either get GNOME over VNC or not. My xstartup which required NO changes was:
Code:
Give the VNC server a test, by running it from the command line.
Code:
Try connecting to the VNC server:
Code:
Ok if that all worked then great! It all did for me and my machine was fresh from the CD.
Now we setup the VNC server to run all the time. There are a variety of ways of doing this. Since this howto requires the use of a SSH shell one could quite easily run the vncserver (as we did above to test it) and then disown (haven't tested if this is actually required) commands the first time you connect. This would leave the VNC server running until you used the vncserver --kill command. This would be a suitable approach if you had many different users wanting to have VNC GNOME desktops.
For convenience in a single user setup we can get the VNC server to be started at boot time:
Code:
Make the contents of 'vncserver.user' (credits to some smart guy on some blog out there that I couldn't find again. and then I made a few improvements):
Code:
View 9 Replies
ADVERTISEMENT
Jul 11, 2010
How can you disable GNOME autostart in lucid, so it can be started only when i need it?
View 5 Replies
View Related
Sep 18, 2010
I'm running Ubuntu 10.04 Lucid Lynx Desktop Edition and most of the time I get these random freezes and then I have to turn off my computer and reboot it back on. It's getting really annoying because I am constantly downloading huge packs of data and it freezes and then I have to start re downloading...
View 2 Replies
View Related
May 14, 2010
I just did a distribution upgrade on my laptop from 9.1 to 10.04, and it went fine for the most part except this issue. After it boots up, I don't see any window titles/scrollbars/borders and on clicking the icon for "Show desktop" on the bottom left I see the following error message: "Your window manager does not support the show desktop button, or you are not running a window manager."
After googling a bit, I realized that gnome-wm is not starting automatically and so I have to manually start each time to see the windows working properly. Can somebody tell me if there is a way to make sure that gnome-wm starts automatically? I know I can put it in my .bashrc but I want to do it the correct way if possible. If not, I will have to go with that workaround
View 4 Replies
View Related
May 14, 2010
Cant enable desktop effects Nvidia 9200M GS after update to Lucid Lynx
View 3 Replies
View Related
Jul 25, 2010
I was running a small LAMP setup on my homenetwork with Ubuntu 9.4. Every thing was working OK. I then upgraded to 10.04 and now my php does get executed. Apache is still working, but I suspect something in the config has changed, but I don't know what.When I try to load a .php file, the resultant web page is just blank, if I have a .html file with php code in it, the page is not rendered from the point where the php starts. I have checked /var/log/apache2/error.log and there is nothing in that file.
View 5 Replies
View Related
Aug 30, 2010
I want to install Ubuntu Server distro. First i downloaded ubuntu-10.04.1-server-amd64.iso and "burned" it to my usb-pen using UltraIso software for windows. That booted from the usb, but just after punshing in the language etc it complains that it cant find the cdrom or something like that. then i try the [url], but that wont boot at all with this same iso mentioned above. and burn it to a darn CD. it boots, but somewhere during the process it stops and asks for the same cd that is actually in the drive already. there is a thread about this here: [url] I then wanted to find an easy iso that i could throw on my usb-pen and install the whole thing through ftp like i did in the old days with floppies. but man, i got lost in the documentation with no clear path on how to do it.
View 1 Replies
View Related
Jun 14, 2010
I just installed opendkim but I have no idea how to set it up.
View 2 Replies
View Related
May 15, 2015
I'm currently using the default Gnome desktop environment on my server when I connect via VNC, but I've been trying to Openbox on Crunchbang lately and I rather prefer it for being so light. I'm a relative noob and don't want to cock anything up - what's the simplest way to switch to the Openbox environment for when I connect via VNC, and once that's working, whats the safest way to remove Gnome?
View 8 Replies
View Related
May 26, 2010
I am running dual boot of windows professional xp and ubuntu lucid lynx.I am experiencing a slow network with ubuntu.I am connected through trend net wireless N adapter and dlink 524 wireless router.my network icon is down to 1 bar,25-30% mostly.
View 4 Replies
View Related
Oct 4, 2010
Right after playing Assult Cube, I lost my wireless. Folling the directions from this sticky, the information is listed below. Any ideas as to what I can do to get my wireless back?
1. Dell Inspiron 1545
2. lspci
sef@osg:~$ lspci
Code:
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
[code]...
View 9 Replies
View Related
Sep 12, 2010
How I can boot my desktop (Ubuntu Lucid Lynx 10.04) into runlevel 1? Can you also tell me how to get from runlevel 1 back to the default (2)
View 3 Replies
View Related
Mar 25, 2016
I set up my Debian box as a HTPC but am moving it to my closet and using it as a NAS now, so I want to make it headless since there won't be a monitor connected to it.What's the cleanest way to nuke the desktop environment? 2nd to reinstalling, that is (although that may not be a bad option since may home directory is in another partition).
View 1 Replies
View Related
Feb 16, 2011
I've been running 8.04 Hardy since its first release, and was hoping to deal with its loss of support by going to 8.10 but learned that it has already been dropped.
So I'm back to installing 10.04 - and up against the bizarre choice to drop dial-up networking! Fortunately, I have my 8.04 machine still live, and I've researched it extensively without success.
The best summary of what I've done follows this post I found online:
-----QUOTE-----
I read many threads about dialup, including those on this forum; made sure to get an external hw modem [USRobotics 5637 USB, advertised as controller-based and tested to work in Linux], to avoid the softmodem/winmodem problem.
Using the 10.04 LiveCD, I installed the four .deb packages that are in poolmainwwvdial and in poolmainwwvstreams.
Now I'm stuck because I get errors when I try command line stuff, errors like "cannot open /dev/modem" and "can't find /dev/modem in /etc/fstab or /etc/mtab"
I'm confused; I've read so many threads with so much different info that I can't sort it out. Maybe I'm following info that applied to earlier versions of Ubuntu. Every error I try to fix leads to more errors. Can someone suggest a constrained, step-by-step procedure to ensure I've mounted the modem, added myself to whatever groups, and whatever else I need to do?
I know there's no wizard to make it simple, but is there a checklist or something to help me sort this out? I have the ISP info, DNS primary+secondary server numbers, phone numbers, etc. Is there a UI/graphical path, instead of command line? Had no idea this would be so difficult.
View 9 Replies
View Related
Mar 5, 2011
All of a sudden without rhyme or reason, My Lucid Lynx install stopped connecting to my network. This was without any intervention from me as I did not modify install or change anything prior to this happening.
What I have gathered so far is that upon initial boot eth0 seems to always be disabled. So I ifconfig eth0 up to bring it back online. All the settings in the network applet seem to be intact for my manual network that has DHCP disabled. Let me re-iterate that these settings worked fine for months then all of a sudden something went belly up. The same machine will connect fine with the same settings from within Win7.
ifconfig command shows both eth0 and the loopback interface but eth0 never manages to secure the 192.168.1.3 address that it should have. ping 192.168.1.1 returns "Network unreachable" so it appears the connection is being cut off at the machine and not the router. I did check to make sure the connection was even recognized and it sees the wired connection going to the router, but nothing else.
/etc/network/interfaces only shows two lines regarding the loopback interface and nothing else; eth0 seems non-existant within this file which I find odd.
View 3 Replies
View Related
May 18, 2010
A lot of people have the problem to find themselves with Lucid Lynx 10.04 and experience massive issues when connecting to wireless - me too. As a service, here some relevant links which promise relief:
[code]...
I tried all of them, and none reliably worked. Every solution which required re-association wtih the AP helped for some time, but nothing helped for long. First, don't let yourself fool by the disable IPv6 trap - while it is "enabled" it is acutally not used by Lucid! I have a clean install of Kubuntu 10.04 on an AMD64 Laptop with Broadcom STA driver: 03:00.0 Network controller: Broadcom Corporation BCM4328 802.11a/b/g/n (rev 03) However I can reliably stabilize my connection for some time either by manually disabling WiFi with the hardware switch or disabling WiFi by software means and re-activating. This brings speed at par with Kubuntu 9.10 until some time. Can anybody confirm this behaviour?
View 9 Replies
View Related
Jun 24, 2010
I updated to the latest version of Ubuntu and before I could connect to the network "krafft" that is a WPA2-Personal protected network.If I go into Windows and change security to none I can connect with Ubuntu, but not when it's protected.After a bit of time logged in without network a dialogue pops up and looks almost like this :but "Focus" is replaced with "krafft" and the password is something else.I know that the password is right and the network worked perfectly before update.I got an USB wireless network receiver from D-Link and the chipste is ralink rt2870.In the previous Ubuntu distribution you had to write "blacklist rt2800usb" in /etc/modprobe.d/blacklist.conf but it won't work with or without that blacklist.When I updated I saw some message about the network manager(at least I think so) so maybe the problem is in that.
View 4 Replies
View Related
May 15, 2010
I upgraded from 9.10KK to 10.04LL recently. The process did not go well. I was first instructed to update KK, which I did. The update and subsequent upgrade had various difficulties, the specifics of which I do not recall. 10.04 ran,with various errors and abnormalities, for a couple days.
I have a Compaq Presario, SR1503WM with 750 meg of RAM. I normally boot to Ubuntu on my primary harddrive, but can redirect to a Win2K boot from the other drive. I'm in Windows now, sending this.
If I do a normal boot now, to Ubuntu, and select FF or Opera, I get "Could not Locate Remote Server". It suggests I uncheck "Work Offline". I do and this still gets me nowhere.
I went to System/Admin/Network Connections and all of the tabs were empty. In the WIRED tab, I clicked on ADD and a new WiredConnection1 was established, and,after reboot, is still there, but it does nothing.
I have a cable connecting me to the modem, haven't tried to install wireless yet. This has been sufficient for months, and as I said, still works for Windows.
I think I should go ahead and ReInstall 10.04LL. I upgraded without an install disk.
View 9 Replies
View Related
Aug 22, 2010
I have followed the official instructions here to setup VNC service initially and was able to get it working.
However, during the course of setting up my BIND service, I have done the following:
1) Turned on SELinux
2) Used system-config-security to add the ports TCP:53 and UDP:53
When I tried to save the settings from 2) above, my GNOME desktop delivered via VNC got frozen.
Now when I tried to restart vncserver with "service vncserver restart", I see the following. I am also unable to connect via [url] anymore.
Code:
View 4 Replies
View Related
Jul 25, 2010
I am running a server that is mostly headless, but does run the Gnome environment (I have ubuntu-desktop installed). I usually administer it via VNC over SSH. My problem is that when I reboot the system over SSH, the system fails to fully load the GUI, which prevents me from connecting via VNC (although SSH still works).
When I connected a monitor and rebooted, the system booted up fine. It appears that the GUI will not load without an attached monitor, which never happened before in previous Ubuntu versions. I do use many commands but prefer a GUI for certain tasks and visualization of my work since my system has the resources to spare. Running Lucid Lynx
View 6 Replies
View Related
Apr 29, 2010
I've just upgraded from 9.10 and everything is good, accept that netbeans will not load.
I get the netbeans 6.8 splash screen then nothing
View 6 Replies
View Related
May 18, 2010
I am trying to install Lucid on my Laptop but can't get the live cd to boot correctly. At the moment, it's giving me a purple screen with a white logo at the bottom, then a black screen with the underscore character blinking, and then nothing. (I have an HP tm2, with a USB DVD/CD drive. 64bit intel core 2 duo. I am using the Ubuntu 10.04 Desktop AMD64 .iso. I also tried the i386 .iso)
View 1 Replies
View Related
Jul 15, 2010
Ubuntu 10.04 is unable to set up my Canon Pixma IP 6000D printer.So earlier tonight when my wife wanted 2 recipes she saw on this am's Today Show, I had to restart my computer with a Fedora 13 live CD in the drive. F13 quickly installs my Canon printer and I am able to print the recipes.But this sure is a convoluted way of printing 2 short text files.to get my printer to work with Ubuntu.I've been using Ubuntu almost 2 years now, and love it, love it, love it, except for this one little thing.
View 3 Replies
View Related
Nov 3, 2010
What exactly are the different features btw Ubuntu 10.04 LTS vs 10.4.1 Lucid Lynx?
View 4 Replies
View Related
May 3, 2010
I have an Dell 755, and I have installed Ubuntu 10.4 desktop on it, everything works fine. I have it auto login, and run Azureus/Vuse at startup (so it can be a headless Bit Torrent server), it works perfectly. As soon as I try to go headless (no keyboard/mouse/monitor) the machine boots fine (I can SSH / FreeNX to the machine) but none of the GUI/apps load. What I think is happening is that when it boots without a monitor attached it does not load any of the X11 stuff. I need it to. It worked in Ubuntu 9.04 just fine, but now with 10.4 it is a no-go. Does anyone know how to force the X11/GUI to load when there are no monitors/hardware attached? This is the one thing standing in my was of getting Windows out of my house.
View 1 Replies
View Related
Apr 20, 2010
Quote:
The new Wacom Bamboo Pen (CTL-460) doesn�t work in Ubuntu Lucid out-of-the-box. You need a newer kernel module than the one that comes with Lucid by default. It�s pretty easy to get it working though, you just need to know how.
First, install some compiling tools and header files:
Code:
Code:
Now unpack, configure compile and install it:
Code:
# I know this is the wrong version, but it's the highest available and it works
Code:
The tablet should work now. You can also add the module name to /etc/modules to automatically load it on boot.
He also says (and I can confirm) that the gray lines are the new borders of the tablet. A little annoying, but I imagine one could configure that, too.
View 9 Replies
View Related
Apr 27, 2010
I upgraded from Karmic to Lucid yesterday and today today I've noticed that I can no longer apt-get update through the terminal. I'm behind a corporate firewall, so up till now I've always exported the proxy address like so:
Code:
export http_proxy=http://user:password@address:port
This hasn't worked under Lucid. I did some searching and found that Lucid did away with
[code]....
View 5 Replies
View Related
Apr 30, 2010
I have tried out Lucid Lynx Beta 1 back in march. During the installation I was announced that support for bluetooth was dropped. I installed anyway, thinking it would be back in the Final Release. Meanwhile (between March and April) I reinstalled Karmic because I really needed the bluetooth. I can see in the upgrade that bluetooth still isn't available. What should I do about this? Is there a way to keep Lucid Lynx and bluetooth? Or will I have to stay on Karmic until the end of times?
View 5 Replies
View Related
May 9, 2010
Is there someone from Dallas, Texas, USA area? I've got a friend there with lucid lynx on a netbook - and she says something's gone wrong with it - she cannot boot. Maybe someone could maybe somehow meet with her and see if there is a possibility to fix it? As i don't really know what's wrong but I am on another end of the world and have no chance to figure it out.
View 2 Replies
View Related
May 17, 2010
I've got a generic USB keyboard (not wireless) that works perfectly on WinXP, the BIOS and the GRUB boot menu. As soon as Ubuntu 10.04 loads, however,he keyboard stops working. Tried different ports, still nothing. I haven't tested on previous versions of Ubuntu or other Linux distros. A PS/2 keyboard works great on Ubuntu except the one I have is broken, hence why I'm using this USB keyboard. Any ideas on how to fix this? It's the only thing holding me back from leaving Windows for good. lsusb:Quote:
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[code]...
View 9 Replies
View Related