LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-24-2010, 02:22 PM   #1
urnumdei
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Rep: Reputation: 0
Xserver on Ubuntu Server


This should be an easy one, and I know of a solution, but it's long and tedious. Not cool.

I have a server set up with Ubuntu Karmic. I am making it a printer server, and my printer is compatible with Ubuntu. (I tested it on my laptop, also using ubuntu) My problem is, the driver installer is graphical and my server is not. Is there a way I can just run the installer in server WITHOUT installing gdm or a desktop environment? So far, everyone I've read says to have xserver,xorg,fluxbox(or other gui), etc. I just want to run the installer through SSH, and I know about the -X tag.

Any ideas?
 
Old 03-25-2010, 10:52 AM   #2
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 5,995

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
You don't want to use the -X option for ssh ? Or it doesn't work for you?

As a test, I killed kdm on my server, then opened kwrite:
Code:
tred@vaio:~$ ssh -X tred@server
tred@server:~$ sudo /etc/init.d/kdm stop
Stopping K Display Manager: kdm.
tred@server:~$ kwrite foo
opened up kwrite on my laptop's GUI.

Welcome to LQ!
 
Old 03-25-2010, 09:18 PM   #3
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 54
Code:
sudo apt-get install ubuntu-desktop
Code:
sudo apt-get install kubuntu-desktop
Code:
sudo apt-get install xubuntu-desktop
Whichever floats your boat.
 
Old 03-26-2010, 10:20 AM   #4
urnumdei
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Tredegar, I want to use the -X option, but I don't want a gui for my server, I just want the option to use a graphic program if there isn't a command line version of program. I understand that I need xserver so I can use -X. I'll have to try your thing there. Do I just apt-get xserver? Or are there other packages I need? (xorg, etc) Again, I don't want a desktop, just the most minimal way to us -X.
 
Old 03-26-2010, 10:31 AM   #5
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 5,995

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
In the example I gave you at post #2 I ssh'd to my server and killed X
But I was still able to start a program ( kwrite ) on my server that needs a GUI.
It used the GUI that is running on my laptop, displayed there, and worked fine.
So the program was running on my server, but displaying on my laptop.
So, I'm saying you don't need to have X running on your server, because you have it running on your laptop.
 
Old 03-26-2010, 10:54 AM   #6
urnumdei
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Oh ok. I'm still kinda new to the graphical side of linux. I know of xserver, gdm/kdm, and all that. But I don't know which does what or how it all plays out. Thanks for the help. I always feel like I know my stuff in linux, then I run into a wall, but these walls teach.
 
  


Reply

Tags
server, ubuntu, xserver


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't connect to Xserver in Ubuntu hari78 Linux - Software 2 07-28-2009 10:55 PM
Xserver Problem in UBUNTU amplifire Linux - Hardware 1 05-18-2009 08:08 AM
xserver-xorg-video-unichrome package from Ubuntu kushalkoolwal Debian 5 11-17-2007 09:32 AM
xserver not working after install, ubuntu 6.06 fdahl_009 Ubuntu 4 06-16-2006 02:53 AM
xserver cannot start in ubuntu linux sudi16 Linux - Newbie 5 02-10-2005 03:06 PM


All times are GMT -5. The time now is 09:31 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration