General :: Creating XSession File Makes StartX Go Black

May 28, 2011

I want to put:
xmodmap -e "pointer =3 2 1"
somewhere in the startup. It seems creating an .xsession is the solution. But after I create a .xsession file in my home folder, the next time I run startx the screen just turns black. (And only for a short while can I switch to another virtual terminal, before that too becomes impossible). After deleting the file it runs OK again. I'm not using any login/desktop manager. I use IceWM on Debian Squeeze. Is there some script/import that has to be present in the .xsession file, or is something else going on? Also I'd like to know what I should do when I get a black screen. Turning off the PC is such a crude method

View 11 Replies


ADVERTISEMENT

Ubuntu :: 11.04 Doesn't Complete Boot Up....makes Me Use Startx

Jul 3, 2011

I must have deleted a file or done something wrong because now when I start ubuntu11.04, my startup stalls at the blackscreen where it lists the output of current operations. Mine seems to stall at checking pulseaduio or stall at checking cron. I am not totally certain of the phrases but anyway, my only way to log in is to ctrl+alt F1 and sign in that way followed by startx. I copied some exact info down and here is where my computer usually stalls:

Screen says, Starting CUPS printing spooler/server [ok]
Checking battery state... [ok]
Stopping System V runlevel compatibility [ok]

This is the usual stopping stop for my computer.

View 3 Replies View Related

General :: Black Screen After StartX With Slackware13

Jun 1, 2010

I left slackware 13 with airodumb and airplay executed in console for 6 hours. When I got back, konsole had something similar to "packet has length error". I could open the packet using aircrack -m option, but when i shut down the OS, it didnt shut down properly. Now when I do startx black window stays forever. I tried pkgtool and change to KDE but the same happens.

View 4 Replies View Related

General :: Lost StartX - Black Screen With Active Mouse Cursor

May 25, 2010

Redhat Ent Linux ES Release 2 (Taroon 8)
Kernel 2.4.21-4.ELsmp
startx(1): initialize X session - Linux man page

I thought I'd look into methods of recovering from a lost password for future use, how to change the passwd and shadow should I need to. So I started an X session, vi'd my .swp files then logged off. Perhaps I changed one of these files accidentally, but my intent was just to view them which I did. After starting up my computer the next day and logging in I began an X session - "startx". The session appears to have started, but with a black screen and an active mouse cursor.

View 2 Replies View Related

General :: "startx" The Machine Goes To A Black Screen And Just Sits

Jul 9, 2010

When trying to "startx" the machine goes to a black screen and just sits there. Only a hard reboot allows me to stop it. After SSHing into the machine and typing "startx"

[Code]...

View 9 Replies View Related

Slackware :: Run Startx Only Getting Black Screen

Apr 28, 2011

I did a fresh install of Slackware64 13.37. All went well. I download the latest Ati video drivers, 11.4, and build the slackware package. Install, and run aticonfig --initial all good. But when I run startx I only get a black screen

View 13 Replies View Related

Hardware :: Backtrace4 - Black Screen After StartX?

Oct 19, 2010

I installed backtrack4 (ubuntu based) few hours ago and i am facing a problem in getting into the graphical mode(live cd)!, hence I tried to check and run it in a "safe graphical mode" and unexpectedly it works fine! but when I switch to 1024x768 resolution in the same live cd ,and then when I type startx it just produces a black screen! After doing some research on finding a soultion to this problem I found out that this go to do some thing with editing the xorg.conf file! but when I type xorgconfig,it shows an error saying command not found!

sudo dpkg-reconfigure xserver-xorg command just talks about the keyboard!
nothing interesting on graphics or screen section!
resource: intel corporation 828456/gl 128 mb

How to modify the xorgconfig file.

View 14 Replies View Related

Debian Multimedia :: Black Screen After Startx Command

Dec 21, 2015

I updated Debian system yesterday. I am getting black screen after I execute startx command. I am using system as server and manually boot into GUI mode whenever required.

View 10 Replies View Related

Slackware :: StartX Gives Black Screen With Blinking Button

Jan 26, 2010

I have just installed slackware. I have done
Code:
Xorg -configure
And chosen kde for init program while installing slackware. But when I type
Code:
Xorg -config -retro
or
Code:
startx
I get black screen with blinking button on monitor and keyboard. Obviously KDE doesn't start.

View 14 Replies View Related

Slackware :: Black Screen After StartX - Keyboard Not Responding

Mar 24, 2010

I put Slackware 13 and the scenarios is:

1. I start the computer and after startx I got black screen, the keyboard is not responding the led of the display is yellow etc. Now I reset the computer,
2. Booting Windoze
3. Choose Restart not Shutdown from Windoze
4. Booting Slack
5. startx works fine, the X server is starting and working great.

I have Radeon 9500. I configured X server with 3D accel over 2500 FPS on glxgears. The same problem persists even with X server VESA configured.

View 7 Replies View Related

Ubuntu :: Boot Black Screen - No Gui - Startx Doesn't Work

Dec 25, 2010

