|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Enable root logins and solving display issues?
Hi
When I try to login as root in the default KDE graphical login manager, I get the following: Root logins are not allowed. I tried doing the following command to access network-admin " su /usr/X11R6/bin/xhost + network-admin " but I got the following error: xhost: unable to open display "" What is wrong? I came from Linux so is there some sort of sudo that I could use to adjust settings in my Gnome desktop environment? |
|
||||
KDE, having some concept of security has root logins disabled by default.
You have to edit the configuration file and set AllowRootLogins to allow it, I think the file is /usr/local/share/config/kdm/kdmrc on FreeBSD (assuming the usual install location of /usr/local) Running xhost + on your active session will only open the doors of your x server to the whole wide world or something like that >_>. You can enable root to launch GUI programs on your currently logged in users display via xhost or kdesu. kdesu programname -> launches a login prompt and then starts programname. There is a GTK equivalent some where, gtksudo or something like that. The run dialog in kde can do this as well, and gnome as well probably: if there is a run dialog in gnome that is.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. Last edited by TerryP; 3rd June 2008 at 11:33 PM. Reason: xhost notes & kdesu |
|
|||
What is the equivalent of this for my GNOME desktop environment?
when I run xhost not being the root, I get the error: " unable to open display "" " What should I do to configure my video settings? I hear that you can do this using the set command. But when I use env i do not get a DISPLAY variable on my screen so I don't really know how I could go about this. Thanks a lot guys. |
|
|||
To be precise,
When I do the following xhost + su network-admin => You are not allowed to access the system configuration kdesu network-admin => You are not allowed to access the system configuration The error message is " Liboobs-warning failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory OObsSession object hasn't connected to the bus cannot register OobsObject Could send message, OobsSession hasn't connected to the bus OObssession object hjasnt connected to the bus cannot register OobsObject Liboobs-CRITICAL oobs_session_get_platform assertion 'priv->connection != NULL ' failed. " What is the meaning of this? Last edited by disappearedng; 4th June 2008 at 02:44 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HOW do I ENABLE the wireless device?? | bforest | FreeBSD General | 2 | 30th January 2009 05:54 PM |
enable shutdown/reboot xfce4 | rex | FreeBSD General | 16 | 17th October 2008 02:19 PM |
enable telnet access | c0mrade | Other BSD and UNIX/UNIX-like | 3 | 28th September 2008 10:56 PM |
Enable jumbo frames | Seb74 | OpenBSD General | 10 | 30th June 2008 05:10 PM |
boot bug with USB enable | nORKy | FreeBSD Installation and Upgrading | 5 | 12th June 2008 04:56 PM |