LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2006, 03:18 PM   #1
glasisch
LQ Newbie
 
Registered: May 2005
Location: Dorset, UK
Distribution: Debian
Posts: 4

Rep: Reputation: 0
Angry Can't even start X-windows with Debian/Sarge


Hi everyone, this is rather pathetic, but I'm pulling my hair out so I'd appreciate any advice for the sake of my follicles if nothing else.

I've just installed Debian/Sarge from 2 downloaded CD images - I seem to have installed a basic system and can log-on to a console session, but have no idea how to start a GUI. There's nothing like X11 in my /lib, and apart from x11config and startx I can remember nothing of the time when I used Debian half a decade ago.

I don't even know how to select an option in the Debian "apt" screen - I see a red cursor block which I can move up or down, but I don't even know how to select an option - I wanted to choose the desktop workstation one, but all I could do was press <enter> when it was highlighted by the red cursor and I'm not too sure that it worked.

Please help



David
 
Old 06-12-2006, 04:18 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
Quote:
Originally Posted by glasisch
I've just installed Debian/Sarge from 2 downloaded CD images - I seem to have installed a basic system and can log-on to a console session, but have no idea how to start a GUI. There's nothing like X11 in my /lib, and apart from x11config and startx I can remember nothing of the time when I used Debian half a decade ago.
It looksyou don't have X Window installed. Try to use 'aptitude'. It's quite easy to use frontend to apt-get. If you don't have it installed, install it using
apt-get install aptitude

Quote:
I don't even know how to select an option in the Debian "apt" screen - I see a red cursor block which I can move up or down, but I don't even know how to select an option - I wanted to choose the desktop workstation one, but all I could do was press <enter> when it was highlighted by the red cursor and I'm not too sure that it worked.
It's tricky. You select using space. Enter finishes current menu/submenu. Just for future reference.
 
Old 06-12-2006, 04:33 PM   #3
glidermike
Member
 
Registered: Nov 2005
Location: Toronto Canada
Distribution: Debian
Posts: 90

Rep: Reputation: 15
you probably need to install xserver-xorg (via apt)
su--paswword apt-get install xserver-xorg
it will ask to install a bunch of files as dependancies, just hit yes and go.When it's done type startx and you should get a desktop (hopefully)
 
Old 06-12-2006, 07:40 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Sarge will still install xfree86 by default. Xorg is in unstable and I think testing, but stable stuck with xfree86 for now. That is just a minor nitpick, what was posted above is still true. I suggest you follow this guide from our debian forum, telling specific things to do to setup a desktop stlye debian box:

http://www.linuxquestions.org/questi...d.php?t=224547

Peace,
JimBass
 
Old 06-12-2006, 11:46 PM   #5
kofibull
LQ Newbie
 
Registered: Jun 2006
Posts: 13

Rep: Reputation: 0
cant connect to X11 window server

I am new to linux(using Suse 9.3) and have a program (grahics) graph.class, when I run it I get this error
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.Window.init(Window.java:231)
at java.awt.Window.<init>(Window.java:275)
at java.awt.Frame.<init>(Frame.java:401)
at javax.swing.JFrame.<init>(JFrame.java:198)
at JPanels.<init>(JPanels.java:15)
at JPanels.main(JPanels.java:11)
If I run it on the linux machine, it runs fine, but when I ssh into the box and try to run it I get this error. Y is this so an any solution.

Kofi
 
Old 06-13-2006, 03:11 AM   #6
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by kofibull
...
Please start a new thread as this does not have any relation to the original question. By posting a new question in a thread, people might get confused.

Last edited by Wim Sturkenboom; 06-13-2006 at 03:13 AM.
 
Old 06-13-2006, 01:27 PM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
In Debian run base-config and select [X] Destop Environment from the menu. the system will install everything you need for your Desktop..


http://www.penguin-soft.com/penguin/...se-config.html
 
Old 06-17-2006, 01:23 PM   #8
glasisch
LQ Newbie
 
Registered: May 2005
Location: Dorset, UK
Distribution: Debian
Posts: 4

Original Poster
Rep: Reputation: 0
Many thanks to all who replied to my plea - in the end it was sufficient to select "Desktop Environment" in base-config (thank you farslayer) and let Debian do the rest, but unless Mara had told me to use space to select I would still be pulling my hair out now.

Many thanks everybody.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Sarge to Etch Upgrade Caused X Windows to Not Start sabot Debian 1 04-11-2006 05:24 PM
Debian Sarge 3.1 LXF70 XWindows fails to start - Missing symbols cgtueno Debian 1 09-05-2005 10:07 AM
X-Windows fails to start & other Debian sarge install issues tommilo Linux - Newbie 30 03-02-2005 10:49 AM
Start DHCPd and configure iptables on boot (Debian Sarge) Qis Linux - Networking 6 03-02-2005 06:34 AM
Debian sarge - unable to start X VertX Linux - Newbie 3 02-03-2005 11:56 AM


All times are GMT -5. The time now is 11:36 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration