Page 1 of 2

ubuntu+headless+desktop

Posted: Sat Jul 07, 2012 8:34 pm
by wobbly
i would like to set up ubuntu+headless+desktop
1 have it boot headless
2 start desktop with the "startx" command
thank you

Re: ubuntu+headless+desktop

Posted: Sat Jul 07, 2012 10:13 pm
by bigfoot65
Ok....Are you asking for help? Have you searched the internet? Not sure if anyone has tried this type of setup.

[ Post made via Android ] Image

Re: ubuntu+headless+desktop

Posted: Sun Jul 08, 2012 1:56 am
by wobbly
i've been running amahi like this for almost a year ... under fedora 14

1 power on amahi box boots to cli login "amahi is running"

2 if i wand to login i enter username / password "still at cli"
3 to load fedora 14 desktop i enter "startx"
4 if i logout of fedora 14 desktop it takes me " back to cli"
5 then i enter exit to log out of cli
i hope this is more helpful thank you

Re: ubuntu+headless+desktop

Posted: Sun Jul 08, 2012 2:00 am
by wobbly
sorry maybe headless is not the right term "boot to cli login" "not gui login"

Re: ubuntu+headless+desktop

Posted: Sun Jul 08, 2012 2:05 am
by wobbly
i found this
$sudo update-rc.d -f gdm remove
will this do it ?
thank you

Re: ubuntu+headless+desktop

Posted: Sun Jul 08, 2012 2:17 am
by wobbly
found this Amahi Wiki
GUI Install for Express CD page

force the GUI on Boot

Next we need to make sure it boots into init 5. Run the following command to accomplish this:
bash code
​sed -i 's/id:3:initdefault:/id:5:initdefault:/g' /etc/inittab​

But what i would like is for it to boot just like the Express CD
or how to change it back if i did

​sed -i 's/id:3:initdefault:/id:5:initdefault:/g' /etc/inittab​

i remember reading something about option 3 and not 5 to do this ?

thank you

Re: ubuntu+headless+desktop

Posted: Sun Jul 08, 2012 2:38 am
by wobbly
ok now i know what i would like how to set Ubuntu to Runlevel 3 thank you

iam looking

Re: ubuntu+headless+desktop

Posted: Sun Jul 08, 2012 7:17 am
by bigfoot65
Hello,

Yes headless is the right term. I presume you found what you needed. Maybe you would like to share the steps you followed in the wiki? I am sure other users would appreciate it.

Re: ubuntu+headless+desktop

Posted: Mon Jul 09, 2012 6:07 pm
by bigmango
Yep, make Amahi run at runlevel 3.

Then install tigervnc (for example) and you can remote desktop into your headless amahi from you PC. That's how I have mine setup.

I think everything is in the wiki.


PS for Amahi devs: it would be nice if Amahi would have the VNC setup by default (with the user only having to enable or disable the service, perhaps). -> 1. install amahi -> 2. remote desktop into the server... easy.

Re: ubuntu+headless+desktop

Posted: Mon Jul 09, 2012 6:14 pm
by bigfoot65
If you install Ubuntu Server, no need to do that. You can follow guidance for VNC on the server version and it will install the pieces needed.