I'm having a pretty serious problem, whenever I try to boot into Ubuntu the screen goes black, I see a flash of purple or violet and then i get a prompt asking for my login credentials, afterwards I'm stuck with a terminal trying to start the gui... I don't know what I'm doing wrong, fresh install tried to reboot after getting the display driversinstalled idk if that could be a problem. I tried to commands in the terminal already:

startx
sudo service gdm start
return = start: Job is already running: gdm

View 1 Replies View Related

Ubuntu :: Why Startx Doesn't Work - Black Login Screen

Jan 5, 2011

afeter installing ubuntu studio 10.10 a black login screen after login it asking me to type a command i've typed '' startx '' but it does't work

View 2 Replies View Related

Software :: Kdm Works But Startx Doesn't (black Screen Stop)

Jan 10, 2010

I'm running debian (AMD64 dist), and I recently upgraded via aptitude to KDE 4.3.4.After the upgrade I found that I could no longer start X (using startx from my user account).I am, however, able to launch kdm from a root command line and log in as a user to X this way (graphically).I want to run startx as a user and I cannot figure out where the hangup is. I've looked in my Xorg.0.log files comparing .old to current and nothing stands out. After I launch 'startx' the screen goes black and the computer waits. I can hit ctrl-alt-f2 and bring back the text-mode terminal screen; it's at a point where it looks like X is working. From there, I can control-c it and get back to the command prompt.

I'm thinking this is a software configuration thing but I don't know enough about how all the systems tie together to figure out where the problem is.

View 5 Replies View Related

OpenSUSE :: Fullscreen Mode And Autocomplete Makes Black Blink ?

Mar 19, 2010

I have a weird problem in my Aspire One D150 with an Intel 945 GME, and in my HP DV5 with an Intel GM45. When i put a window like Firefox in full screen mode (F11), and try to get into a menu, or an auto-complete option or trying to access a URL in the history of the address bar, results in a black blink that its very annoying, because it happens all the time.

This problem appears in the most GTK Apps that i run in full screen mode. QT Works perfect. If the composite its off, works perfect in both.

This happens in KDE 4.3.5 and KDE 4.4.1, so I have no clue about this. I want my composite on, and make that the GTK Apps work as well as the QT ones.

View 3 Replies View Related

Ubuntu :: Compiz Water Effect Makes Screen Black In Lucid?

Jun 26, 2010

im using Ubuntu 10.04 and whenever i enable it and try to iniate it it just makes my screen black =/. It sucks because i really loved that feature (on 64-bit btw)

View 9 Replies View Related

General :: Why Dolphin Makes Local Copy When Play A Remote .avi File

Oct 15, 2010

i am using dolphin 1.5 in kde 4.5.2. whenever i try to access movie file from remote samba server. dolphin copies the movie file to somewhere in local hard disk. so, i have to wait until a big file transferring complete. i know that it happens when i open .avi using mplayer. if i open the same remote file with kmplayer, it will player immediately instead of making local copy first. however, kmplayer is very slow and sounds and video stream breaking up, (i am sorry i do not know right english expression for this) i suppose this is not related to mplayer configuration. this seems to be dolphin problem. can i make dolphin to stop copying samba share to local disk and play instantly? there is a video in videos. it is comparing how dolphin and nautilus act differently when i play remote samba share movies.

View 3 Replies View Related

Fedora :: Safe Way To Disable Xsession Error Log File?

Mar 26, 2009

I noticed the xsession-error file in my main user's home folder grow up to a big size, it's usually at 2-3MB sometimes up to 20MB. I use Fedora 10 64bit and KDE4.2. I got no problems at all and the xsession-error logfile is full of weird entrys, almost everything is reporting to it, mplayer, xine, opera, firefox, dolphin and many other software I use. I don't think the most of these entrys are real and critical system errors, especially all the mplayer stuff. However, I'm not worried about the file size since Fedora 10 seems to delete the file on every log in.

My problem is the disc access because all this never ending writings to hard disc kinda break things like the mount options noatime, nodiratime. I read something about you can redirect the logfile to /dev/null but that was for an ubunto distribution and I would like to get a how to for a save way to disable the xsession-error logfile, I got 8GB RAM so everything is in cache anyway after a long session, I really want to get rid of unnessesary hard disc access like that. If not recommend to disable it, can I direct it to an usb stick or ssd?

View 7 Replies View Related

Ubuntu :: Every Time Boot 10.04 On My Laptop The File ~/.xsession-errors Is Created ?

Jan 23, 2011

Every time I boot 10.04 on my laptop, the file ~/.xsession-errors is created.

I post here the content of my ~/.xsession-errors and the output of dmesg:

NB: I'm running 10.04 on a Dell laptop m101z.

~/.xsession-errors:

View 2 Replies View Related

General :: Open Local File Error When Creating File Descriptor?

Sep 14, 2009

