Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: GUI on unbuntu 14.04
PostPosted: Tue Aug 18, 2015 12:50 am 
Offline
Senior Newbie

Joined: Mon Aug 17, 2015 10:39 pm
Posts: 5
I am tryin to set up a GUI on my unbuntu. Everytime i update and upgrade in the command line, reboot and everything it still brings up the terminal for me no matter what i do. I hit startx and get a huge error. Is there anyone who can assist me from scratch? I will accept any form of assistment or even remote desktop or use teamviewer on my personal computer.


Top
   
 Post subject: Re: GUI on unbuntu 14.04
PostPosted: Tue Aug 18, 2015 12:01 pm 
Offline
Linode Staff

Joined: Wed Jul 01, 2015 10:33 am
Posts: 59
How are you bringing up the terminal? Even with a GUI installed you'll need to access it over certain remote control applications and won't work through the console normally. Even still, I wouldn't recommend using a GUI on a VPS as they don't have very good video support.


Top
   
 Post subject: Re: GUI on unbuntu 14.04
PostPosted: Tue Aug 18, 2015 12:17 pm 
Offline
Senior Newbie

Joined: Mon Aug 17, 2015 10:39 pm
Posts: 5
Understood but either way i would rather use GUI for specific reasons. Is there anyway you could help me 1 on 1? I been getting a headache trying to get this to work the way i want. If you could give me actual helpful advise it would be nice. I would rebuild the whole server from scratch honestly cause idk what i am doing wrong at this point.


Top
   
 Post subject: Re: GUI on unbuntu 14.04
PostPosted: Wed Aug 19, 2015 9:26 am 
Offline
Senior Member
User avatar

Joined: Fri Dec 11, 2009 7:09 pm
Posts: 168
The quick and dirty method is to ssh in using ssh -Y, then run the graphical program you want. When working here, I often use Konqueror as a file manager, and it has an application menu in it, so I can run any application. You are not getting a desktop this way, but you are getting the applications.

I assume this will work on Windows with Putty, but I don't have Windows, so cannot say.

_________________
--
Chris Bryant


Top
   
 Post subject: Re: GUI on unbuntu 14.04
PostPosted: Wed Aug 19, 2015 11:50 am 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
I've used https://www.nomachine.com/ successfully. In the days before Unity it was straightforward to set up a remote desktop on Ubuntu, you can still do it without NoMachine but it's a hassle.

You probably won't be able to run Unity, I'd recommend Xfce.

If you prefer vnc4server and vncviewer instead then install those on the server/client then set up the following, this works on Ubuntu 14.

Start the tunnel:

Code:
# CLIENT ssh tunnel script
#!/bin/sh
ssh -X -p 22 -L 127.0.0.1:5999:127.0.0.1:5901 todoyouruserid@todoyourlinodehostorip


Create a .vnc directory on the server and an executable file called xstartup and fill it with this:

Code:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# debugging trying this out
unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#fvwm &
startxfce4&


Start the server:

Code:
# SERVER start the VNC server
#!/bin/sh
vncserver :01 -rfbport 5901 -once -geometry 1280x1024 -depth 16 -nevershared -localhost


Run a ps and make sure the VNC server started or check the log in the .vnc directory.

Start your vncviewer:

Code:
vncviewer 127.0.0.1:5999


^^^ at some point, I can't recall when, you need to set up a VNC password and you'd enter it when starting the viewer. The viewer will connect to your localhost tunneling over ssh to your vnc server port and you should see Xfce or FVWM if you prefer it as your desktop.

To kill the server:

Code:
vncserver -kill :01
# or whatever the server started the screen on, it should be in the .vnc/ directory log.


Top
   
 Post subject: Re: GUI on unbuntu 14.04
PostPosted: Sat Aug 22, 2015 9:59 pm 
Offline
Senior Newbie

Joined: Mon Aug 17, 2015 10:39 pm
Posts: 5
I am new to linux all together at least terminal wise so honestly you are all confusing me big time.


Top
   
 Post subject: Re: GUI on unbuntu 14.04
PostPosted: Mon Aug 24, 2015 7:58 am 
Offline
Linode Staff

Joined: Mon Sep 29, 2014 4:47 pm
Posts: 90
Twitter: FelicianoTech
yekesoh wrote:
I am new to linux all together at least terminal wise so honestly you are all confusing me big time.


Working with servers means working on a terminal. Even when you have a GUI, it needs to be set up via terminal, troubleshooted on a terminal, etc. The best guide I can find that we have would be here: https://www.linode.com/docs/application ... untu-12-04

As Mark suggested, performance isn't always great this way. I strongly suggest using this opportunity to learn more about Linux and it's command-line system. We have several guides which will help:

- https://www.linode.com/docs/tools-reference

I hope that helps. Good luck.


Top
   
 Post subject: Re: GUI on unbuntu 14.04
PostPosted: Tue Aug 25, 2015 7:30 pm 
Offline
Senior Newbie

Joined: Mon Aug 17, 2015 10:39 pm
Posts: 5
That is the exact doc i used step by step and did not work at all for me and even gave me errors after that. https://www.linode.com/docs/application ... untu-12-04
And what i am trying to do i need GUI regardless.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group