LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-30-2006, 03:04 AM   #1
jayn16
LQ Newbie
 
Registered: May 2006
Location: Pune, India
Distribution: Slackware 10.2
Posts: 15

Rep: Reputation: 0
Xmms won`t start


I installed xmms without any errors from a tar source.
Now when I say "xmms" in konsole, it gives the error :

**CRITICAL** :unable to open display (something similar)

I`m using Slackware 10.2
 
Old 05-30-2006, 04:58 AM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
That's extremely unfortunate. Are you running an X server of some description? You say Konsole which leads me to believe you are but it's always smart to check. X equals graphical user interface as opposed to a command line.
 
Old 06-02-2006, 01:15 AM   #3
jayn16
LQ Newbie
 
Registered: May 2006
Location: Pune, India
Distribution: Slackware 10.2
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by cs-cam
That's extremely unfortunate. Are you running an X server of some description? You say Konsole which leads me to believe you are but it's always smart to check. X equals graphical user interface as opposed to a command line.
Yes, i`m running KDE
 
Old 06-02-2006, 01:19 AM   #4
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
what user are u loged into X and konsole?
 
Old 06-03-2006, 12:26 AM   #5
jayn16
LQ Newbie
 
Registered: May 2006
Location: Pune, India
Distribution: Slackware 10.2
Posts: 15

Original Poster
Rep: Reputation: 0
Xmms is working for all users other than root. If you add Xmms to the K menu, it also works fine.
 
Old 06-03-2006, 01:10 AM   #6
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
you said xmms is working fine for all users BUT root? thats fine then, no? why would you want to run xmms as root?
does running a different GUI program as root give you the same error?

Last edited by nadroj; 06-03-2006 at 01:12 AM.
 
Old 06-07-2006, 02:12 PM   #7
jayn16
LQ Newbie
 
Registered: May 2006
Location: Pune, India
Distribution: Slackware 10.2
Posts: 15

Original Poster
Rep: Reputation: 0
All of my songs are on Windows ntfs drives and i can access them only as root.
I also cannot change their permissions.
Java programs having AWT compile but do not execute
 
Old 06-07-2006, 08:59 PM   #8
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
did you mount the NTFS drive as read only? then you cant change the permissions. also, you should only mount NTFS drives as readonly as writing to NTFS partitions may ruin the partition.

try changing the entry for your NTFS partition in /etc/fstab so that other users not just root have access.

run the java program from a command line, whats the output? if you have the java virtual machine it should work on any operating system.. if of course the software was written properly.

does no program work as your normal user?
 
Old 06-08-2006, 11:48 PM   #9
jayn16
LQ Newbie
 
Registered: May 2006
Location: Pune, India
Distribution: Slackware 10.2
Posts: 15

Original Poster
Rep: Reputation: 0
Ok managed to mount the partition so that they can be accessed from anywhere.
However no X server application runs from Konsole as root, not even Konqueror !!
 
Old 06-08-2006, 11:50 PM   #10
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
do you really need to run GUI programs as root? do they run as normal users?
 
Old 06-09-2006, 12:06 AM   #11
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Yeah, there's no real reason to run stuff like XMMS as root. The only graphical program I run as root is Emacs, but that's only when I'm editing configuration files. Try running "xhost local:root" and see if that helps (and if it does, add that line to your .profile). But again, as nadroj implies, you really don't need to be running most things as root.
 
Old 06-09-2006, 06:01 AM   #12
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
This problem occurs for me too , say if i login into xwindows as user X and start a console and su to user Y , user Y isnt able to run GUI programs it says

"Gtk-WARNING **: cannot open display"

Any ideas how to solve this issue?

Regards
JayaKrishnan
 
  


Reply



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
xwindow won´t start nico2004 SUSE / openSUSE 3 03-28-2006 05:46 AM
big problem! tried a live cd, windows won t start anymore lek General 2 09-03-2005 11:44 AM
slack won`t start. ftbreak Linux - Newbie 5 02-04-2005 10:27 PM
Samba Won"t Start ikw38 Linux - Networking 18 06-17-2003 09:33 PM
Mandrake 9.0 won´t start anymore! ferrantepunto Linux - Software 2 11-19-2002 10:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:45 AM.

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
Open Source Consulting | Domain Registration