error message when I ran my program that I couldn't open my local file. I have two files first one is called client, second one is called server I am using named pipes to sent a message from client to the other file called server in client I used mknod() to create the two named pipes,one for read,one for write and created new thread in client using fork() spawned a child process that executed the server file both named pipes are opened the client file got the message from the user and sent it through the named pipes to the server file when the server receives the message , it needs to verfify it is correct in the server file, a local file descriptor is created to read and send this verifing message when it is not correct but I am getting an OPEN() error when I tried to open this shared local array buff and attach it to a file descriptor where the message is kept why do I get this error in server file

int main()
{
/*both named pipes are open*/
rfd=open(IFIO1,0);
wfd=open(IFIO2,1);

[code]....

View 1 Replies View Related

Ubuntu :: Won't Load Desktop - Switches To Black Screen And "sudo Startx" Gives Error Log

Feb 21, 2010

Few days after installing Ubunto 9.10, during installation of gstreamer, the installation utility got stuck, and with it the whole desktop icons. (I think the gstreamer has nothing to do with it). When I tried to execute some icon, like the terminal, it will not open. After restarting the computer, I get a tty1 login terminal and not the graphical one (tty7). When pressing Ctrl+Alt+F7, nothing happens. It switches to a black screen. "sudo startx", gives some error log. I already reinstalled the X-server, ubuntu desktop and other stuff.

What can be the problem? Is it related to my video card (nvidia 7600 GT)? I didn't install any nvidia specific driver. This happened to me earlier and I reinstalled Ubunto. I think maybe I should move to some other distribution.

View 1 Replies View Related

General :: Exporting A Variable From Within .xsession?

Mar 31, 2011

I'm trying to export a variable from within the .xsession so it will be available to any application started afterwards.

Here is a minimial .xsession file:

Code:

export MYVAR=123
exec gnome-session

The problem is that when I start a terminal and do:

Code:

echo $MYVAR

I get an empty string, meaning it's undefined.

View 2 Replies View Related

General :: Osx - Creating An OS X PKG File?

Jul 1, 2011

I have Debian / Ubuntu / Xubuntu. I'm trying to distribute and run a Python file with the least number of clicks for the end user. How do I create a PKG file for Mac OS X on Linux?

View 1 Replies View Related

General :: Creating A .txt File In A Specified Directory?

Apr 26, 2011

I have create a perl script, which create a text file, and it works well. But i want this to create in a specified directory.

THe scrip is:

Code:
#!/usr/bin/perl
use POSIX;
#Directory where the text file will be created.
$directory = '/space/data';

[Code]....

View 14 Replies View Related

General :: Creating A Cron File And Script?

Aug 17, 2011

create a Cron file and script. I've tried reading through my Linux book but I am just lost here. I need to create a Cron file that will perform a Level 0 backup once per month, a Level 2 dump one day per week, and a Level 5 dump every day that neither a level 0 nor a level 2 dump is performed.

View 5 Replies View Related

General :: Creating Dump Of Existing File?

Oct 21, 2009

How to create a dump of an existing file and how to restore it with command line?

View 6 Replies View Related

General :: How To Change Host Name By Creating File

Mar 17, 2010

In order to change host name I usually create a file with this:
nano /etc/hostname (after going SU)
And in that I type the new hostname.

Also I did this too...
nano /etc/hosts
127.0.0.1 localhost <hostname>
nothing happens. OS is PCLinux

View 5 Replies View Related

General :: Wget Is Creating File For Each Execution?

Dec 1, 2010

I am calling a service using http post through wget, the command is successfully executing but for each execution its creating a file and saving variable names n data n it. I want to execute this command without creation of a file. Would anyone suggest me what needs to be done in this regard.

My command:
wget --post-data 'var1=99&var2=200' http://xyz.example.com:5555/invoke/Samples:httpInvoke
For every execution, its creating the files with names:
Samples:httpInvoke1
Samples:httpInvoke2
Samples:httpInvoke3

[Code]...

View 1 Replies View Related

General :: Writing A Custom Xsession In Ubuntu That Logs Out On Process End

Aug 30, 2010

Im trying to create a custom xsession on Ubuntu 10.04 that will launch nxclient and logout automatically when it closes.

This is what I have so far

Code:

How would I go about altering this script to logout when nxclient closes? To make this more complicated, nxclient spawns a separate process (nxssh) when it logs in and closes itself.

Is it possible for a script to listen for a child process to close and then execute some commands (in this case a logout)?

View 1 Replies View Related

General :: Windows - Creating Compressed Iso Image File?

May 17, 2011

I want to create a compressed ISO image file and mount that file to one of the virtual drives and access the content (read-only) without worrying about manual decompression/extraction.For Windows and Linux (Ubuntu) OSes.

View 1 Replies View Related

General :: What Does The Double Less Than Sign (<<) Means In Creating A New File With Cat

Aug 25, 2010

I saw an article use the following cat command to create a new text file:$ cat > first.sh << ENDAnd then after press the 'return' buttion, a '>' sign appeared expecting you to input the content. If I type 'END' then the 'return' button, then a new text file is created with what I just typed...I'd like to know what's the differnece in just type:$ cat > first.shwithout the '<<' sign?What '<<' really means? I cannot find it's meaning anywere... seems it's not in the redirection section.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved